Skip to main content
Glama

Conector Juspronto

Status dos autos

processo_status
Read-only

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

A3.8/5.0
Behavior4/5

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

The annotations already cover read-only/non-destructive, so the description's real contribution is business behavior: how EM_ANDAMENTO is derived, that DEMORANDO means >24h without a page, that a source pendency alone doesn't prove a search by this office, and that saldo governs daily/monthly reading quotas. That is meaningful context beyond the annotations, though nothing is said about failure modes for an invalid processoId.

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 directive is correctly front-loaded, but the middle is a run-on data dictionary of return fields (buscaTribunal, ultimaImportacao, saldo, oabsForaDaVarredura) delivered as one dense paragraph. Since an output schema exists, several of those sentences duplicate structured data and dilute the operational rules.

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?

With full schema coverage, an output schema, and safety captured by annotations, the description supplies the remaining essentials: status-derivation rules, the 24h threshold, the null/coverage caveats, and the handoff to autos_tribunal. It is close to complete for a read-only diagnostic call, losing a point only for spending space restating output fields rather than edge cases.

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 description coverage is 100%, so baseline is 3; the only parameter commentary ('consultarTribunal true consulta a fonte sem baixar peça') essentially restates the schema's own 'não baixa peça'. processoId gets no added meaning at all. Adequate but no value beyond the structured fields.

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 clause plus the title identify the tool as a read of ingestion/coverage status for a process ('Consulte a ingestão e a cobertura'), which is clear enough to separate it from analisar_processo and autos_tribunal. It never states the verb/resource in one crisp sentence, and the diagnostic angle is inferred from the field list rather than declared, so it stops short of a 5.

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 gives explicit timing ('antes de analisar o processo') and names the alternative path for the empty case ('Sem autos, siga a orientação para autos_tribunal com prévia e confirmação'). It also adds an escalation rule for DEMORANDO. What's missing is an explicit when-not-to-use or a direct contrast with 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