Skip to main content
Glama
Mailbuttons MCP Server

Mailbuttons MCP Server

Official
by mailbuttons

Send an email (governed)

mailbuttons_send_email
Destructive

Sends or replies to email from a scoped inbox under enforced send policy; external recipients on sandbox tokens become drafts and disallowed recipients are blocked as governed outcomes.

Instructions

Send or reply from a scoped inbox, subject to send policy. Sandbox tokens can never deliver to external recipients — such sends return draft_pending_approval; disallowed recipients return blocked with the matched rule. Both are EXPECTED governed outcomes, not errors. Requires the send_internal capability.

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": {
      "inbox_id": "<inbox_id>",
      "to": "<to>",
      "subject": "<subject>"
    },
    "name": "mailbuttons_send_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient addresses. External recipients on a sandbox token become drafts.
htmlNoOptional HTML body.
modeNo"send" (default) attempts delivery; "draft" always parks for approval.
textNoPlain-text body.
subjectYesEmail subject.
inbox_idYesSending inbox (mailbox) id. Must be in scope for the token.
thread_idNoIf set, send as a threaded reply rather than a fresh message.

Output Schema

NameRequiredDescriptionDefault
policyYes
reasonNo
statusYesGoverned outcome. blocked/draft_pending_approval are NORMAL, not errors.
message_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only flag it as destructive, non-idempotent and open-world; the description adds the governing model on top: sandbox tokens cannot reach external recipients, refusal is returned as a structured `blocked` result with the matched rule, and both outcomes are explicitly declared non-errors. It also discloses the required `send_internal` capability, which is an auth prerequisite absent from the schema.

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?

Three sentences, front-loaded with purpose, then failure semantics, then the capability prerequisite. Every sentence carries information an agent needs; nothing is repeated from schema or annotations.

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?

Given a policy-governed send with an output schema, the definition covers the outcomes an agent must interpret rather than treat as failures, which is the main completeness risk here. Minor omissions remain around irreversibility of delivered mail and throttling, but the core calling context is present.

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 every parameter is already documented, including the external-recipient note on `to` and the `mode` enum. The description adds only indirect hints ('scoped inbox' for inbox_id, 'reply' for thread_id) and no syntax or format detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Send or reply from a scoped inbox') plus the governing constraint ('subject to send policy'). No sibling tool sends mail, so the scope is unambiguous without opening any schema.

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?

Explains the conditions under which a send succeeds, parks as `draft_pending_approval`, or is `blocked`, which tells the agent what to expect from this path. It stops short of naming alternatives, e.g. inspecting parked output with mailbuttons_list_drafts or mailbuttons_get_draft, or explicitly steering to `mode: draft` when approval is desired.

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