Skip to main content
Glama

Mailrun Agent Identity

Detach email

detach_identity_email
Destructive

Detach the identity's email: the mailbox is held for up to 24 hours, during which only this identity can re-attach the same address and keep its mail, then torn down; sibling mailboxes on the domain are untouched, and the identity stays as a bare container. Preview first (no token), then execute with the token.

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": {
      "identity_id": "<identity_id>"
    },
    "name": "detach_identity_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
identity_idYesIdentity id from list_identities.
confirmation_tokenNoOmit to receive a preview with an impact summary and a token; pass the token unchanged to execute. Tokens expire after five minutes unused and permit one accepted execution.

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?

Goes well beyond the destructiveHint=true annotation: it discloses a 24-hour retention window, that only this identity can re-attach the address to keep its mail, that the mailbox is then permanently torn down, that sibling mailboxes are unaffected, and that the identity survives as a bare container. This is exactly the consequence-level detail an agent needs before a destructive call.

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?

Two sentences, both front-loaded with the operation and its consequence; the semicolon-chained clauses in sentence one are dense but each carries distinct, load-bearing information. Minor density cost, no 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 destructive, irreversible-but-for-24-hours mutation with no output schema, the description supplies retention timing, reversibility conditions, blast radius, and the required preview/execute sequence. Nothing material is missing for correct invocation.

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 description coverage is 100%, so both identity_id and confirmation_token are already documented, including the preview/execute split and token expiry. The description reinforces the two-step flow but adds no new format or constraint detail 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 ('Detach the identity's email') and immediately scopes what is and is not affected, making it easy to distinguish from attach_identity_email or release_identity without opening the schema.

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 explicit procedural guidance — 'Preview first (no token), then execute with the token' — which tells the agent the required call sequence. It does not name sibling alternatives (e.g. attach_identity_email) or state when detaching is preferable, so it stops short of full when/when-not guidance.

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