Skip to main content
Glama

Send shared mailbox email

send_shared_mailbox_email
Destructive

Sends from the firm's configured shared mailbox. Optional attachments (PDF/images) or draft_id. A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "send_shared_mailbox_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoCC email(s), comma-separated.
toNoRecipient email(s), comma-separated. Required unless draft_id is set.
bccNoBCC email(s), comma-separated.
bodyNoEmail body. Required unless draft_id is set.
confirmNofalse or omitted returns a preview; true applies the change identified by preview_id.
is_htmlNoBody is HTML. Defaults to plain text.
subjectNoSubject line. Required unless draft_id is set.
draft_idNoGmail draft id from draft_shared_mailbox_email. Sends that draft. Attachments are appended first when given.
thread_idNoGmail thread id from search_shared_mailbox or get_shared_mailbox_thread.
message_idNoGmail message id from search_shared_mailbox or get_shared_mailbox_thread.
preview_idNopreview_id is the id returned by this tool's preview call. Required when confirm is true.
attachmentsNoFiles to attach (max 10, 20 MB total). Each item is filename + mime_type + content_base64, or a public https url. PDF, PNG, JPEG, GIF, WebP.
idempotency_keyNoOptional. A retry with the same key returns the first result without a second write. Defaults to preview_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / attachments
      Added value: +{
      +  "description": "Files to attach (max 10, 20 MB total). Each item is filename + mime_type + content_base64, or a public https url. PDF, PNG, JPEG, GIF, WebP.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "content_base64": {
      +        "description": "File bytes, base64. Alternative to url.",
      +        "type": "string"
      +      },
      +      "filename": {
      +        "description": "File name. Required with content_base64; taken from the url path when omitted.",
      +        "type": "string"
      +      },
      +      "mime_type": {
      +        "description": "MIME type, e.g. application/pdf or image/jpeg. Taken from the url response when omitted.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Public https:// link. Alternative to content_base64.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / draft_id / description
      Previous value: -"Gmail draft id from draft_shared_mailbox_email. Sends that draft."New value: +"Gmail draft id from draft_shared_mailbox_email. Sends that draft. Attachments are appended first when given."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare destructive, open-world, and non-idempotent behavior. The description adds important process context: a first call previews, a second call with confirm true and preview_id applies the change, and sign-in is required. It omits retry/idempotency behavior, but otherwise adds meaningful behavioral detail beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, front-loaded, and every sentence carries useful information: mailbox scope, attachment/draft option, two-step confirmation, and authentication. There is no redundant wording.

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 a complex 13-parameter destructive send tool with no output schema, the description covers the essential preview/confirm flow and authentication requirement. It leaves some details such as idempotency_key retry semantics and attachment limits to the schema, which is acceptable given full schema coverage.

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 100%, so the schema already documents all parameters thoroughly. The description adds only lightweight references to attachments, draft_id, and preview/confirm, which mostly restate what is already described in the schema.

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 clearly states that this tool sends email from the firm's configured shared mailbox. It distinguishes the operation from drafting via the draft_id reference, though it does not explicitly name draft_shared_mailbox_email as the sibling alternative.

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?

The preview/confirm workflow is explained, but the description does not explicitly say when to use this tool versus draft_shared_mailbox_email or reply tools. The draft_id reference implies a drafting alternative but leaves the routing decision to the schema.

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