Skip to main content
Glama

Forward an address at a domain

add_email_forwarding

Forwards email sent to one address at a site's domain (or every address, with *) to an inbox the person already reads, as the Add button in the domain's settings does. Only owners and admins. A new inbox gets an email from Cloudflare (the service that carries the mail) with a link to confirm it, and nothing reaches it until someone there chooses Verify email address; the answer names that inbox (confirmationEmailSentTo). Tell the person who will get that email.

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": {
      "project_id": "<project_id>",
      "domain": "<domain>",
      "mailbox": "<mailbox>",
      "destination": "<destination>",
      "reason": "<reason>"
    },
    "name": "add_email_forwarding"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain, as list_email_forwarding lists it, such as acme.com.
reasonYesWhy, in a sentence: kept in the workspace's activity.
mailboxYesThe address to forward: the part before the @ (info for info@acme.com), or * for every address no other line names.
project_idYesThe site (list_projects gives ids).
destinationYesThe inbox the mail goes to, outside the domain, such as you@gmail.com.
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), it discloses the real side effect: a confirmation email is sent to the new inbox and nothing is delivered until someone verifies, and it names the response field confirmationEmailSentTo so the agent can report the outcome. What's missing is any statement about failure modes or what happens if the destination is already verified, but the gating behavior is genuinely additive.

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?

The purpose and scope come first, followed by the consequence chain and the closing instruction. The long middle sentence carries multiple clauses and could be split, but no sentence is filler.

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 non-destructive mutation with six parameters, no output schema, and requirements already in the schema, it covers what the agent needs: who may call it, what it creates, the verification gate, and the field to report back.

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 coverage is 100% and already documents every field, so the description's job is only to add meaning. It does add the '*' wildcard semantics for mailbox and the 'outside the domain' constraint on destination, though most of that is repeated from 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?

The description states a specific verb and resource (forwards email sent to one address at a site's domain to an inbox) and defines the wildcard scope for every address. Framing it as 'the Add button in the domain's settings' makes the create-vs-modify distinction clear next to the change and remove siblings.

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?

It gives the permission precondition ('Only owners and admins') and a concrete operational instruction ('Tell the person who will get that email'), plus the verification prerequisite. It never explicitly says when to choose change_email_forwarding instead, so the when-not side is implied by the 'Add button' framing rather than stated.

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