Skip to main content
Glama

Legal MCP (alternativa ao Jusbrasil)

jurisprudencia_buscar

Read-onlyIdempotent

Busca jurisprudência (acórdãos, súmulas, orientações jurisprudenciais, temas) por termo ou tese. Devolve, por registro: identificação da decisão, órgão julgador, relator, data, o trecho que casou a busca e o link para o documento no site oficial. Quando o registro traz texto_integral_disponivel: true, o inteiro teor pode ser lido com jurisprudencia_documento usando o id. Alguns registros vêm sem relator/órgão/número quando a publicação não permite afirmar esses campos — campo nulo é ausência de informação na fonte, não defeito. Informe tribunais para restringir a busca; sem isso a pesquisa é ampla. Zero resultado não significa que a decisão não exista: costuma ser vocabulário (o termo do tribunal difere do coloquial) ou filtro estreito demais. No termo funcionam os operadores: espaço = E, "entre aspas" = frase exata, OR = ou, -palavra = exclui.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNo
tipoNo
termoYes
data_deNo
ordenarNo
data_ateNo
tribunaisNo

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already indicate readOnly, idempotent, and non-destructive behavior. The description adds substantial behavioral context beyond that: null fields mean absence of information in the source, not a defect; zero results do not prove non-existence and are often due to vocabulary or over-narrow filters; and full texts are accessible via jurisprudencia_documento. These are exactly the kind of non-obvious behaviors an agent needs to interpret results correctly.

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 a single dense paragraph with no filler; every sentence adds information. It front-loads the main purpose and return structure before caveats. It is slightly long but each clause earns its place, so it remains appropriately sized and structured.

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?

For a tool with seven parameters and no output schema, the description covers a lot: return fields, full-text access, null semantics, broad-search behavior, and zero-result interpretation. Missing explanations for date ranges, 'tipo', and 'max' are the main gaps, but the most critical usage contexts are addressed.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden of explaining parameters. It explains 'termo' ('por termo ou tese') and 'tribunais' ('para restringir a busca; sem isso a pesquisa é ampla'), but it does not explain 'tipo', 'data_de', 'data_ate', 'ordenar', or 'max'. An agent would have to guess their meanings or formats, which is a significant gap given the parameter count.

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 opens with a clear verb and resource: 'Busca jurisprudência (acórdãos, súmulas, orientações jurisprudenciais, temas) por termo ou tese.' It lists what each returned record contains and explicitly distinguishes itself from jurisprudencia_documento by explaining that full texts are read through that sibling. This gives an agent a precise understanding of what the tool does and how it differs from related tools.

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

Usage Guidelines4/5

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

The description tells the agent when to use jurisprudencia_documento instead: when a record has 'texto_integral_disponivel: true'. It also advises to inform 'tribunais' to narrow the search and warns that an unfiltered search is broad. It does not explicitly contrast with jurisprudencia_sumulas, but the main routing guidance is present.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.1/5.0
Disambiguation2/5

There is substantial overlap among the process-discovery tools: cnpj_processos, cpf_processos, djen_processos_por_parte, processos_buscar_por_nome, processos_buscar_por_documento, and legal_dossie all lead to finding the same kind of case by party/document, differing mainly by backend and sync/async details. The verbose descriptions mitigate the confusion, but an agent still has to reason through several competing entry points with unclear boundaries.

Naming Consistency2/5

The set uses domain prefixes and snake_case, but mixes English and Portuguese action verbs (djen_search_comunicacoes vs. djen_processos_por_parte; processos_get_resultado vs. processos_buscar_por_nome) and includes bare-noun names like cnpj_processos, legal_dossie, and transparencia_pep. Platform/utility tools (connect, marketplace, show_version) use a different English naming style, so no single pattern is followed.

Tool Count2/5

30 exposed tools exceeds the scale's heavy threshold and the count is inflated by platform/admin/marketplace meta-tools as well as multiple near-redundant discovery backends. A more scoped legal server could merge the process-finding variants and keep the utility/marketplace features separate.

Completeness2/5

The server covers a lot of ground—company/CPF data, DJEN and portal discovery, jurisprudence full text, monitoring, transparency, PEP, and sanctions—but there is no native current-case-status/movimentaçoes tool, and the descriptions repeatedly tell agents to enrich with datajud_* tools that are not exposed directly in this list. That is a significant workflow gap for a tool advertised as an alternative to Jusbrasil.