Skip to main content
Glama

Conector Juspronto

Autos: buscar no tribunal, vários processos

autos_tribunal_lote
Idempotent

Pede os autos de até 10 processos de uma vez (processoIds, sem repetir), cada um pela rota que já tem: consulta pública do tribunal, grátis, ou Robô JusPronto, pago. Duas etapas: a 1ª devolve a prévia (uma linha por processo, o custo máximo somado, o teto desta chamada e o que sobra do plano) com um confirmacaoToken, e nada é pedido; só depois que o advogado ler a prévia e disser sim, repita a chamada com os MESMOS argumentos, na mesma ordem, e o token. tetoCentavos é opcional e só baixa o teto padrão da chamada, nunca sobe. Cada processo traz o seu resultado (PEDIDO_ENVIADO, IMPORTADO, JA_SOLICITADO, FORA_DO_TETO, LIMITE, NAO_TENTADO, SOLICITACAO_MUDOU, RECUSADO e outros); o que mudou desde a prévia não é executado. Não se desfaz, e o mesmo processo só pode ser pedido de novo depois de 24 horas. As peças do Robô chegam na aba Documentos em 1 a 5 minutos; depois use listar_pecas com fonte juspronto e ler_paginas com pecaId. Quem escolhe os processos é o advogado: o lote não escolhe sozinho.

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": {
      "processoIds": "<processoIds>"
    },
    "name": "autos_tribunal_lote"
  }
}

Input Schema

NameRequiredDescriptionDefault
processoIdsYesDe 1 a 10 ids de processo (o processoId de buscar_processos), sem repetir. Cada processo usa a rota que já tem: consulta pública grátis do tribunal ou Robô JusPronto, pago
tetoCentavosNoOpcional: número inteiro de centavos que o advogado aceita gastar NESTA chamada (por exemplo 1300 para R$ 13,00). Só serve para baixar o teto padrão, nunca para subir
confirmacaoTokenNoSó depois de mostrar a prévia e o advogado confirmar; repetir os MESMOS argumentos (a mesma lista, na mesma ordem)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only flag that this is a non-read-only, open-world, idempotent, non-destructive call; the description supplies the real behavioral context — simulated costing (max summed cost, call ceiling, remaining plan), the confirmation-token gate, irreversibility ('Não se desfaz'), a 24-hour cooldown per process, and the 1–5 minute delivery window for Robô peças. It also lists the per-process outcome codes (PEDIDO_ENVIADO, FORA_DO_TETO, RECUSADO, etc.) so the agent knows what the response will contain.

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?

Front-loaded with the purpose, then the two-step flow, then outcome codes, cooldown, and follow-up tools — a sensible order with no filler sentences. It is a dense single block and the status-code enumeration is somewhat heavy, but every clause carries operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description carries the burden and does: it describes the prévia contents, the token, the confirm-by-repeating mechanic, the result codes, and the downstream retrieval tools. For a charging, irreversible, multi-process transactional tool, nothing essential is missing.

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%, so the baseline is 3; the description still adds value by stressing no repeated ids, the 1–10 bound, that tetoCentavos can only lower the default ceiling and never raise it, and that the repeat call must reuse the identical list in identical order. Most of this reinforces the schema text rather than going far beyond it, so it sits just above baseline.

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 and resource with scope: 'Pede os autos de até 10 processos de uma vez', and clarifies that each process uses whichever route it already has (free public consultation vs. paid Robô JusPronto). The 10-process cap and the batch nature let an agent distinguish it from single-process autos tools without opening a schema.

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 an explicit two-step protocol: the first call returns only a prévia with a confirmacaoToken and charges nothing; only after the lawyer approves should the call be repeated with the SAME arguments in the same order plus the token. It also states the 24-hour re-request rule, that changes since the prévia are not executed, and hands off to listar_pecas with fonte juspronto and ler_paginas with pecaId afterward.

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