Skip to main content
Glama

Busca geral

astrea_search
Read-only

Search legal processes, cases, contacts by name or CPF/CNPJ, tasks, deadlines, appointments, and hearings by text; returns each result's objectId and type for follow-up actions.

Instructions

Busca por texto em processos, casos, contatos (nome ou CPF/CNPJ), tarefas, prazos, compromissos e audiências. Retorna objectId e type (C_CASE, C_CONTACT, ...).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "astrea_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds real value by disclosing the return fields (objectId, type with enum-style values like C_CASE, C_CONTACT), which matters because there is no output schema. It says nothing about result volume, ranking, the default limit of 15, or permission requirements, so behavioral context is only partial.

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?

Two tight sentences, front-loaded with the search scope and followed by the return contract. Nothing is padded and the essential information appears first.

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?

For a two-parameter read-only search with annotations covering safety and no output schema, the description supplies the searchable entities and the return shape, which is most of what an agent needs. The remaining gap is the undocumented limit/pagination behavior and any hint about result ordering or truncation.

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 0%, so the description carries the burden. It does clarify that 'text' matches across several entity types and can be a contact name or CPF/CNPJ, which is meaning the schema's bare string does not convey. The 'limit' parameter (default 15, max 50) is never mentioned, leaving half the parameters unexplained.

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 names a specific verb ('Busca por texto') and explicitly enumerates the resource scope: processos, casos, contatos, tarefas, prazos, compromissos and audiências. It also states the return shape (objectId and type), so an agent knows immediately this is the federated lookup tool, unlike the create/delete/add siblings.

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?

Usage is only implied: 'Busca geral' plus the entity list signals 'use this to locate any record by text', and it notes CPF/CNPJ matching for contacts, which is a useful hint. However, there is no explicit when-to-use vs when-not, no mention of whether a more targeted lookup exists, and no guidance on how to narrow noisy multi-entity results.

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

Deploy Server

Other Tools