Skip to main content
Glama

document_send_draft

Send a previously created draft after updating optional document settings such as subject, message, expiration, redirects, and reminders; confirm_send is required.

Instructions

Update optional document settings and send a previously created draft (requires confirm_send). Omitted settings are preserved. This endpoint cannot update recipients, files, or fields. Returns a best-effort status refresh; status can still lag. An accepted send must not be retried just because status is Draft: use document_get. Recipient send_email is an embedded-signing setting, not an email-delivery receipt.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "document_id": "<document_id>"
    },
    "name": "document_send_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
messageNoEmail message recipients will see.
subjectNoEmail subject line recipients will see.
metadataNoKey-value metadata (max 50 pairs, key max 40 chars, value max 500 chars).
remindersNo
test_modeNoCreate a non-binding test document without API billing.
expires_inNoDays before the signature request expires (max 365).
document_idYes
confirm_sendNo
redirect_urlNoURL to redirect after successful signing.
allow_declineNo
allow_reassignNo
embedded_signingNo
api_application_idNoAPI Application ID for settings isolation.
apply_signing_orderNo
decline_redirect_urlNoURL to redirect if document is declined.
custom_requester_nameNoCustom requester name on communications.
custom_requester_emailNoCustom requester email on communications.
embedded_signing_notificationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changedv0.3.9
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / allow_decline
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / allow_reassign
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / api_application_id
      Added value: +{
      +  "description": "API Application ID for settings isolation.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • addedInput schema / properties / apply_signing_order
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / custom_requester_email
      Added value: +{
      +  "description": "Custom requester email on communications.",
      +  "format": "email",
      +  "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / custom_requester_name
      Added value: +{
      +  "description": "Custom requester name on communications.",
      +  "type": "string"
      +}
    • addedInput schema / properties / decline_redirect_url
      Added value: +{
      +  "description": "URL to redirect if document is declined.",
      +  "format": "uri",
      +  "type": "string"
      +}
    • addedInput schema / properties / embedded_signing
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / embedded_signing_notifications
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / expires_in
      Added value: +{
      +  "description": "Days before the signature request expires (max 365).",
      +  "maximum": 365,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / message / description
      Added value: +"Email message recipients will see."
    • addedInput schema / properties / metadata
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "Key-value metadata (max 50 pairs, key max 40 chars, value max 500 chars).",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / redirect_url
      Added value: +{
      +  "description": "URL to redirect after successful signing.",
      +  "format": "uri",
      +  "type": "string"
      +}
    • addedInput schema / properties / reminders
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / subject
      Added value: +{
      +  "description": "Email subject line recipients will see.",
      +  "type": "string"
      +}
    • addedInput schema / properties / test_mode
      Added value: +{
      +  "description": "Create a non-binding test document without API billing.",
      +  "type": "boolean"
      +}
  2. First observedv0.3.3

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/destructiveHint annotations: omitted settings are preserved, the response is a best-effort status refresh that may lag, an accepted send must not be retried on a stale Draft status, and send_email is an embedded-signing flag rather than a delivery receipt. These are exactly the non-obvious mutation semantics an agent would otherwise get wrong.

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 purpose, then constraints, then the return/retry caveat, with no filler sentences. Density is high but justified for a mutating endpoint with this many knobs; the closing sentence on send_email is slightly oblique without seeing the nested recipient object.

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?

There is no output schema, and the description correctly explains what the response is (a lagging best-effort status) and how to reconcile it. The one gap is the bulk of the optional settings, whose per-flag meaning is left to partially documented schema fields.

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?

With 19 parameters and only 53% schema description coverage, the description does add real meaning for confirm_send, for omitted-setting preservation, and for the embedded-signing interpretation of send_email. It leaves many boolean settings (allow_decline, allow_reassign, apply_signing_order, reminders) entirely to the schema, so it neither compensates for the coverage gap nor repeats what is already documented.

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 ('send a previously created draft', 'update optional document settings') plus an explicit boundary: it cannot update recipients, files, or fields. That boundary alone lets an agent tell it apart from document_update_recipients without inspecting either schema.

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 explicit when-not guidance tied to a named sibling ('An accepted send must not be retried just because status is Draft: use document_get') and a hard precondition ('requires confirm_send'). It does not cover the settings-only alternative path (e.g., whether to use document_update for pure configuration changes), which keeps it 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.