Skip to main content
Glama
Mailbuttons MCP Server

Mailbuttons MCP Server

Official
by mailbuttons

Run the sandbox send/receive/parse self-test

mailbuttons_run_selftest

Runs an internal sandbox email loopback self-test by sending a test message, polling for arrival, then reading and parsing it to report pass/fail per stage; never sends externally.

Instructions

Build-time, sandbox-only. Sends an INTERNAL test message, polls for it to arrive, then reads and parses it, reporting pass/fail per stage. Needs a live backend to go green; with none it reports backend_reachable:false and skips the later stages rather than throwing. Never sends externally.

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>"
    },
    "name": "mailbuttons_run_selftest"
  }
}

Input Schema

NameRequiredDescriptionDefault
inbox_idYesThe sandbox inbox id to run the loop against.
timeout_msNoHow long to poll for the test message to arrive. Default 8000ms.
self_addressNoThe inbox's own address, used as the internal recipient for the loopback send. If omitted, the send stage is skipped (the loop can't address itself).

Output Schema

NameRequiredDescriptionDefault
okYesTrue only if every non-skipped stage passed.
stagesYes
inbox_idYes
backend_reachableYesFalse means the backend could not be contacted at all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the run mutates state by sending a message (consistent with readOnlyHint=false, idempotentHint=false), that failures degrade gracefully into backend_reachable:false with later stages skipped rather than throwing, and that the openWorld backend dependency is required for a pass. That is exactly the operational context the annotations cannot express.

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 scope constraint is front-loaded in the first two words, followed by the execution sequence and then the failure mode. Every sentence carries distinct information; nothing is repeated from the schema or annotations.

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 three-parameter diagnostic tool with an output schema, the description covers prerequisite, side effects, ordering, and degraded-mode return shape. An agent knows what it will get and when the result is meaningless.

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 all three parameters are already documented, including the self_address skip behavior and the timeout default. The description reinforces the loopback/polling concepts but adds no syntax or semantics beyond the schema, which is the expected baseline.

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 action chain (send internal test message, poll, read, parse, report pass/fail per stage) on a specific resource (the sandbox loopback). The phrases 'INTERNAL test message' and 'Never sends externally' distinguish it from mailbuttons_send_email without needing to inspect that sibling's 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?

'Build-time, sandbox-only' is an explicit use-context constraint, and 'Needs a live backend to go green' tells the agent the prerequisite for a meaningful run. It stops short of naming an alternative for production sends, so guidance is clear but not fully routed.

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