Skip to main content
Glama

Conector Juspronto

Buscar processos

buscar_processos
Read-only

PONTO DE PARTIDA: encontre processos por número CNJ (com ou sem máscara), nome do cliente, número da pasta ou termo livre. O processoId retornado alimenta TODAS as outras ferramentas (processo_status, listar_pecas, buscar_autos, ler_paginas, resolver_citacao, analisar_processo). Sem parâmetros, devolve os processos mais recentes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termoNoBusca livre em título, número do processo e nome do cliente
limiteNoMáximo de resultados (padrão 10; acima de 25 é cortado em 25)
clienteNoParte do nome do cliente (case-insensitive)
numeroCNJNoNúmero do processo (CNJ), com ou sem pontuação
numeroPastaNoNúmero da pasta interna do escritório

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the bar is lower. The description still adds real value by disclosing the zero-parameter default behavior and the fact that the returned processoId is the required input for every other tool, which is not inferable from annotations or schema.

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?

Three sentences with the entry-point role front-loaded, then the inputs, then the downstream contract, then the fallback. No filler and no repetition of schema detail.

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?

There is no output schema, and the description covers the essential return contract (processoId plus recent processes when unfiltered). It stops short of describing result field shape or pagination semantics beyond the schema's limite cap, a minor gap for a 5-param discovery tool.

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 all five parameters including the search scope of each. The description restates the same lookup keys with only slightly extra nuance ('com ou sem máscara'), so a 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?

States a specific verb and resource ('encontre processos') and enumerates the four lookup keys (CNJ number, client name, folder number, free term). It also positions itself as the entry point distinct from siblings that require a processoId, so an agent can tell it apart without opening any schema.

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

Usage Guidelines5/5

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

Explicitly labels itself 'PONTO DE PARTIDA' and names the six downstream tools (processo_status, listar_pecas, buscar_autos, ler_paginas, resolver_citacao, analisar_processo) whose input comes from this call. It also defines the no-argument fallback ('devolve os processos mais recentes'), removing ambiguity about when to call it.

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