Skip to main content
Glama

Dilligence — certidões de empresas

match_documents

Lê uma lista de documentos pedidos (checklist colado, e-mail, planilha ou foto em base64) e diz, para cada um, quais certidões do catálogo atendem (source_ids) ou se é um documento que alguém precisa enviar (source_ids vazio). Use antes de create_diligence ou add_document.

Input Schema

NameRequiredDescriptionDefault
textNo
filenameNo
content_base64NoArquivo (PDF, Excel, Word, CSV, imagem) em vez de text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the output semantics (empty source_ids = document someone must send) and the accepted input forms, but never states that the call is non-mutating, what happens on unmatched items, or any size/format limits on base64 uploads.

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?

Two dense sentences with the capability first and the workflow position last; nothing is decorative. Slightly tighter phrasing could have made the text-vs-base64 choice explicit without lengthening it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description does describe the return shape (per-item source_ids, empty meaning unmatched), which is the key piece. It is still incomplete on the input-mode decision and on failure behavior for a 3-parameter tool with two alternative input channels.

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 33% and only content_base64 is documented in the schema. The description adds real value by naming checklist sources (pasted checklist, e-mail, spreadsheet, base64 photo), but it never covers 'filename' and never explains precedence or exclusivity between 'text' and 'content_base64', which is the most likely invocation error.

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?

States a specific verb and resource: it reads a requested-documents checklist and maps each entry to catalog certificates (source_ids), or flags it as empty when a human must send it. This is clearly distinct from read_document (which reads one file) and from add_document/create_diligence. It stops short of a 5 only because the two input modes are named rather than explicitly contrasted.

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?

Explicitly positions the tool in the workflow: 'Use antes de create_diligence ou add_document', naming the siblings it feeds. That is clear ordering guidance, though it gives no when-not-to-use conditions or prerequisites (e.g., catalog must exist).

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