Skip to main content
Glama
DeHor-Labs

mcp-juridico-brasil

by DeHor-Labs

buscar_processo_por_numero

Look up Brazilian court case details by CNJ number, including metadata, parties, and movements from 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

Behavior3/5

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

No annotations are provided, so the description carries full behavioral disclosure. It describes the API source, coverage, and behavior with/without tribunal. However, it does not mention error handling (e.g., if number not found), rate limits, or authentication, leaving gaps.

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?

The description is concise, at three short lines, and front-loaded with the core purpose. It includes necessary details without wordiness. Slight improvement could be structuring with bullet points, but it's effective.

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 the tool's complexity (searching across many courts, returning various data fields), the description covers the main aspects: purpose, data source, coverage, and an important usage nuance (tribunal omission). An output schema exists, so return values need not be detailed.

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%, so the schema already documents both parameters' formats and behavior. The description adds no additional meaning to the input parameters beyond what is in the schema. Baseline 3 is appropriate.

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

Purpose5/5

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

The description clearly states the tool searches for judicial process data by CNJ number, specifying it uses the DataJud API and returns metadata, class, subjects, court, parties, and movements. This distinguishes it from siblings like 'listar_processos_monitorados' or 'listar_tribunais'.

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?

The description provides guidance on when to specify 'tribunal' vs omitting it, noting that omission triggers a slower search across all courts. It also mentions coverage of 91 courts, helping the agent decide context. No explicit when-not-to-use, but clear enough.

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

Install Server

Other Tools

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/DeHor-Labs/mcp-juridico-brasil'

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