Skip to main content
Glama

Conector Juspronto

Abrir resultado

fetch
Read-onlyIdempotent

Recupera o conteúdo completo de um ID retornado por search: processo: devolve a ficha do processo; pagina: devolve o teor da página dos autos.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesID opaco vindo de search (processo:<id> ou pagina:<evidenceId>)

Output Schema

NameRequiredDescriptionDefault
idYesO mesmo ID recebido
urlYesLink para abrir o documento no JusPronto (fonte da citação)
textYesConteúdo: a ficha do processo ou o teor da página (até 40 mil caracteres)
titleYesTítulo legível do documento
metadataYesDados de apoio; metadata.tipo é processo, pagina ou nao_encontrado

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. Beyond that, the description discloses the branching behavior that matters most: the return payload differs by ID prefix, one giving a case record and the other giving case-file page text. It does not discuss size limits or whether page fetches are paginated, though the presence of an output schema reduces that burden.

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?

A single sentence that front-loads the core action and then enumerates the two ID forms in parallel structure. Every clause carries new information; nothing restates the tool name or title.

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 one-parameter fetch tool with full schema coverage, complete annotations, and an output schema, the description covers what the agent needs: the origin of the ID, its two accepted shapes, and what each shape yields. Minor omissions such as error behavior for an invalid or expired ID keep it from a 5.

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?

Schema coverage is 100% and the schema already labels the single param as an opaque ID from search with both accepted prefixes. The description goes further by mapping each prefix to its return semantics, which is meaning the schema does not convey. That added mapping justifies a 4 over the 3 baseline for fully covered schemas.

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

Purpose4/5

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

The description uses a specific verb ('Recupera o conteúdo completo') tied to a specific input class ('um ID retornado por search') and further splits that input into two named prefix formats with distinct outcomes (processo:<id> → ficha do processo; pagina:<evidenceId> → teor da página dos autos). This clearly separates it from search, which only returns IDs. It stops short of 5 because the generic name 'fetch'/'Abrir resultado' carries no meaning on its own and no other sibling (e.g., detalhe_processo) is contrasted.

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 phrase 'ID retornado por search' establishes a hard prerequisite and implicit workflow ordering: call search first, then fetch its opaque output. That is real when-to-use context rather than inference. There are no explicit exclusions or named alternatives for cases where a different detail tool would be preferred.

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.

Resources