Skip to main content
Glama

Conector Juspronto

Checar peça

checar_peca

Confere cada afirmação de fato de um rascunho de peça contra os autos (evidenceId), datas, valores e campos obrigatórios do tipo, e devolve um veredito por afirmação (suportada, inferência, sem suporte, evidência inexistente). Use antes de entregar o rascunho ao advogado. Grava o relatório da conferência e devolve o verificationId, que a minuta cita; não altera a peça nem os 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": {
      "processoId": "<processoId>",
      "tipoPeca": "<tipoPeca>",
      "claims": "<claims>"
    },
    "name": "checar_peca"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimsYesCitações do rascunho a conferir (1 a 50)
tipoPecaYesTipo da peça (um dos valores do enum, cada um com o seu checklist)
processoIdYesID do processo (obtenha via buscar_processos)
textoCompletoNoRascunho completo, para conferência de campos e datas (opcional; máx. 200 mil caracteres)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / tipoPeca / description
      Previous value: -"Tipo da peça (tipos com checklist: contestação trabalhista, manifestação, recurso ordinário, manifestação sobre laudo, réplica, contrarrazões)"New value: +"Tipo da peça (um dos valores do enum, cada um com o seu checklist)"
    • changedInput schema / properties / tipoPeca / enum
      Previous value: -[
      -  "CONTESTACAO_TRABALHISTA",
      -  "MANIFESTACAO",
      -  "RECURSO_ORDINARIO",
      -  "MANIFESTACAO_LAUDO",
      -  "REPLICA",
      -  "CONTRARRAZOES"
      -]New value: +[
      +  "CONTESTACAO_TRABALHISTA",
      +  "MANIFESTACAO",
      +  "RECURSO_ORDINARIO",
      +  "MANIFESTACAO_LAUDO",
      +  "REPLICA",
      +  "CONTRARRAZOES",
      +  "INICIAL_TRABALHISTA",
      +  "INICIAL_CIVEL",
      +  "CONTESTACAO_CIVEL",
      +  "EMBARGOS_DECLARACAO",
      +  "AGRAVO_PETICAO",
      +  "RECURSO_REVISTA",
      +  "IMPUGNACAO_CALCULOS",
      +  "EMBARGOS_EXECUCAO",
      +  "EMBARGOS_EXECUCAO_TRABALHISTA",
      +  "RAZOES_FINAIS",
      +  "APELACAO",
      +  "ALIMENTOS",
      +  "GUARDA",
      +  "DIVORCIO",
      +  "RESPOSTA_ACUSACAO",
      +  "PROCURACAO",
      +  "CONTRATO_HONORARIOS",
      +  "NOTIFICACAO_EXTRAJUDICIAL",
      +  "ACORDO"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description adds the crucial qualifier that the write is limited to a report ('Grava o relatório da conferência') and that it 'não altera a peça nem os autos', plus the returned verificationId that the minuta cites. This resolves the ambiguity of a non-read-only tool that nonetheless does not modify the draft or case record.

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?

Three sentences, front-loaded with the core action and scope, followed by one usage instruction and one side-effect/return statement. No redundant restatement of the name or title; every clause carries information.

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, and the description compensates by enumerating the per-claim verdict values and the returned verificationId, plus disclosing the write side effect. Only minor gaps remain, such as what else the stored report contains or how partial/ambiguous evidence is handled, which are not essential for invoking it correctly.

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?

Schema description coverage is 100%, so the baseline is 3. The description ties evidenceId to the autos and mentions that tipoPeca drives field/date checking, but that largely restates what the schema already says ('cada um com o seu checklist', 'evidenceIds que sustentam o claim'); it adds no format, limit, or precedence detail beyond the structured fields.

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 uses a specific verb ('Confere') on a specific resource ('cada afirmação de fato de um rascunho de peça') and states the comparison basis (autos/evidenceId, datas, valores, campos obrigatórios do tipo). It even enumerates the verdict taxonomy returned per claim, so an agent can distinguish this verification tool from drafting/context siblings without opening the 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?

Explicit timing guidance is given: 'Use antes de entregar o rascunho ao advogado', which tells the agent where this fits in the workflow. It stops short of naming alternatives or exclusions (e.g., when to prefer montar_contexto or dados_para_peca instead), so it is clear context without explicit routing.

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