Skip to main content
Glama
ehrodan

mcp-juridico-brasil

by ehrodan

buscar_processo_por_numero

Retrieve complete Brazilian judicial process data by CNJ number, including case class, subjects, court, parties, and movement history, across 91 tribunals.

Instructions

Busca os dados de um processo judicial pelo número CNJ.

Consulta a API pública DataJud (CNJ) e retorna metadados do processo, classe, assuntos, órgão julgador, partes e histórico de movimentações.

Cobertura: 91 tribunais (STF, STJ, TST, TSE, STM, TRF1-6, TRTs, TJs estaduais, TREs e militares estaduais).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tribunalNoSigla do tribunal (ex: 'TJSP', 'TRF4', 'STJ'). Se omitida, o sistema tenta localizar o processo em todos os tribunais (operação mais lenta).
numero_processoYesNúmero no formato CNJ (ex: '0001234-56.2023.8.26.0100') ou sem formatação (20 dígitos).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral burden. It adds meaningful context by revealing the tool consults the public DataJud API, covers 91 tribunals, and becomes slower when no tribunal is specified. It does not disclose potential failure modes, rate limits, or authentication expectations, but for a read-style public API lookup the disclosed context is reasonably helpful.

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 compact and front-loaded. The first sentence states the purpose, the second describes the data source and return contents, and the third gives relevant scope coverage. Every sentence contributes useful information with no filler.

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?

Given that an output schema exists and the input schema fully documents both parameters, the description is largely complete for direct invocation. It covers data source, scope, and return categories, though it does not provide explicit sibling-routing guidance or failure/error expectations.

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 the schema already documents both parameters. The description reinforces the CNJ-number concept but adds no parameter-level meaning beyond what the schema provides, such as format requirements or the performance implication of omitting tribunal.

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 uses a specific verb and resource: 'Busca os dados de um processo judicial pelo número CNJ' and enumerates the returned data (metadados, classe, assuntos, órgão julgador, partes, movimentações). It is clear, but it does not explicitly differentiate this tool from closely related siblings such as listar_movimentacoes, which may also expose movement data.

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

Usage Guidelines3/5

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

The description implies the tool is used to look up process data by CNJ number and provides useful operational guidance about the slower search when tribunal is omitted. However, it never states when to prefer this tool over alternatives like listar_movimentacoes or resumir_andamento, nor does it mention exclusions or complementary use.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ehrodan/lexmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server