Skip to main content
Glama

delete_mailbox

Delete a project's mailbox, permanently removing all messages and webhook subscriptions. Confirmation (confirm=true) is required.

Instructions

Delete the project's mailbox (irreversible — drops all messages and webhook subscriptions). Requires confirm=true. If mailbox_id is omitted, resolves the project's mailbox.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe project ID
mailbox_idNoMailbox to delete — slug or id (mbx_...). If omitted, deletes the project's only mailbox; on a project with more than one mailbox, omitting it returns an ambiguity error naming the slugs.
confirmYesMust be true. Destructive: deleting a mailbox drops all messages and webhook subscriptions and is irreversible.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses irreversibility, dropping all messages and webhook subscriptions, and the confirm required flag. Could mention authorization needs or rate limits, but the key destructive behaviors are well covered.

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?

Two sentences, front-loaded with action and key constraint, no wasted words. Efficient and clear.

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 tool with 3 parameters, full schema coverage, and no output schema, the description provides sufficient context for correct invocation. Could mention expected response format, but not critical given missing output schema.

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 100%, and the description adds extra nuance beyond schema: the ambiguity error when mailbox_id is omitted on projects with multiple mailboxes. This adds value for agent decision-making.

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?

The description clearly states the action (delete) and the object (mailbox), and includes important details about irreversibility and confirmation. It distinguishes itself from sibling mailbox tools like get_mailbox or create_mailbox.

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?

Provides clear usage context: when to use (to delete a mailbox), requirement for confirm=true, and behavior when mailbox_id is omitted. Does not explicitly mention alternatives or when not to use, but the sibling list lacks a similar tool for deletion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kychee-com/run402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server