Skip to main content
Glama

gmail_send_draft

Prepares an email draft and returns a preview with confirmation, so users can review and approve recipients, subject, and body before the email is sent.

Instructions

【第 1 步】准备发送邮件:返回确认单与预览,不真正发送。展示给用户并拿到同意后调用 gmail_send_commit。

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": {
      "to": "<to>",
      "body": "<body>"
    },
    "name": "gmail_send_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toYes收件人
bccNo
bodyYes纯文本正文
fromNo可选:发件人邮箱(需已验证别名)
subjectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the key trait that nothing is actually sent plus that a confirmation/preview is returned and human consent is required before commit. It omits other important behavior: whether a draft is persisted, whether sender aliases must be pre-verified (that only appears in the schema), and any error conditions.

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, front-loaded with the step label and the non-sending guarantee. Nothing is wasted, though the step-marker formatting and lack of any parameter detail make it slightly thin for a 6-parameter tool.

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 no annotations and no output schema, the description covers the safety story and the workflow but leaves the confirmation/preview contents, draft persistence, and half the parameters unexplained. It is adequate to start the flow but not complete.

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?

Six parameters with only 50% schema description coverage, and the description adds no parameter meaning at all. It never mentions recipient, subject, cc/bcc, or body handling, so the undocumented parameters (cc, bcc, subject) stay unexplained in both schema and description.

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 states a specific action in a two-phase send flow: it returns a confirmation sheet and preview without actually sending, and it names the follow-up tool gmail_send_commit, which clearly distinguishes it from that sibling. It stops short of clarifying that a persistent Gmail draft is or is not created, so the name 'send_draft' is left partly unaccounted for.

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 an explicit procedure: show the preview to the user, obtain consent, then call gmail_send_commit. That covers the when and the alternative tool that follows it. It does not address when this tool is inappropriate, or how to handle a user who wants to edit rather than approve.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.