Skip to main content
Glama
gmail-mcp

gmail-mcp

gmail_create_reply_draft

Compose a draft reply within an existing Gmail thread without sending it. Prepare a response safely, optionally replying to all recipients.

Instructions

Create a draft reply in an existing email thread without sending it.

Discovery: run gmail_list_inbox first to obtain message_id values.

Args: message_id: The ID of the message to reply to body: Reply body text (plain text) reply_all: If True, reply to all recipients (default: False, reply only to sender)

Use this for: safely composing a reply draft within an existing Gmail thread. NOT for: sending an already-created draft -> see gmail_send_draft. NOT for: composing a new standalone email with explicit recipients and subject -> see gmail_create_draft. NOT for: finding candidate messages or message IDs → see gmail_search_emails. NOT for: reading message content without replying → see gmail_read_email.

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": {
      "message_id": "<message_id>",
      "body": "<body>"
    },
    "name": "gmail_create_reply_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
reply_allNo
message_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 burden, and it does disclose key traits: no sending occurs, body is plain text, reply_all defaults to sender-only, and a discovery step is required. It does not cover whether an existing draft in the thread is reused/overwritten or what permissions are needed, which are meaningful gaps for a write tool with zero annotation coverage.

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?

Front-loaded purpose, then discovery, then a compact args block and a scannable NOT-for list. The 'Use this for: safely composing...' line mostly restates the opening sentence and could be dropped, but the structure is otherwise efficient.

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?

Output schema exists so return values need not be described, and the required discovery prerequisite is stated. Coverage is complete enough to call the tool correctly, with only the thread-position and draft-overwrite semantics left implicit.

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?

Schema coverage is 0%, so the description must document all three params, and it largely does: message_id, body as plain text, and reply_all's default behavior. The remaining ambiguity is which message in a multi-message thread message_id should point to when replying.

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, resource, and scope: create a draft reply within an existing thread, explicitly without sending. That scope alone separates it from gmail_create_draft, gmail_send_draft, and gmail_read_email.

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?

Provides an explicit 'Use this for' statement plus four 'NOT for' routes, each naming the sibling tool that covers the excluded case. An agent can route without opening any schema.

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