Skip to main content
Glama

Change a forwarded address

change_email_forwarding
DestructiveIdempotent

Changes one forwarded address at a site's domain: the inbox its email goes to, or the address itself (new_mailbox), as Change 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": "change_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 change, as list_email_forwarding lists it: 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.
new_mailboxNoIts new address; omit to keep it: the part before the @ (info for info@acme.com), or * for every address no other line names.
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, openWorldHint=true and readOnlyHint=false, so the mutation profile is known. The description goes beyond them by disclosing the asynchronous verification step (an email from Cloudflare, nothing reaches the new inbox until 'Verify email address'), the returned field confirmationEmailSentTo, and the instruction to notify the recipient. It still doesn't state what happens to the previous destination when replaced.

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?

Front-loads the purpose in the first clause, then adds permissions, confirmation behavior, and the recipient notification as short trailing sentences. Dense but every sentence carries operational information; the parenthetical about Cloudflare is the only mildly expendable bit.

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 destructive, multi-parameter mutation with no output schema, the description covers permissions, the out-of-band confirmation requirement, and the one return value that matters (confirmationEmailSentTo). The main omission is the fate of the previous destination address, which an agent arguably needs before overwriting it.

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 every parameter is already documented in the input schema. The description clarifies the mailbox-vs-new_mailbox relationship (which one identifies the entry, which one optionally renames it) and links destination to the email flow, but adds little syntax or constraint detail beyond the schema. Baseline 3 is appropriate.

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 concrete verb and resource ('Changes one forwarded address at a site's domain') and spells out the two possible edits — the destination inbox or the address itself via new_mailbox. It maps the operation to a familiar equivalent ('as Change in the domain's settings does'). Sibling differentiation is only implicit in the verb 'Changes' versus add/remove/list, so it falls just short of a 5.

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 a real prerequisite ('Only owners and admins') and describes the confirmation workflow that must follow, which implicitly tells the agent this is the tool for altering an existing entry rather than creating one. It does not explicitly say when to reach for add_email_forwarding or remove_email_forwarding instead, so the alternatives remain inferred from the verb.

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