Skip to main content
Glama

Identik Firma Digital

Obtener documento

obtener_documento

Devuelve un documento por su id numérico: estado, meta (requireBiometricId, requireWhatsappOtp, idioma), firmantes (con signingStatus, signingUrl y la identidad esperada para la biometría: idDocumentNumber, firstName, lastName), campos y envelopeId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documento_idYesEl `id` numérico del documento.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the returned payload shape (estado, meta, firmantes, envelopeId). However, it says nothing about permissions, behavior when the id does not exist, or side effects, so behavioral disclosure is partial.

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?

One front-loaded sentence that states the operation first, then enumerates return fields compactly. Dense but with no filler sentences; the only mild cost is the long parenthetical field list.

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?

Because there is no output schema and no annotations, the description's enumeration of return fields (estado, meta flags, signers with signingUrl/identity, campos, envelopeId) is valuable and largely fills the gap. It is still silent on failure modes and access requirements, so not fully complete.

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?

The single parameter has 100% schema description coverage ("El `id` numérico del documento"), so the baseline is 3. The description restates "`id` numérico" without adding format, range, or example details beyond the schema.

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 ("Devuelve") and resource ("un documento por su `id` numérico"), making it clearly the single-document fetch among siblings like `listar_documentos` or `descargar_documento_firmado`. It does not explicitly name or contrast those siblings, so it stops short of a 5.

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

Usage Guidelines2/5

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

The phrase "por su `id` numérico" implies the lookup key, but there is no guidance on when to use this tool versus `listar_documentos`, `descargar_documento_firmado`, or `traza_auditoria`, and no exclusions or prerequisites are stated.

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.