Skip to main content
Glama

Conector Juspronto

Resumo do processo

resumo_processo
Read-onlyIdempotent

Devolve o resumo pronto do processo e de suas peças, sem orçamento de leitura. Use para entender o caso; para fato ou citação pontual, prefira buscar_autos e ler_paginas. atualizado false indica autos novos ou ato decisório posterior aos autos disponíveis ou à geração do resumo. atosPosteriores lista data, descrição e andamentoId, usando o frescor. Regenerar sem autos novos mantém o aviso. A conferência depois dos autos lê até 5.000 andamentos em lotes de 200. Se não confirmar o fim do histórico, o resumo mantém atualizado false com o aviso: histórico longo: confira os andamentos depois dos autos. Datas sem horário do mesmo dia contam por precaução. Use montar_contexto para reunir o estado atual e as datas de corte antes de responder. Em processo sigiloso sem resumo pronto, retorna PROCESSO_SIGILOSO e orienta ler as evidências com buscar_autos e ler_paginas.

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>"
    },
    "name": "resumo_processo"
  }
}

Input Schema

NameRequiredDescriptionDefault
processoIdYesID do processo (obtenha via buscar_processos)

Output Schema

NameRequiredDescriptionDefault
avisoNo
pecasNo
resumoNo
frescorNo
atualizadoNo
disponivelNo
orientacaoNo
avisoConteudoNo
atosPosterioresNo
segredoDeJusticaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "atosPosteriores": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "atualizado": {
      +      "type": "boolean"
      +    },
      +    "aviso": {
      +      "type": "string"
      +    },
      +    "avisoConteudo": {
      +      "type": "string"
      +    },
      +    "disponivel": {
      +      "type": "boolean"
      +    },
      +    "frescor": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "andamentosAte": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "atosDepoisDosAutos": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "andamentoId": {
      +                    "type": "string"
      +                  },
      +                  "data": {
      +                    "type": "string"
      +                  },
      +                  "descricao": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "autosAte": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "aviso": {
      +              "type": "string"
      +            },
      +            "djenAte": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "truncado": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "orientacao": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "additionalProperties": {},
      +          "properties": {},
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "pecas": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "resumo": {
      +      "type": "string"
      +    },
      +    "segredoDeJustica": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description adds real behavioral context: no read budget, semantics of the 'atualizado' flag, the shape of 'atosPosteriores', the 5,000-andamento / 200-batch verification ceiling, and the PROCESSO_SIGILOSO error path. The mention of 'Regenerar sem autos novos' implies a persistent side effect, which sits in mild tension with readOnlyHint but is plausibly about cached summary state rather than client data; the gap keeps it from a 5.

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

Conciseness3/5

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

The usage guidance is front-loaded and valuable, but several sentences drill into internal mechanics (batch size 200, 5,000-andamento ceiling, midnight-date precaution) that consume attention without changing how an agent invokes the tool. The block is also unstructured prose with no separation of usage vs. return semantics.

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?

An output schema exists, so return values needn't be documented, yet the description usefully explains the freshness flag, the 'atosPosteriores' list contents and the confidential-process error code. For a single-parameter read tool this covers what an agent needs, with only the regeneration/caching behavior left ambiguous.

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?

Only one parameter with 100% schema description coverage ('ID do processo (obtenha via buscar_processos)'), so the schema already carries the meaning. The description adds nothing about the process ID format or where to obtain it beyond what the schema states — the baseline 3 applies.

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?

States a specific verb+resource ('Devolve o resumo pronto do processo e de suas peças') and immediately differentiates itself from siblings by declaring the key property 'sem orçamento de leitura' (no read budget) versus punctuated lookup. An agent can distinguish this from buscar_autos/ler_paginas without inspecting schemas.

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?

Gives explicit when-to-use ('Use para entender o caso'), when-not-to-use ('para fato ou citação pontual, prefira buscar_autos e ler_paginas'), and a sequencing prerequisite ('Use montar_contexto ... antes de responder'). It also names a failure branch (processo sigiloso) with the exact alternative workflow.

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