Skip to main content
Glama

Cooper Email

Delete an inbox

cooper_delete_inbox
DestructiveIdempotent

Use this when an inbox should be removed so its slot is free on the plan and on a workspace inbox quota. Requires auth. Deletes that inbox and its messages. Inputs: inbox_id (required; inbox id, username, or email). Returns {id, deleted:true}. An approval inbox returns HTTP 202 and stays until a verified owner confirms the emailed link. Recreating that username on the same account stays in approval mode. Only the account that owns the inbox can delete it. Another account's inbox returns inbox_not_found. The saved owner mail does not include the confirm token, and an API key cannot submit that link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inbox_idYesInbox id (inb_…), username, or full email address owned by this key

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: describes the approval-inbox 202 flow, the verified-owner confirmation requirement, the sticky approval mode on recreation, cross-account inbox_not_found behavior, and the API-key limitation. These are exactly the edge cases an agent needs before calling a destructive tool.

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 'use this when' trigger, then effects, then the approval-mode caveat. Dense and information-rich, though several clauses about the confirm token and mail flow could be tightened without losing meaning.

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, open-world, non-idempotent-looking tool with no output schema, the description covers auth, side effects, the 202 approval path, error semantics, and return shape. An agent has everything needed to invoke correctly and interpret results.

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%, so baseline is 3. The description reiterates that inbox_id accepts id, username, or email, matching the schema but reinforcing it inline. Marginal added value, but accurate and consistent with the schema.

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?

Clear verb+resource (delete an inbox) with the secondary effect (frees slot on plan and workspace quota) stated up front. Distinguishes from siblings like cooper_delete_workspace and cooper_delete_thread by naming the specific resource and its side effects.

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?

States the trigger condition (inbox should be removed, freeing quota) and starts with 'Use this when,' which is explicit usage guidance. It doesn't name alternative tools or compare against cooper_update_inbox, but the condition is clear enough to select this tool.

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.