Skip to main content
Glama

Send fmsg draft

send_draft

Sends an existing draft and attachments immediately, making delivery final. Use it to dispatch a prepared draft within an authorized task; if refused, the reason returns and the draft stays unsent.

Instructions

Send a draft made with create_draft, with its attachments, immediately. fmsg messages are immutable: once sent they cannot be edited or recalled. Send within the user's requested task or authorized automation. If the host refuses it, its reason is returned verbatim and the message stays a draft.

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": {
      "id": "<id>"
    },
    "name": "send_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe draft to send

Output Schema

NameRequiredDescriptionDefault
idYes
toYes
fromYes
hintNofor you, not the user: a better way to do this next time
timeYes
filesNothe files given by reference, as attached: the name used, size and hex sha256 of the bytes
topicYes
redactedNothe kinds of secret replaced, such as github_token; empty when none
resolvedNoshort names and how they resolved, when any were given; confirm with the user if an address looks wrong
warningsYesthings to tell the user, such as redacted secrets or resolved short names
parent_idYes
redactionsYessecrets replaced with placeholders before sending
attachmentsYessorted by filename, the same order in every tool
thread_topicNothe thread's topic: the topic sent for a new message; for a reply, the thread root's topic, or null when the root is not visible

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.1
    • addedOutput schema / properties / files
      Added value: +{
      +  "description": "the files given by reference, as attached: the name used, size and hex sha256 of the bytes",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "file_id": {
      +        "type": "string"
      +      },
      +      "filename": {
      +        "type": "string"
      +      },
      +      "sha256": {
      +        "type": "string"
      +      },
      +      "size": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Addedv1.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, openWorld=true, idempotent=false), it discloses two critical behaviors: messages are immutable once sent and cannot be edited or recalled, and on host refusal the reason is returned verbatim while the message remains a draft. That failure semantics plus irreversibility is exactly the context an agent needs before committing an irreversible action.

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?

Four tight sentences, front-loaded with the action, then irreversibility, then scoping, then failure behavior. Every sentence carries information an agent needs and none repeat the schema or annotations.

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 an output schema present and annotations covering the safety profile, the description suffices: it explains irreversibility and what happens on host refusal. It does not state whether the draft can be re-sent after a refusal or what the idempotency implication of a retry is, leaving a minor gap for a non-idempotent mutation.

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% and the single parameter already documents 'the draft to send' with a numeric pattern. The description adds only that the draft originates from create_draft and that attachments travel with it, so it meets but does not exceed the high-coverage baseline.

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?

The description opens with a specific verb and resource: 'Send a draft made with create_draft, with its attachments, immediately.' It ties the tool to its sibling create_draft so the agent knows the object being acted on. It does not explicitly contrast with send_message, but the 'draft' qualifier provides implicit differentiation.

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 gives a clear usage condition: 'Send within the user's requested task or authorized automation,' which constrains the agent to user-sanctioned actions. No explicit when-not or named alternative (e.g., send_message for non-draft content) is provided, which keeps it just 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.