Skip to main content
Glama

Conector Juspronto

Abrir e comparar versões da minuta

abrir_minuta
Read-onlyIdempotent

Abre uma versão pelo minutaId, com texto integral em páginas de 6 mil caracteres, hashVersao, versões da mesma minuta, conferências determinísticas já calculadas, pendências de fontes, as citações com a verificação automática de cada uma e o histórico de decisão (aprovação, retirada e download do DOCX). pagina, paginaVersoes e paginaFontes continuam o texto, as versões e as referências. compararComId compara duas versões da mesma minuta; paginaDiff continua os trechos removido e adicionado. Só leitura. A aprovação humana é distinta da conferência automática. A exportação em DOCX continua no app. Assinar e protocolar a peça ficam com você, fora do Juspronto.

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": {
      "minutaId": "<minutaId>"
    },
    "name": "abrir_minuta"
  }
}

Input Schema

NameRequiredDescriptionDefault
paginaNo
minutaIdYes
paginaDiffNo
paginaFontesNo
compararComIdNo
paginaVersoesNo

Output Schema

NameRequiredDescriptionDefault
textoNo
versaoNo
frescorNo
versoesNo
minutaIdNo
hashVersaoNo
pendenciasNo
avisoConteudoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered; the description still adds real context beyond them. It discloses pagination granularity (6,000-character pages), what sections are returned, how continuation works, and the important distinction that human approval differs from the automatic conferência. It also states that export and signing happen outside this tool, which prevents a false expectation.

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 main action and its payload are front-loaded, and the parameter-continuation sentences follow in a logical order before the scope disclaimers. Every sentence carries information, but the block is a dense run-on paragraph with heavy comma chaining, which makes it harder to scan than it needs to be.

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 six-parameter read tool with an output schema, the description is substantial: it covers pagination behavior, comparison mode, out-of-scope actions, and the human-vs-automatic verification distinction. Gaps are minor, such as what happens with an invalid minutaId or a compararComId from a different minuta (only 'mesma minuta' is asserted).

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 description coverage is 0%, so the description carries the burden and largely does: pagina continues the text, paginaVersoes the version list, paginaFontes the references, paginaDiff the removed/added excerpts, and compararComId triggers comparison of two versions of the same minuta. minutaId is explained only implicitly via 'Abre uma versão pelo minutaId'. The dependency that paginaDiff is only meaningful with compararComId is left for the agent to infer.

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 opens with a concrete verb and resource: 'Abre uma versão pelo minutaId', and enumerates exactly what comes back (full text, hashVersao, versions, deterministic checks, source pendencies, citations with verification, decision history). It clearly separates this from export/signing actions. It stops short of naming a sibling such as listar_minutas, so the differentiation is implied by the identifier-based access rather than stated.

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 gives clear conditional routing inside the tool: use compararComId to compare two versions of the same minuta, and use pagina/paginaVersoes/paginaFontes/paginaDiff to continue the respective lists. It also sets scope boundaries (read-only, DOCX export stays in the app, signing and filing are outside Juspronto). It does not explicitly say when to reach for this versus listar_minutas or preparar_secao_minuta.

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