Skip to main content
Glama
This connector has been deprecated

Replaced by SuperMailbox.

Duplicate listing. Please use the official SuperMailbox connector.

send_email

Destructive

Send email using the selected mailbox. Optional ChatGPT-selected attachments are downloaded from temporary OpenAI URLs and sent immediately; SuperMailbox does not persist their bytes. Each attachment is limited to 10 MiB, with 25 MiB total. Supply a stable operationId and reuse it for retries of this exact message; reusing it with different content is rejected. 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>",
      "to": "<to>",
      "subject": "<subject>",
      "operationId": "<operationId>"
    },
    "name": "send_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toYes
bccNo
subjectYes
htmlBodyNo
textBodyNo
accountIdYes
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.3/5.0
Behavior5/5

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

Goes far beyond the annotations: attachment bytes are transient, fetched from temporary OpenAI URLs and not persisted; per-file (10 MiB) and aggregate (25 MiB) caps; operationId reuse with different content is rejected; an uncertain SMTP attempt is never auto-retried; and the return shape differs depending on attachment presence. The idempotentHint=false annotation is not contradicted — the description explains that deduplication is supplied by the caller's key rather than being intrinsic, which is exactly the nuance an agent needs before retrying a destructive 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?

Purpose is front-loaded and every sentence carries real information about limits, returns, or retry safety. It is slightly redundant at the tail, stating both "an uncertain SMTP attempt is never automatically sent again" and "Never retry an uncertain send with a new operationId," which could be merged into one directive.

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, no-output-schema, destructive, open-world tool, this is essentially complete: return values for both code paths, polling target, size limits, idempotency contract, and the failure-mode rule are all present. The only residual gap is senderIdentityId and accountId selection, which is a minor omission against an otherwise thorough definition.

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 description coverage is only 20%, so the description must carry weight, and it does for the two hardest parameters: attachments (source, limits, up-to-20 cap) and operationId (stable, high-entropy, reject-on-mismatch semantics). The costs are accountId and senderIdentityId, which are undocumented in both the schema and the description, leaving the agent to guess which identity is used when senderIdentityId is omitted.

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?

Opens with a specific verb and resource ("Send email using the selected mailbox") and immediately adds the distinguishing trait of optional transient attachments. It never explicitly contrasts itself with reply_to_email or forward_email, but the name plus the attachment/operationId framing make the scope 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 concrete operational routing: without attachments poll get_mail_action for completion, with attachments take the provider result directly, and retries must reuse the same operationId rather than minting a new one. What is missing is any statement about when to prefer this over sibling senders like reply_to_email or forward_email, or prerequisites such as which account must be selected.

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