Skip to main content
Glama

Apumail — Email & SMS for AI Agents

set_forwarding

Auto-forward every inbound mail at your inbox to ONE external email address. Available on paid / custom-domain inboxes only (not free throwaway inboxes). The destination must CONFIRM a 6-digit code we email it before any mail flows — call verify_forwarding with that code. Forwards go out From forward@apumail.com with Reply-To set to the original sender; scored-spam is not forwarded.

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": {
      "address": "<address>",
      "token": "<token>",
      "to": "<to>"
    },
    "name": "set_forwarding"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesExternal destination email (cannot be an @apumail.com address). A confirmation code is emailed here.
tokenYesYour inbox token.
addressYesYour inbox address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does substantial work: eligibility gating, the mandatory two-step confirmation flow, the From address (forward@apumail.com), the Reply-To behavior, and the exclusion of scored spam. It omits what happens to an existing forwarding rule when this is called again, and whether changes are reversible.

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?

Four tight sentences, each adding a distinct operational fact — scope, eligibility, confirmation requirement, and delivery headers. The most consequential constraints (one address, paid-only) are front-loaded with no filler.

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 mutation tool with no annotations and no output schema, the description covers eligibility, the blocking confirmation step, and downstream message behavior, which is what an agent needs to avoid a failed call. It stops short of describing the immediate response or the effect of re-invoking on an already-configured inbox.

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% and each parameter is already documented, including the constraint that the destination cannot be an @apumail.com address. The description restates the external-destination rule and adds that a confirmation code is emailed to it, but contributes little beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource with explicit scope: forward EVERY inbound mail at the inbox to ONE external address. The word 'every' plus 'ONE' distinguishes it from a single-message forward tool, though the sibling forward_mail is never named.

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 clear preconditions (paid / custom-domain inboxes only) and an explicit required follow-up step: the destination must confirm a 6-digit code via verify_forwarding. It does not explicitly say when to prefer forward_mail or disable_forwarding instead, but the setup-vs-per-message distinction is implied by 'every inbound mail'.

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