Skip to main content
Glama

buscar_jurisprudencia

Search Brazilian jurisprudence (jurisprudência) on JusBrasil by query, court, type, period, and sort order. Returns structured case data including citation and summary.

Instructions

Pesquisa jurisprudencia no JusBrasil, com filtros reais do site.

Args:
    query: termos de busca (ex: "dano moral atraso voo").
    limite: numero maximo de resultados (1-50). Padrao: 10.
    tribunal: filtra por sistema de tribunal. Valores: "STF", "STJ", "TST",
        "TJs" (todos os TJs), "TRFs", "TRTs", "TSE", "STM", "TCU". Aceita varios
        separados por virgula (ex: "STJ,STF"). (Filtro de tribunal especifico,
        tipo TJ-PI isolado, nao e suportado por este filtro de topo.)
    tipo: tipo de julgado. Valores: "acordao", "sumula", "decisao"
        (monocratica), "sentenca", "despacho", "orientacao".
    periodo: recorte de data por periodo recente. Valores: "7dias", "30dias",
        "365dias" (ou apelidos "ultima semana"/"ultimo mes"/"ultimo ano", ou um
        numero de dias). Obs.: o JusBrasil filtra por periodo relativo, nao por
        data inicial/final exata.
    ordenacao: "data" (mais recentes) ou "relevancia" (padrao).

Returns:
    Lista de dicts com titulo, tribunal, numero_cnj, data, ementa, url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tipoNo
queryYes
limiteNo
periodoNo
tribunalNo
ordenacaoNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden. It discloses key behavioral traits: the periodo filter uses relative dates (not exact), the tribunal filter accepts multiple values separated by commas, and the return format is a list of dicts with specific fields. This goes beyond basic functionality, but does not mention rate limits, authentication, or side effects (likely none).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with Args and Returns sections, front-loading the purpose. It is appropriately sized but could be slightly more concise—some parameter descriptions are verbose (e.g., tribunal notes). However, no sentence is wasted, and the format aids readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (6 parameters, need for output description) and presence of an output schema (mentioned as returning list of dicts), the description is thorough. It covers all parameters and return values. Minor gaps: no mention of error cases or pagination beyond limite, but overall adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has 0% description coverage (no descriptions in schema properties). The tool description compensates fully by explaining each parameter with examples, default values, allowed values (e.g., tribunal values: 'STF', 'STJ', etc.), and behavior (e.g., periodo relative). This adds significant meaning beyond the raw schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Pesquisa jurisprudencia no JusBrasil, com filtros reais do site,' specifying the action (search jurisprudence), source (JusBrasil), and distinguishing feature (real site filters). It differentiates from sibling tools like buscar_sumulas (search summaries) and ler_decisao (read decision), which have different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains parameters and acceptable values, providing context on when to use filters. However, it does not explicitly state when to use this tool over alternatives, nor does it mention when not to use it. There is no direct comparison to siblings, leaving the agent to infer from the tool name and description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fxbarros/mcp-jusbrasil'

If you have feedback or need assistance with the MCP directory API, please join our Discord server