> For the complete documentation index, see [llms.txt](https://legisratio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legisratio.gitbook.io/docs/legisratio-mcp-server/available-tools.md).

# Available Tools

## Search & Discovery

Tools for finding and discovering laws and articles.

### proposal-search

Search tool for legislative or policy proposals. Use this tool when there is a need to look at proposals or initiatives to answer a question. It is useful to find proposals related to a specific topic or keyword.

***

## Advanced Search

Sophisticated search tools using vector similarity and hybrid approaches.

### text-article-search

Performs a keyword search on the content of articles, matching the exact search string. Very fast and efficient, it can be used to derive straightforward results when you have a keyword.

### hybrid-search

Combines vector-based similarity search with keyword text search to provide the highest quality results for complex queries, be it keywords, short text or entire paragraphs. Slow but better than all the others.

***

## Content Retrieval

Tools for retrieving specific law and article content.

### get-article-text-by-id

To fetch the entire text of an article of a law.

### get-law-text

Get text of the law in force at a certain date.

***

## Judgments & Jurisprudence

Tools for searching and retrieving court judgments and related jurisprudence.

### judgment-search

Search tool for judgments/verdicts. Use this tool when there is need to look at verdicts and sentences to answer a question. It supports filters such as `section`, `startDate` and `k` (number of top results).

### get-judgment-url

Get the PDF of a judgment. Returns a temporary shareable URL to download the official document.

### get-judgment-text

Get the full text of a judgment. Use this tool when you need the judgment's content or a summarized answer; the service also provides a temporary shareable URL for the document.

### judgment-related-to-article

Fetches jurisprudence related to a specific article of a law, including the judgment ID, massima, and section. Use to answer when an article of a law is specified.

***

## Legal Analysis

Tools for analyzing legal metrics.

### get-number-of-laws-per-year

Derive per year aggregated metrics, based on desired filters.
