Skip to main content
Glama

CARF (Recursos Fiscais)

jurisprudencia_documento

Read-onlyIdempotent

Lê o INTEIRO TEOR de uma decisão (texto completo do acórdão, não o resumo). Use o campo id de um resultado de jurisprudencia_buscar que traga texto_integral_disponivel: true, ou o número CNJ do processo. Resultado sem id não é legível por aqui, abra a url. Quando o processo tem mais de uma decisão, as outras vêm listadas em outras_decisoes_do_processo.

Bulk support: accepts ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
idsNo
tribunalNo
numeracaoNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish that the tool is read-only and idempotent, so the description's extra detail is useful rather than redundant: it explains that a result without id is not readable, that other decisions appear in outras_decisoes_do_processo, and that ids batch execution. No contradiction with the annotations; no harmful side effects are implied.

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

Conciseness5/5

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

The description is compact and front-loaded, with the core purpose stated first followed by precise usage rules. Every sentence adds information: input source, fallback behavior, multi-decision behavior, and bulk support; no wasted words.

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 read-only fetch tool with no output schema, the description covers the main inputs, fallback route, and expected response context (full text plus other decisions). The only real gap is the tribunal parameter, but the core invocation path is fully specified.

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

Parameters3/5

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

With 0% schema description coverage, the description must carry the parameter semantics, and it does for id (from a prior search result), numeracao (CNJ number), and ids (bulk). However, tribunal is never explained, and the relationship between numeracao and the CNJ number is only implicit, leaving part of the schema under-documented.

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 specific verb-resource pair ('Lê o INTEIRO TEOR de uma decisão') and explicitly contrasts full text with the resumo, distinguishing it from the search-focused sibling jurisprudencia_buscar. The phrase 'não o resumo' removes ambiguity about what this tool does.

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

Usage Guidelines5/5

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

It states exactly when to call the tool: use the id from a jurisprudencia_buscar result with texto_integral_disponivel: true, or use the CNJ number. It also gives an explicit exclusion and fallback ('Resultado sem id não é legível por aqui, abra a url'), plus guidance for processes with multiple decisions.

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

A4/5.0
Disambiguation4/5

Each tool has a distinct function: authentication, CARF lookup, connection status, marketplace operations, bug reporting, version, and toolkit info. There is slight overlap between connect and toolkit_info regarding status, but descriptions clarify their different outputs.

Naming Consistency2/5

Naming is inconsistent: verbs like authenticate, connect, and report_bug; nouns like marketplace and toolkit_info; and a mixed carf_consultar with Portuguese. No consistent pattern across tools.

Tool Count4/5

Seven tools is a reasonable number for a server that handles both CARF queries and platform administration. The scope is broad but each tool serves a distinct purpose, and the count is not excessive.

Completeness4/5

The CARF consultation tool covers the core function of checking processes by CPF/CNPJ. The platform tools cover authentication, connection status, marketplace discovery and invocation, version, bug reporting, and toolkit state, which appears sufficient for managing MCP integration. No critical gaps are evident.