Skip to main content
Glama
bbpropulse

MCP PJe Pernambuco

by bbpropulse

consultar_processo_publico

Fetch public TJPE process data by NPU and court level, returning the details with CPF/CNPJ masked in the response.

Instructions

Consulta os dados públicos de um NPU do TJPE e mascara CPF/CNPJ no retorno.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grauYes
numeroYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
grauYes
fonteNoConsulta pública PJe/TJPE
classeNo
numeroYes
partesNo
assuntoNo
url_fonteYes
movimentosNo
observacaoNo
valor_causaNo
capturado_emNo
orgao_julgadorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral transparency burden. It does disclose an important behavior: CPF/CNPJ values are masked in the response, and it identifies the data as public. However, it does not mention other behaviors such as error cases, response size, or whether any authentication is needed.

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

Conciseness5/5

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

The description is a single, tightly constructed sentence with no filler. It front-loads the core purpose and then adds the important masking behavior, earning its place efficiently.

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

Completeness2/5

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

Even with an output schema present, the description leaves key operational context unresolved: the meaning of 'grau', how to construct the NPU, and when this tool is the right choice among several process-related siblings. For a large toolset, this is insufficient for reliable tool selection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate. It gives meaning to 'numero' by referring to an NPU, but it does not explain 'grau' (1g/2g) or provide format/validation guidance for the numero parameter. This is only partial parameter-level help.

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 description clearly states the action ('Consulta'), the resource ('dados públicos de um NPU do TJPE'), and a distinctive behavior ('mascara CPF/CNPJ no retorno'). It is specific enough to convey what the tool does, though it does not explicitly differentiate itself from similar siblings like consultar_metadados_processo or consultar_autos.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to use this tool versus alternatives. The word 'públicos' implies it is for public data, but there are no explicit exclusions, prerequisites, or comparisons to sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.