Skip to main content
Glama

Conector Juspronto

Buscar no acervo do escritório

buscar_no_acervo
Read-only

Busca textual em TODOS os autos do escritório de uma vez ("onde já enfrentamos essa tese?", "qual precedente interno temos?"). Cada resultado vem com evidenceId pronto para resolver_citacao ou ler_paginas. Acento-insensível; Processo de outro escritório simplesmente não existe aqui. Para buscar dentro de UM processo conhecido, prefira buscar_autos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limiteNoMáximo de resultados (padrão 10, teto 20)
periodoNoJanela por data de ajuizamento do processo (opcional)
consultaYesTexto a procurar no acervo do escritório
tipoPecaNoTipo da peça (opcional)
processoIdNoRestringir a um processo (opcional)

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 declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds real behavioral detail beyond that: results carry an evidenceId ready for chaining into resolver_citacao or ler_paginas, the search is accent-insensitive, and the archive is isolated to this office. It stops short of describing result format or pagination behavior, so it lands just under the top.

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 tightly packed sentences: scope first, then the result/chaining contract, then the alternative tool. No filler, and the most decision-relevant information (scope + alternative) is front-loaded.

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 no output schema, the description helpfully discloses that each result includes an evidenceId for downstream chaining and that the search is accent-insensitive and office-scoped. Combined with fully documented parameters and read-only annotations, an agent has enough to call it correctly, though return-shape details (fields, ordering) remain unstated.

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 consulta, limite, periodo, tipoPeca, and processoId are all documented in the schema itself. The description adds no parameter-specific syntax or constraints (e.g., what counts as a 'conhecido' process for processoId), so the baseline 3 applies.

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+resource+scope: textual search across ALL of the office's case files at once, and names the exact sibling it differs from (buscar_autos for a single known process). The quoted example queries ('onde já enfrentamos essa tese?') make the intent unambiguous and let an agent distinguish it from buscar_processos or search without opening either 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 routes the agent: use this for cross-office textual search, but 'Para buscar dentro de UM processo conhecido, prefira buscar_autos'. The scoping rule (a process from another office does not exist here) further clarifies the applicable domain, leaving nothing to inference.

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