Skip to main content
Glama

CARF (Recursos Fiscais)

jurisprudencia_temas

Read-onlyIdempotent

Temas de precedente qualificado: repercussão geral do STF e recursos repetitivos do STJ, por número do tema ou por termo, nas fontes oficiais dos dois tribunais. Cada tema traz numero, titulo/questao, tese firmada (null quando ainda não há), situacao, paradigma (leading case e relator), datas, link para a página oficial e citacao pronta. STF e STJ numeram os temas de forma independente: informe tribunal junto com numeros para não misturar. No STF o termo é procurado no título do tema (funciona como frase); no STJ, todas as palavras na questão, na tese e nos assuntos. Se a fonte de um tribunal não responder, o outro vem com complete: false e fontes[] diz qual falhou.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jurisprudencia_temas"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNo
termoNo
numerosNo
tribunalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the description only needs to add context. It does so usefully by disclosing partial-failure handling: if one court's source fails, the other comes back with `complete: false` and `fontes[]` identifying which failed. That is genuine behavioral detail that could not be inferred from the annotations, though it does not cover pagination or response size limits.

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 dense but front-loaded, leading with the resource and source before the field list and the per-court search caveat. Every sentence contributes information, though the field enumeration and the two-court caveat in one compact paragraph make it denser than necessary.

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?

There is no output schema, so the description correctly compensates by naming the returned fields and the partial-failure shape (`complete`, `fontes[]`). For a 4-parameter, zero-required, read-only lookup tool this is nearly complete; the undocumented `max` parameter is the only substantive omission.

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

Parameters4/5

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

With 0% schema description coverage, the description carries the full burden and largely meets it: it explains the meaning of `numeros` (court-specific theme numbers), `tribunal` (the enum, and that it must accompany `numeros` to avoid mixing numbering schemes), and `termo` (with different matching semantics per court). Only `max` goes unexplained, which is the one clear gap.

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 states a specific verb/resource pair: retrieving 'temas de precedente qualificado' (STF repercussão geral and STJ recursos repetitivos) by number or term from the official sources of both courts. It also lists exactly what each record contains (numero, titulo/questao, tese, situacao, paradigma, datas, link, citacao), so an agent can distinguish this tool from generic search, sumulas, or document-retrieval siblings without opening any schema.

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?

It gives real usage guidance: supply `tribunal` alongside `numeros` because STF and STJ number temas independently, and it explains the difference in search behavior (a phrase in the STF title vs. all words across STJ questão, tese, and assuntos). There is no explicit statement about when to prefer this tool over jurisprudencia_buscar or jurisprudencia_sumulas, but the scope is clear enough to infer.

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.