Skip to main content
Glama

Revoke mailbox access

revoke_mailbox_access
Destructive

Take one mailbox out of this app's own mail access; calls to it are refused at once. The app's last mailbox is removed by revoking the app (Settings → Connected apps). Audited.

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": {
      "mailbox_id": "<mailbox_id>"
    },
    "name": "revoke_mailbox_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
mailbox_idYesMailbox id from list_mailboxes

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 declare destructiveHint=true and openWorldHint=false, so the safety profile is covered. The description adds non-obvious behavior beyond that: revocation takes effect immediately ('refused at once'), there is a special case for the final mailbox, and the action is audited.

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, zero filler, with the primary effect front-loaded before the edge case and audit note.

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 single-parameter destructive tool with no output schema, the description covers effect, edge case, and auditability, which is close to everything an agent needs. Only the missing explicit pointer to grant_mailbox_access for re-granting leaves a minor gap.

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% with a well-documented mailbox_id (uuid format plus 'from list_mailboxes'). The description adds no syntax, format, or sourcing detail beyond the schema, so the 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 precise verb+resource ('Take one mailbox out of this app's own mail access') plus the immediate consequence ('calls to it are refused at once'). This is unambiguously distinct from its inverse sibling grant_mailbox_access and from the delete_* tools.

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?

Explains the context for use and, importantly, an exclusion: the app's last mailbox can't be revoked this way and instead requires revoking the app (Settings → Connected apps). That edge-case routing is real guidance, though it never names grant_mailbox_access as the counterpart 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.