Skip to main content
Glama

draft_edit

Optional reason: why you're making this change, in one sentence the person reads (at most 1000 characters). Optional sources: reference addresses in Home, such as /mail/#/c/12; never message or document text. Change anything about a draft or a message already scheduled: its text, recipients, subject, the address it is from (account), or its time (at). Leave out what stays the same. A scheduled message keeps its time unless at is given; giving at to an unscheduled draft schedules it, so treat that like draft_schedule. If a change to a scheduled message can't go ahead the result says so, and it is then an unsent draft. A new body drops the formatting unless html gives it again. html: optional formatted text in place of body's plain text (body is then made from it): one per line, an empty

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": {
      "draft": "<draft>",
      "author": "<author>"
    },
    "name": "draft_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
ccNo
toNo
bccNo
bodyNo
htmlNo
draftYes
modelNo
authorYes
reasonNo
accountNo
sourcesNo
subjectNo
instructionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so mutation and safety profile are known. The description usefully adds consequence detail: a blocked change to a scheduled message 'is then an unsent draft,' and 'A new body drops the formatting unless html gives it again.' It does not cover permissions, or what happens to unmentioned fields beyond the vague 'Leave out what stays the same.'

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Content is valuable but poorly front-loaded: the text opens with two pasted parameter blurbs ('Optional reason:', 'Optional sources:') before ever stating the tool's purpose. The html formatting rules are long but earn their place; the ordering and lack of structure hurt scanability.

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?

No output schema, so the description appropriately explains the failure result for scheduled messages. For a 14-parameter mutation tool it covers the behaviorally risky surface (scheduling, formatting loss, images) but omits meaning for four parameters, leaving an agent guessing about model and instruction.

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 0% across 14 parameters, so the description carries the burden. It explains reason, sources, at, body, html (with a detailed formatting grammar), account, subject and recipients well, but leaves draft, author, model and instruction entirely undocumented in both schema and description. Substantial compensation with a notable gap.

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 plus the full editable surface: 'Change anything about a draft or a message already scheduled: its text, recipients, subject, the address it is from (account), or its time (at).' It also distinguishes the scheduling side effect and points to draft_schedule, so an agent can separate it from that sibling.

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 real usage rules: 'Leave out what stays the same,' 'A scheduled message keeps its time unless at is given,' and 'giving at to an unscheduled draft schedules it, so treat that like draft_schedule.' No explicit when-not-to-use guidance against draft_revise or draft_new, but the conditional behaviors are clearly stated.

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.