Skip to main content
Glama

Conector Juspronto

Detalhe do processo

detalhe_processo
Read-onlyIdempotent

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
instanciasNo
processoIdNo
habilitacaoNo
cnjFormatadoNo
avisoConteudoNo
movimentacoesNo
prazosAbertosNo
instanciaAtualNo
remessasSemRecebimentoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / instancias
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "assunto": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "atual": {
      +        "type": "boolean"
      +      },
      +      "atualizadaEm": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "classe": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "dataAutuacao": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "grau": {
      +        "type": "string"
      +      },
      +      "orgaoJulgador": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "origem": {
      +        "type": "boolean"
      +      },
      +      "partes": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "nome": {
      +              "type": "string"
      +            },
      +            "polo": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "tribunal": {
      +        "type": "string"
      +      },
      +      "valorCausa": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. 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"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / habilitacao
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  4. 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"
      +}
  5. 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"
      +}
  6. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive, yet the description still adds substantial behavioral context: anonymization of minors and domestic-violence parties to initials (with exceptions), null semantics for segredoDeJustica, the calculada=false meaning, the cap of five most recent divergencias, and the local DJEN text behavior with source, date, and republications. This is exactly the kind of beyond-annotation disclosure that prevents misinterpretation of 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.

Conciseness4/5

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

Sentences are dense but nearly all carry payload-relevant semantics, and the core purpose is front-loaded before field-level detail. The one cost is readability: it is an unstructured run of field-by-field notes, some of which overlap with the output schema, making it more of a reference dump than a scannable brief.

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 lookup with an output schema already present, the description still covers the interpretive traps an agent would otherwise hit: two similarly named 'situacao' fields with different provenance, derived vs. manual status, redaction rules, and pagination continuation. Nothing needed to call it correctly or read the result safely 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, but the description earns more: it explains that teorEventoId triggers reading the local DJEN text with fonte, data, situação, and republicações, and that paginaTeor continues while temMais=true. It adds real meaning about parameter interaction (pagination only meaningful with a teor) rather than restating types.

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 names a specific resource ('Ficha do processo') and enumerates exactly what it covers: CNJ, court, parties, lawyers, deadlines, hearing, and record coverage. An agent immediately knows this returns the full record of one case. It falls short of 5 because it never explicitly contrasts itself with overlapping siblings such as resumo_processo, processo_status, or analisar_processo, so the boundary between a detail view and a summary view must be inferred.

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 routes the agent to concrete alternatives for out-of-scope needs: 'para qualificação completa use dados_para_peca ou preparar_secao_minuta' and 'Mais páginas: buscar_autos ou ler_paginas'. It also states a hard exclusion (CPF, CNPJ, endereço, e-mail are omitted). What is missing is any positive when-to-use framing versus the summary/status siblings, so the guidance is clear but not exhaustive.

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