Skip to main content
Glama

Conector Juspronto

Detalhe do processo

detalhe_processo
Read-only

Ficha do processo com CNJ, juízo, partes, advogados, prazos, audiência e cobertura dos autos. situacaoDaPasta é a situação da pasta, decisão do escritório; situacaoNoTribunal é derivada dos andamentos, com estado, data e evidência (calculada=false: ainda não calculada). Campos trazem fonte e coletadoEm; divergencias: os cinco conflitos mais recentes. partes: doEscritorio e representadaPeloEscritorio dizem que a parte tem advogado do escritório; clienteVinculado, o cliente da pasta. advogados: souEu, a sua OAB. Menores e, em violência doméstica, pessoas físicas aparecem por iniciais, exceto advogados e o cliente cadastrado. CPF, CNPJ, endereço e e-mail ficam fora; para qualificação completa use dados_para_peca ou preparar_secao_minuta. clienteCienteUsoIa: ciência do cliente sobre IA. segredoDeJustica é null quando desconhecido. Com teorEventoId, lê o teor local do DJEN, com fonte, data, situação e republicações. paginaTeor continua quando temMais=true. Mais páginas: buscar_autos ou 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": "detalhe_processo"
  }
}

Input Schema

NameRequiredDescriptionDefault
paginaTeorNoParte da leitura do teor (padrão 1)
processoIdYesID do processo (obtenha via buscar_processos)
teorEventoIdNoID do teor indicado no evento. Quando informado, devolve o texto com fonte e data.

Output Schema

NameRequiredDescriptionDefault
autosNo
avisoNo
pastaNo
fontesNo
partesNo
frescorNo
temMaisNo
eventoIdNo
advogadosNo
processoIdNo
habilitacaoNo
cnjFormatadoNo
avisoConteudoNo
movimentacoesNo
prazosAbertosNo
instanciaAtualNo
remessasSemRecebimentoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / instanciaAtual
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "properties": {
      +        "comprovadaPor": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "grau": {
      +          "type": "string"
      +        },
      +        "numeroCnj": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "provaId": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "tribunal": {
      +          "type": "string"
      +        },
      +        "ultimaAtividadeEm": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / remessasSemRecebimento
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "aviso": {
      +        "type": "string"
      +      },
      +      "grau": {
      +        "type": "string"
      +      },
      +      "remetidaEm": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "tribunal": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / habilitacao
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "advogados": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "autos": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "aviso": {
      +      "type": "string"
      +    },
      +    "avisoConteudo": {
      +      "type": "string"
      +    },
      +    "cnjFormatado": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "eventoId": {
      +      "type": "string"
      +    },
      +    "fontes": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "fonte": {
      +            "type": "string"
      +          },
      +          "publicacaoId": {
      +            "type": "string"
      +          },
      +          "texto": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "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"
      +        }
      +      ]
      +    },
      +    "movimentacoes": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "data": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "descricao": {
      +            "type": "string"
      +          },
      +          "eventoId": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "partes": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "pasta": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "prazosAbertos": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "processoId": {
      +      "type": "string"
      +    },
      +    "temMais": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / paginaTeor
      Added value: +{
      +  "description": "Parte da leitura do teor (padrão 1)",
      +  "maximum": 10000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / teorEventoId
      Added value: +{
      +  "description": "ID do teor indicado no evento. Quando informado, devolve o texto com fonte e data.",
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnlyHint/destructiveHint annotations, the description discloses substantial behavior: personal data is masked by initials for minors and domestic-violence parties, CPF/CNPJ/address/e-mail are excluded entirely, segredoDeJustica is null when unknown, calculada=false means not yet computed, and `divergencias` is capped at the five most recent conflicts. These are exactly the traits an agent needs before deciding to rely on the payload.

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?

It is front-loaded correctly with what the tool is, but the body degenerates into a long semicolon-chained field glossary that largely restates the output schema (situacaoDaPasta vs situacaoNoTribunal, partes, advogados, clienteCienteUsoIa). The information is useful but not well prioritized or compressed.

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?

For a read-only detail tool with an output schema, the description covers the non-obvious gaps that the schema cannot: privacy masking rules, null semantics for segredoDeJustica, computation-state semantics, and pagination continuation. Nothing essential for correct invocation or interpretation 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 a baseline of 3 applies, but the description adds real meaning: teorEventoId reads the local DJEN text with fonte, data, situação and republicações, and paginaTeor should continue while temMais=true. That goes beyond the terse schema strings such as 'Parte da leitura do teor (padrão 1)'.

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 opening sentence gives a specific resource (ficha do processo) and enumerates the fields it returns (CNJ, juízo, partes, advogados, prazos, audiência, cobertura dos autos), so the agent knows exactly what it gets. It does not explicitly distinguish itself from close siblings such as processo, resumo_processo, processo_status, or autos_tribunal, though it does route to buscar_autos/ler_paginas and dados_para_peca.

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?

It names concrete alternatives for two conditions: full qualification data goes to dados_para_peca or preparar_secao_minuta, and more pages go to buscar_autos or ler_paginas. It stops short of saying when this tool should be preferred over other detail-oriented siblings like resumo_processo or processo_status.

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