Skip to main content
Glama

Stop forwarding an address

remove_email_forwarding
Destructive

Stops forwarding one address at a site's domain, as Remove in the domain's settings does; email sent to it is no longer passed on within a few minutes. Removing the last address switches forwarding at that domain off. Only owners and admins.

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>",
      "reason": "<reason>"
    },
    "name": "remove_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 stop forwarding: the part before the @ (info for info@acme.com), or * for every address no other line names.
project_idYesThe site (list_projects gives ids).
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
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds behavior beyond them: propagation timing ('no longer passed on within a few minutes') and a cascade side effect ('Removing the last address switches forwarding at that domain off'). Those are exactly the consequences an agent needs before calling a destructive tool, plus the role requirement.

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-loaded with the action and free of filler; the semicolon-heavy single sentence packs timing and cascade effects efficiently. Slightly dense for one sentence, but every clause earns its place.

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 destructive 5-parameter tool with no output schema, the description covers what is removed, how quickly it takes effect, the domain-level side effect, and required role. The remaining details (parameter formats) are fully handled by the schema.

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 each of the five parameters is already documented, making 3 the baseline. The description adds only implicit context ('one address at a site's domain') and in fact understates the schema, where mailbox='*' removes every address no other line names.

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 with scope: 'Stops forwarding one address at a site's domain.' That distinguishes it cleanly from the add/change/list_email_forwarding siblings without needing their schemas.

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?

Maps the tool to a concrete UI action ('as Remove in the domain's settings does') and states the access gate ('Only owners and admins'), which tells the agent when it will succeed. It stops short of naming an explicit alternative for modifying rather than removing a forward, leaving that inference to the agent.

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