Skip to main content
Glama

create_email_draft

Create a private resource draft from an accessible version (defaults to live). Returns a new draftId.

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": {
      "target": "<target>"
    },
    "name": "create_email_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoSource for save. Defaults to working; live saves the currently published content.
targetYesTarget email resource; kind must be email.
versionNoSaved version name for save or restore. Save requires a new name; live and draft: names are reserved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / expectedRevision
      Removed value: -{
      -  "description": "Latest snapshot revision; required for every action except list.",
      -  "type": "integer"
      -}
    • removedInput schema / properties / sourceHash
      Removed value: -{
      -  "description": "Latest working draft sourceHash; required for publish.",
      -  "type": "string"
      -}
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already establish a non-destructive, non-idempotent write, so the bar is lower, and the description usefully adds that the draft is private and that the call returns a draftId. However, 'defaults to live' conflicts with the schema note that the source defaults to working, and nothing is said about permissions, whether an existing draft is overwritten, or what the agent gets besides the id.

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?

Two short sentences with the primary action and return value front-loaded; nothing is padded. The parenthetical is the weak point because it carries the inaccurate default rather than useful detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with full schema coverage, the description covers the essentials (what it creates, that the draft is private, what it returns) without an output schema. It is still missing sibling routing, the live-vs-working correction, and any statement about what the draft can subsequently be used for.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3, but the description actively misstates the default of the 'source' parameter ('defaults to live' versus the schema's 'Defaults to working'). Since the only parameter-level statement it makes is misleading, it subtracts value rather than adding it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Create' and the output ('returns a new draftId') are clear, but the resource is described generically as 'a private resource draft' rather than an email draft; only the tool name and the nested schema reveal that kind must be 'email'. Nothing in the text distinguishes it from create_page_draft, create_wallet_draft, or create_email_template.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no exclusions. The description never says how this differs from create_email_template, create_email_broadcast, or duplicate_email_template, nor what the agent should do next (publish_email_draft, discard_email_draft). The only usage hint is the vague 'from an accessible version'.

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.