Skip to main content
Glama

Identik Firma Electrónica

Crear documento desde plantilla

crear_documento_desde_plantilla

Genera un documento de firma electrónica a partir de una plantilla. Flujo: listar_plantillas → esta herramienta → enviar_documento. Devuelve el documentId y el signingUrl de cada firmante. IMPORTANTE: el documento queda en borrador (no consume crédito) hasta que lo envíes con enviar_documento.

Input Schema

NameRequiredDescriptionDefault
asuntoNoAsunto del email de invitación.
tituloNoTítulo del documento (si no, hereda el de la plantilla).
mensajeNoMensaje del email de invitación.
firmantesYesLos firmantes de esta instancia.
plantilla_idYesEl `id` de la plantilla.
requiere_biometriaNotrue = cada firmante debe aprobar la verificación biométrica (DNI + prueba de vida) antes de firmar. Consume 1 crédito de verificación por aprobada.
avisar_por_whatsappNotrue = a cada firmante que tenga `telefono` cargado se le manda el link de firma por WhatsApp, ADEMÁS del email cuando se habilitan los avisos iniciales al enviar. En Electrónica y contratos prepago consume 1 crédito por mensaje; en Digital pago por documento se consumen los 5 créditos incluidos del paquete al enviar con este canal. Consultá estado_cuenta. Sin saldo o sin teléfono no se manda el WhatsApp.
codigo_por_whatsappNotrue = cada firmante debe ingresar un código de un solo uso recibido por WhatsApp antes de completar la firma (firma electrónica avanzada). OBLIGA a cargar `telefono` en TODOS los firmantes (sin teléfono, enviar_documento falla). Consume 1 crédito de WhatsApp por firmante, de la misma bolsa que los avisos (`whatsapp` en estado_cuenta); sin saldo el firmante firma normal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / avisar_por_whatsapp / description
      Previous value: -"true = a cada firmante que tenga `telefono` cargado se le manda el link de firma por WhatsApp, ADEMÁS del email. Consume 1 crédito de WhatsApp por mensaje enviado (ver estado_cuenta). Sin saldo o sin teléfono no se manda nada y el email sale igual."New value: +"true = a cada firmante que tenga `telefono` cargado se le manda el link de firma por WhatsApp, ADEMÁS del email cuando se habilitan los avisos iniciales al enviar. En Electrónica y contratos prepago consume 1 crédito por mensaje; en Digital pago por documento se consumen los 5 créditos incluidos del paquete al enviar con este canal. Consultá estado_cuenta. Sin saldo o sin teléfono no se manda el WhatsApp."
    • changedInput schema / properties / firmantes / items / properties / telefono / description
      Previous value: -"Teléfono en formato internacional (por ej. \"+5491123456789\") para mandarle el link de firma por WhatsApp además del email. Requiere que la cuenta tenga saldo de WhatsApp (ver estado_cuenta) y que el documento lo tenga activado; si falta algo se ignora y el firmante recibe el email."New value: +"Teléfono en formato internacional (por ej. \"+5491123456789\") para mandarle el link de firma por WhatsApp además del email, cuando los avisos iniciales están habilitados. Requiere saldo de WhatsApp (ver estado_cuenta) y el canal activado en el documento. El consumo depende del plan; si falta teléfono o saldo no se manda el WhatsApp."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and delivers key non-obvious behavior: the document is created in draft state and consumes no credit until enviar_documento is called, plus what the call returns (documentId, signingUrl). It still omits auth/permission requirements and failure modes, so not 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: what it does, where it sits in the flow, and the critical draft/no-credit caveat. Front-loaded and every sentence earns its place, with no restating of the title.

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 usefully names the returned documentId and signingUrl, and the draft/credit behavior fills an important gap. It stops short of describing the full response shape or error conditions, but the schema already carries the heavy parameter and credit semantics.

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% and the 8 parameters (firmantes sub-fields, biometría, WhatsApp flags, credit implications) are documented exhaustively in the schema itself. The description adds no parameter-level detail beyond what is already there, so the baseline of 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?

Specific verb+resource ('Genera un documento de firma electrónica a partir de una plantilla') that clearly separates it from siblings like enviar_documento, descargar_documento_firmado or validar_pdf. An agent knows exactly what artifact this produces.

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 explicitly positions the tool in a workflow ('listar_plantillas → esta herramienta → enviar_documento'), which tells the agent the prerequisite and the natural next step. It does not state when NOT to use it or name alternative creation paths, so it falls short of a 5.

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.