Skip to main content
Glama

Rotate the inbound email secret

colliedesk_email_secret_rotate
Destructive

Give an email channel a new inbound secret, for example after the old one leaked; the old one stops working at once, and that cannot be undone. Mail forwarded with the new one arrives on that channel. The new secret is in the answer, shown once: pass it only to the person who updates the mail forwarder, and never write it in a conversation, note or reply. A workspace may have several email channels: give channel_id for one of them, or leave it out for the default one (is_default).

Needs: channels:manage_credentials.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "colliedesk_email_secret_rotate"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idNoOne email channel of several, from colliedesk_channels_list. Leave out for the default one (is_default in colliedesk_channels_list).

Output Schema

NameRequiredDescriptionDefault
nextYes
inbound_secretYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the critical consequences: the old secret stops working immediately and the change is irreversible, the new secret is returned once only, and the required permission is channels:manage_credentials. It also adds handling instructions (pass only to the forwarder owner, never store in conversation/note/reply), which materially affects agent behavior.

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 effect and irreversibility, then the return value, then channel selection, then permissions. The secrecy-handling sentence is long but operationally important; overall it is tight for the risk level, with only mild redundancy in the 'shown once' framing.

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?

An output schema exists, yet the description still tells the agent the new secret appears in the response and must not be echoed. Combined with permission requirements, irreversibility, and default-channel behavior, nothing essential for correct invocation is missing.

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 already 100%, and the description still adds meaning: channel_id selects among multiple channels, omitting it targets the is_default channel, and the ID comes from colliedesk_channels_list. That is real selection guidance beyond the schema's regex and field description.

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: giving an email channel a new inbound secret. The phrase 'inbound secret' plus 'rotate' cleanly separates it from sibling tools like channel_update or channel_disconnect, so an agent can pick it 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 a concrete trigger ('for example after the old one leaked') and explains channel selection: pass channel_id, or omit it to target the default channel. It does not explicitly say when to prefer this over channel_update, but the rotation context is unambiguous.

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