Skip to main content
Glama

workspaces_mailboxes_destroy

Only an archived mailbox can be deleted — archive it first (workspaces_mailboxes_archive_create); otherwise 409 with code: not_archived. Archived mailboxes are deleted automatically 30 days after archiving; this deletes one sooner. Irreversible: replies, bounces and opt-outs sent to this address are no longer read. Messages already sent keep their sender address. A Sellvance-hosted mailbox is removed from the mail provider (no refund).

Method: DELETE /api/v1/workspaces/{workspace_sqid}/mailboxes/{sqid}/

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": {
      "sqid": "<sqid>"
    },
    "name": "workspaces_mailboxes_destroy"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden and does so: irreversibility, the fact inbound replies/bounces/opt-outs stop being read, that already-sent messages retain the address, provider-side removal for hosted mailboxes, and no refund. Error behavior (409 code) is also disclosed, which goes beyond what a bare DELETE statement would convey.

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?

The hardest constraint (archive requirement + 409) is front-loaded, and each sentence carries distinct information. Minor padding remains in the trailing 'Method:' line and the 'Messages already sent keep their sender address' clause, which is useful but secondary.

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 an irreversible destructive operation with no annotations and no output schema, the description covers preconditions, consequences, billing, and error codes. Nothing an agent needs in order to decide whether to invoke it 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 0%, so the description must compensate; the 'Method: DELETE /api/v1/workspaces/{workspace_sqid}/mailboxes/{sqid}/' line does disambiguate that sqid is the mailbox identifier rather than the workspace one. It stops short of stating accepted format or whether a workspace context is required, so it is good but not fully compensatory.

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?

Opens with a precise verb+resource statement ('Only an archived mailbox can be deleted') and names the sibling prerequisite tool workspaces_mailboxes_archive_create, which separates it from the archive/unarchive siblings. An agent can identify the operation and its gating condition 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition (mailbox must be archived), the exact failure path otherwise (409 with code: not_archived), and a routing rule to the alternative (archive first via workspaces_mailboxes_archive_create). It also explains the timing tradeoff versus automatic 30-day deletion, which is genuine when-to-use 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.