Skip to main content
Glama

Reply to an email

google_gmail_reply

Replies to an existing email message within its thread, preserving threading headers and supporting reply-all, attachments, and custom recipients.

Instructions

Reply to an existing message inside its thread, preserving threading headers.

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": {
      "threadId": "<threadId>",
      "messageId": "<messageId>",
      "body": "<body>"
    },
    "name": "google_gmail_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoExplicit CC recipient(s), merged with any replyAll-derived list.
bccNoExplicit BCC recipient(s). BCC is never derived from the original message.
bodyYesReply body.
fromNoSend-as alias or address to set as the From header.
accountNoAccount nickname to use.
replyToNoAddress to set as the Reply-To header.
bodyTypeNoBody format (default text).
replyAllNoReply to everyone: derive CC from the original To + Cc, excluding this account.
threadIdYesThread ID of the conversation.
messageIdYesID of the message being replied to.
attachmentsNoLocal files to attach to the reply.
driveFileIdsNoDrive file IDs to attach by reference (downloaded under the Gmail size limit).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.102
    • addedInput schema / properties / bcc
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  ],
      +  "description": "Explicit BCC recipient(s). BCC is never derived from the original message."
      +}
    • addedInput schema / properties / cc
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  ],
      +  "description": "Explicit CC recipient(s), merged with any replyAll-derived list."
      +}
    • addedInput schema / properties / replyAll
      Added value: +{
      +  "description": "Reply to everyone: derive CC from the original To + Cc, excluding this account.",
      +  "type": "boolean"
      +}
  2. Changed5 schema fields changedv0.1.60
    • addedInput schema / properties / attachments / items / properties / cid
      Added value: +{
      +  "description": "Content-ID for inline parts so HTML can reference them as cid:<cid>.",
      +  "type": "string"
      +}
    • addedInput schema / properties / attachments / items / properties / disposition
      Added value: +{
      +  "description": "How the part is presented (default attachment; inline embeds it in the body).",
      +  "enum": [
      +    "attachment",
      +    "inline"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / driveFileIds
      Added value: +{
      +  "description": "Drive file IDs to attach by reference (downloaded under the Gmail size limit).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Send-as alias or address to set as the From header.",
      +  "type": "string"
      +}
    • addedInput schema / properties / replyTo
      Added value: +{
      +  "description": "Address to set as the Reply-To header.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changedv0.1.30
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / attachments
      Added value: +{
      +  "description": "Local files to attach to the reply.",
      +  "items": {
      +    "properties": {
      +      "filename": {
      +        "description": "Attachment filename shown to recipients (defaults to the basename of path).",
      +        "type": "string"
      +      },
      +      "mimeType": {
      +        "description": "MIME type override (defaults to a guess from the filename).",
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "Local filesystem path of the file to attach.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "path"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses that threading headers are preserved, which is real behavioral value beyond the schema, but it never states that the call actually sends the message immediately (as opposed to creating a draft) nor mentions permission or rate-limit considerations.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though for a twelve-parameter mutation tool the extremely terse framing leaves no room for the caveats the tool would benefit from.

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?

The fully documented schema covers inputs, so the description mainly needs to clarify send semantics and side effects. It gives the threading guarantee but omits that invoking it dispatches mail and what happens on failure, leaving a meaningful gap for an unannotated, twelve-parameter write operation with no output schema.

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 100%, so all twelve parameters, including the replyAll/cc merge behavior and attachment options, are already documented in the schema. The description adds no parameter meaning beyond that baseline, which is the expected 3 when the schema does the heavy lifting.

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 names a specific verb (Reply) and resource (an existing message) and adds the scoping detail that the reply lands in the existing thread. It does not explicitly contrast with the sibling google_gmail_send or google_gmail_drafts_send, so an agent must infer the boundary from the word 'reply' alone.

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

Usage Guidelines3/5

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

Usage is only implied: 'Reply to an existing message inside its thread' tells the agent the input must already exist, but there is no statement of when to prefer this over composing a new message or saving a draft. No exclusions, prerequisites, or alternatives are given.

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

Deploy Server

Other Tools