Skip to main content
Glama
This connector has been deprecated

Replaced by SuperMailbox.

Duplicate listing. Please use the official SuperMailbox connector.

forward_email

Destructive

Forward a message with an optional note and quote. Original attachments are omitted by default; set includeOriginalAttachments:true to add them. User-selected files can also be attached. 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>",
      "to": "<to>"
    },
    "name": "forward_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toYes
bccNo
textBodyNo
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
includeOriginalAttachmentsNoExplicitly include attachments from the message being forwarded. Requires the mail.attachments.read permission; defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields 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"
      +}
    • addedInput schema / properties / includeOriginalAttachments
      Added value: +{
      +  "description": "Explicitly include attachments from the message being forwarded. Requires the mail.attachments.read permission; defaults to false.",
      +  "type": "boolean"
      +}
  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 declare the generic profile (destructive, open-world, non-idempotent); the description supplies the non-obvious behavior an agent actually needs: attachments are dropped by default, the return shape differs based on whether attachments are present (queued operation vs direct provider result), and an uncertain send must not be retried with a fresh operationId. That is real value beyond the structured fields.

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?

Six short sentences, each carrying distinct operational information, with the attachment-default rule front-loaded right after the purpose. "User-selected files can also be attached" lightly duplicates the attachments parameter's own description and could be folded into the preceding sentence.

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

Completeness5/5

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

For a 10-parameter mutation with no output schema, the definition covers the things an agent cannot infer: default attachment behavior, the dual return modes and how to resolve the async one, and retry safety. Remaining gaps (cc/bcc/senderIdentityId semantics) are conventional email fields.

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 only 40%, and the description only elaborates on includeOriginalAttachments and operationId, both of which the schema already documents. cc, bcc, senderIdentityId, textBody, and accountId are addressed nowhere, so the description does not compensate for the coverage gap.

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 opens with a specific verb and resource ("Forward a message") plus the payload modifiers (optional note and quote), which clearly separates it from send_email and reply_to_email. It never names a sibling or states the condition that selects forwarding over replying, so it stops short of full differentiation.

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 concrete conditional guidance: set includeOriginalAttachments:true to carry the original files, and poll get_mail_action when the call returns a queued operation. It also names the retry rule for operationId. It lacks an explicit statement of when to prefer forwarding over reply_to_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