Skip to main content
Glama

Replace Inbound Email Address

inbound_email.regenerate
Destructive

Replace a sheet's inbound email address with a new random one, e.g. when the old one gets spam. The old address stops working. Confirm with the user before calling it.

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": {
      "sheetId": "<sheetId>"
    },
    "name": "inbound_email.regenerate"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetIdYesThe sheet whose inbound address is replaced

Output Schema

NameRequiredDescriptionDefault
toYes
fromYes
noteYes
sheetIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is partly covered; the description still adds real value by stating the consequence ("The old address stops working") and the randomness of the replacement, which explains the non-idempotent behavior. The user-confirmation requirement is workflow context the annotations do not carry.

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?

Three short sentences, front-loaded with the action, then the consequence, then the caution. Nothing is redundant and no sentence could be dropped without losing information.

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?

An output schema exists, so return values need no explanation, and the description covers the mutation's effect and its prerequisite. It leaves minor gaps, such as whether any other sheet settings or existing mail routing are affected, but it is adequate for a single-parameter destructive action.

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?

With one parameter at 100% schema description coverage, the schema already fully documents sheetId, and the description only restates that a sheet is involved. It adds no format, constraint, or edge-case meaning beyond the schema, so baseline 3 applies.

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 ("Replace a sheet's inbound email address") plus the mechanism ("with a new random one"), which cleanly separates it from a rename-style sibling by making clear the value is regenerated rather than chosen.

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 concrete triggering condition ("when the old one gets spam") and a procedural prerequisite ("Confirm with the user before calling it"), so the agent knows the situation this tool is for. It stops short of naming when-not-to-use or an explicit alternative such as a rename operation.

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