Skip to main content
Glama

Conector Juspronto

Status dos autos

processo_status
Read-onlyIdempotent

Consulte a ingestão e a cobertura antes de analisar o processo. buscaTribunal é o pedido mais recente deste escritório para o CNJ: pedidaEm e operacao, ou null sem pedido local. ultimaImportacao traz status, iniciadaEm e ultimaTentativaEm do job de importação mais recente, ou null. Datas em ISO 8601 com -03:00. consultarTribunal true consulta a fonte sem baixar peça. A busca fica EM_ANDAMENTO só com pedido local, fonte PENDENTE e nenhuma página importada depois do pedido. Sem pedido local, a pendência da fonte não comprova busca deste escritório. DEMORANDO indica mais de 24 horas sem página: avise o advogado e ofereça PDF na aba Documentos. Sem autos, siga a orientação para autos_tribunal com prévia e confirmação. saldo mostra páginas de leitura hoje e análise no mês e quando voltam. oabsForaDaVarredura lista advogados com OAB sem monitor ativo; null com avisoCoberturaOab indica cobertura indisponível.

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": "processo_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
processoIdYesID do processo (UUID)
consultarTribunalNotrue = consulta também o andamento da busca no tribunal; não baixa peça

Output Schema

NameRequiredDescriptionDefault
saldoNo
statusNo
frescorNo
coberturaNo
orientacaoNo
avisoConteudoNo
buscaTribunalNo
ultimaImportacaoNo
avisoCoberturaOabNo
totalPaginasLedgerNo

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": {
      +    "avisoCoberturaOab": {
      +      "type": "string"
      +    },
      +    "avisoConteudo": {
      +      "type": "string"
      +    },
      +    "buscaTribunal": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "operacao": {
      +              "type": "string"
      +            },
      +            "pedidaEm": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "cobertura": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "paginasSemTexto": {
      +          "type": "number"
      +        },
      +        "paginasTotal": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "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": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "consultarNovamenteEmSegundos": {
      +          "type": "number"
      +        },
      +        "estado": {
      +          "type": "string"
      +        },
      +        "instrucao": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "saldo": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {},
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "status": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "totalPaginasLedger": {
      +      "type": "number"
      +    },
      +    "ultimaImportacao": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "iniciadaEm": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "status": {
      +              "type": "string"
      +            },
      +            "ultimaTentativaEm": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / consultarTribunal / description
      Previous value: -"true = consulta também o andamento no tribunal, sem gastar crédito"New value: +"true = consulta também o andamento da busca no tribunal; não baixa peça"
  3. Changed1 schema field changed
    • addedInput schema / properties / consultarTribunal
      Added value: +{
      +  "description": "true = consulta também o andamento no tribunal, sem gastar crédito",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/openWorld, and the description adds real behavioral context on top: the call may hit the court source but 'não baixa peça', dates carry -03:00, and several fields can be null with distinct meanings. The state-machine semantics (EM_ANDAMENTO requires a local request plus PENDENTE source with no page imported; DEMORANDO means >24h without a page; missing local request invalidates source pendency) are genuinely valuable disclosure beyond structured data.

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

Conciseness2/5

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

The text is a dense run-on sequence of clauses that mixes usage directives with line-by-line documentation of return fields, even though an output schema already exists. It is not front-loaded with a clean purpose statement, and several sentences (buscaTribunal, ultimaImportacao, saldo, oabsForaDaVarredura) spend words restating structured return data instead of earning their place.

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?

For a read-only status tool with full annotation coverage, a complete input schema and an output schema, the description covers what structured fields cannot: state interpretation, null semantics, and escalation workflow. Coverage is sufficient to call and act on the result correctly; the residual gap is only that return-field prose duplicates the output schema.

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 coverage is 100% and processoId is self-evident. The description's note that consultarTribunal 'consulta a fonte sem baixar peça' essentially restates the schema's own text, so it adds little new meaning; the operational consequence (no peça download) is the only marginal gain. Baseline 3 applies when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence is a usage directive ('Consulte a ingestão e a cobertura antes de analisar o processo') rather than a statement of what the tool returns; the actual purpose only emerges from the field-by-field list (buscaTribunal, ultimaImportacao, saldo, oabsForaDaVarredura). It does gesture at sibling boundaries ('antes de analisar o processo', 'autos_tribunal'), but an agent must assemble the tool's identity from output-field prose rather than a single clear verb+resource sentence.

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?

Strong on when-to-use: check ingestion/coverage before analysing, route to 'autos_tribunal com prévia e confirmação' when there are no autos, and escalate with 'avise o advogado e ofereça PDF' when DEMORANDO. It also gives param-level guidance for consultarTribunal. It stops short of an explicit when-not-to-use statement or a full routing map across the other status/detail siblings (detalhe_processo, resumo_processo).

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