Skip to main content
Glama
This connector has been deprecated

Replaced by SuperMailbox.

Duplicate listing. Please use the official SuperMailbox connector.

reply_to_email

Destructive

Reply to a message and optionally attach ChatGPT-selected files. Attachments are fetched from temporary OpenAI URLs and sent immediately without persisting their bytes in SuperMailbox. Each is limited to 10 MiB, with 25 MiB total. Supply a stable operationId and reuse it only for retries of this exact reply. An uncertain SMTP attempt is never automatically sent again. Without attachments, returns a queued operation; poll get_mail_action for completion. With attachments, returns the provider result directly. Never retry an uncertain send with a new operationId.

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": {
      "accountId": "<accountId>",
      "messageId": "<messageId>",
      "operationId": "<operationId>",
      "textBody": "<textBody>"
    },
    "name": "reply_to_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlBodyNo
replyAllNo
textBodyYes
accountIdYes
messageIdYesPass the full opaque message ID exactly as returned by search_emails, get_email, or a completed action. Never decode, reconstruct, shorten, or otherwise alter it. After archive_email or move_email completes, use its returned replacement messageId for later message operations.
attachmentsNoOptional user-selected attachments. Up to 20 files are accepted; each is limited to 10 MiB and all files together to 25 MiB.
operationIdYesHigh-entropy stable idempotency key, such as a UUID. Reuse the same value only when retrying that exact send.
senderIdentityIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / attachments
      Added value: +{
      +  "description": "Optional user-selected attachments. Up to 20 files are accepted; each is limited to 10 MiB and all files together to 25 MiB.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "download_url": {
      +        "maxLength": 8192,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "file_id": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "file_name": {
      +        "maxLength": 1024,
      +        "type": "string"
      +      },
      +      "mime_type": {
      +        "maxLength": 256,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "download_url",
      +      "file_id"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say it is a destructive, non-idempotent, open-world write; the description goes well beyond that with attachment handling (fetched from temporary OpenAI URLs, not persisted, 10 MiB each / 25 MiB total), idempotency key semantics, SMTP uncertainty behavior, and two distinct return modes (queued operation vs. direct provider result). This is exactly the operational context an agent needs before a side-effecting send.

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 with the core action and the async/result-shape split, and the safety rules are stated crisply. The idempotency advice is repeated three times in slightly different forms ('Supply a stable operationId...', 'An uncertain SMTP attempt is never automatically sent again', 'Never retry an uncertain send with a new operationId'), which is mild redundancy.

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?

For an 8-parameter destructive write with no output schema, it covers the highest-risk surfaces: idempotency, attachment limits, and how completion is observed via get_mail_action. The gaps are secondary (sender identity selection, replyAll semantics, text vs. html body precedence).

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 coverage is only 38%, and the description compensates for the two highest-risk parameters: attachment size/count limits and the meaning of operationId. It says nothing about replyAll, htmlBody, senderIdentityId, or accountId, leaving several parameters with no meaning beyond their names.

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?

States a specific verb and resource ('Reply to a message') plus the optional attachment capability, which distinguishes it from send_email/forward_email by the reply semantics. It doesn't explicitly name those siblings as alternatives, but the action is unambiguous.

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 explicit retry rules ('reuse it only for retries of this exact reply', 'Never retry an uncertain send with a new operationId') and routes the agent to get_mail_action for polling when no attachments are present. It lacks an explicit statement of when to prefer this over send_email or forward_email.

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.

Resources