Skip to main content
Glama

Identik Firma Digital

Enviar documento a firmar

enviar_documento

Pone el documento en firma. ACÁ se consume el crédito del documento; sin este paso queda en borrador. Por defecto manda el email de invitación a cada firmante. Con enviar_email: false no manda las invitaciones iniciales por email ni los avisos iniciales por WhatsApp/SMS. El documento igual queda en firma y vos distribuís los signingUrl obtenidos con obtener_documento. Los emails de finalización conservan su configuración salvo que indiques enviar_email_finalizacion. Esa opción controla el envío del PDF y la constancia al completar, según la plataforma; no cambia otros emails de avance o recordatorios.

Input Schema

NameRequiredDescriptionDefault
documento_idYesEl id numérico del documento.
enviar_emailNofalse = no enviar la invitación inicial por email ni los avisos iniciales por WhatsApp/SMS. Por defecto true. No cambia los emails de finalización.
enviar_email_finalizacionNoControla los emails de documento completado al remitente y los destinatarios, con el PDF y la constancia según la plataforma. Omitido conserva la configuración guardada; true los habilita y false los deshabilita. No cambia otros emails de avance o recordatorios.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / documento_id / description
      Previous value: -"El `id` numérico del documento."New value: +"El id numérico del documento."
    • changedInput schema / properties / enviar_email / description
      Previous value: -"false = no mandar ningún email de invitación. Por defecto true."New value: +"false = no enviar la invitación inicial por email ni los avisos iniciales por WhatsApp/SMS. Por defecto true. No cambia los emails de finalización."
    • addedInput schema / properties / enviar_email_finalizacion
      Added value: +{
      +  "description": "Controla los emails de documento completado al remitente y los destinatarios, con el PDF y la constancia según la plataforma. Omitido conserva la configuración guardada; true los habilita y false los deshabilita. No cambia otros emails de avance o recordatorios.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers real side-effect disclosure: credit consumption, the draft state without this call, default email/WhatsApp/SMS invitation behavior, and that disabling emails still leaves the document in signing state. It omits idempotency/re-call behavior (whether credit is consumed twice) and any auth or error context.

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?

Front-loads the core action and the credit consequence, then layers the email nuances in order of relevance. It is somewhat long, but each sentence (credit, default emails, enviar_email:false, finalization emails) addresses a distinct behavioral fact rather than padding.

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 3-parameter mutation tool with no annotations and no output schema, the description covers the important behavioral consequences an agent needs before invoking it (state transition, billing side effect, email side effects). The main remaining gap is what happens on repeated calls and what the call returns.

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 100%, so the schema already documents all three parameters and the description largely restates enviar_email and enviar_email_finalizacion semantics. It adds some operational meaning by tying enviar_email:false to the workflow of self-distributing signingUrls, but this is marginal over the structured fields, so the baseline 3 is appropriate.

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?

States a specific verb and resource in domain terms: it places the document into signing state and consumes the document credit, explicitly noting that without this step it stays as a draft. It also distinguishes itself from the sibling obtener_documento by explaining that signingUrls are retrieved there.

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?

Gives clear context for use (this is the step that finalizes a draft and consumes credit) and explains an alternative mode via enviar_email:false where the caller distributes signingUrls themselves. It does not explicitly name when not to use it versus siblings like reenviar_invitacion, leaving that inference to the agent.

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.