Skip to main content
Glama

Send Draft

send_draft
Destructive

Send an existing unsent draft by its document_id. Do not provide PDF bytes or a template ID: use send_envelope for new PDFs or send_from_template for a saved template. The draft must have signing fields, with recipient roles matching the field parties. Omit recipients to use the draft's saved list, or pass the full replacement list of {name, email, role} for this send. If no recipients are saved, provide at least one. To edit saved recipients without sending, use the dashboard editor; update_draft only changes fields.

Success changes the draft to Sent and normally costs 1 credit. Set
send_invite=false to suppress invitations, or send_completion_email=false
to suppress signer completion emails. sequential defaults true (one at a
time); set false for everyone at once. prefill =
{"party:name": "text"} sets or overrides text field defaults for this
send only; unknown or non-text keys are a 422 invalid_prefill_key. An
encrypted PDF stored on the draft is a 422 with code pdf_encrypted and
is not charged. Set metadata.revision_of to a changes-requested source
document_id for its one-time free resend while the promotion is enabled.
Requires envelopes:send access.

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": "send_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
prefillNo
metadataNo
recipientsNo
sequentialNo
document_idYes
send_inviteNo
send_completion_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / prefill
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Prefill"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / sequential
      Added value: +{
      +  "default": true,
      +  "title": "Sequential",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: credits cost (1), state transition to Sent, access requirement (envelopes:send), email suppression flags, sequential default, prefill validation failure (422 invalid_prefill_key), and that an encrypted PDF yields 422 pdf_encrypted without being charged. It also documents the free resend path via metadata.revision_of.

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?

Dense but front-loaded: the core action and exclusions come first, then recipient rules, then side effects and flags. Every sentence carries information, though the paragraph is long enough that a reader must scan carefully to locate a specific flag.

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?

An output schema exists, so return values need not be described. For a 7-param mutating send operation, the description covers preconditions, cost, error cases, and per-parameter effects, leaving no significant gap for correct invocation.

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?

With 0% schema description coverage, the description carries the load and does so for most params: prefill's {"party:name": "text"} shape and its error mode, recipients as a full replacement list of {name, email, role}, sequential's default and meaning, and both email-suppression booleans. metadata is only partially explained (revision_of), leaving other keys unspecified.

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?

Opens with a precise verb+resource+scope: 'Send an existing unsent draft by its document_id.' It immediately distinguishes itself from send_envelope and send_from_template by naming what inputs it does not take.

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

Usage Guidelines5/5

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

Explicitly routes to alternatives ('use send_envelope for new PDFs or send_from_template for a saved template') and to the dashboard editor / update_draft for recipient edits without sending. It also states the prerequisites: draft must have signing fields with matching recipient roles, and at least one recipient if none saved.

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