Skip to main content
Glama

Verify a document

verify_document
Read-onlyIdempotent

Checks a document issued on Reciba from the verification code printed under its QR code (32 characters) or from its reciba.com.br/d/ link: document type, issue date and time, whether it was issued from the issuer's own account with a confirmed e-mail at that moment, whether the other party registered acceptance, and the status of its public timestamp (OpenTimestamps). Returns no personal data: no names or e-mail addresses of the people involved. When a document looks forged or misused, the result includes where to report it.

Input Schema

NameRequiredDescriptionDefault
codigoYesCódigo de verificação impresso no documento, ou o link reciba.com.br/d/<código>.

Output Schema

NameRequiredDescriptionDefault
tipoNo
avisoYes
denunciaYesOnde denunciar documento falso ou uso indevido.
emitido_emNo
encontradoYes
autenticadoNoEmitente com e-mail confirmado e emissão registrada.
registro_bitcoinNoRegistro do documento no Bitcoin, um carimbo de tempo público pelo OpenTimestamps.
aceite_registradoNo
pagina_de_verificacaoNo

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 readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds real context beyond them: the explicit privacy guarantee (no names or e-mail addresses returned) and the fact that results include reporting destinations for forged documents. It does not describe behavior for invalid or malformed codes, which keeps it from a 5.

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 core action and accepted inputs are front-loaded, and the privacy and reporting details follow in a logical order. It is a single dense sentence with many clauses, which is efficient but slightly heavy to parse; no sentence is wasted.

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

Completeness5/5

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

For a one-parameter read-only lookup with an output schema present, the description covers input formats, verification facets, privacy boundaries, and the reporting pointer. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is already documented, so the baseline is 3. The description earns an extra point by adding the 32-character length constraint and restating the two accepted formats in the context of what is being verified.

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 opens with a specific verb+resource ("Checks a document issued on Reciba") and enumerates exactly what is verified: document type, issue date/time, issuer account and e-mail confirmation, counterparty acceptance, and OpenTimestamps status. This is clearly distinguishable from siblings like prepare_document and list_document_types.

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?

It states the two accepted input forms (the 32-character code under the QR code, or the reciba.com.br/d/ link) and gives a concrete usage scenario ("When a document looks forged or misused"). It stops short of explicitly naming when to prefer a sibling tool, but the verification-only scope is unambiguous.

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