Skip to main content
Glama

workspaces_mailboxes_bulk_delete_create

Bulk delete archived mailboxes.

Mailboxes that are not archived are skipped and listed in skipped_not_archived. Managed (OpenSRS) mailboxes still on the provider are torn down first; provider errors alert admins and never block the local delete.

Method: POST /api/v1/workspaces/{workspace_sqid}/mailboxes/bulk-delete/

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": "workspaces_mailboxes_bulk_delete_create"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that non-archived mailboxes are skipped and reported in `skipped_not_archived`, that managed OpenSRS mailboxes are torn down at the provider first, and that provider errors alert admins without blocking the local delete. It does not explicitly state that the local delete is permanent/irreversible, which is the main missing disclosure for a destructive operation.

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 action and scope, followed by the two most operationally important caveats (skip list, provider teardown). The trailing 'Method:' line is boilerplate but cheap and informative; nothing is redundant.

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 destructive bulk operation with no annotations and no output schema, the description covers the key behavioral edge cases: skip handling, provider-side teardown order, and non-blocking error handling. Remaining gaps are permanence of the delete and permission requirements, which matter for an irreversible operation.

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?

The input schema declares zero properties, so baseline is 4. The description adds workspace scoping via the POST path containing {workspace_sqid}, which is not present in the schema. It does not clarify whether the operation targets all archived mailboxes in the workspace or a caller-specified subset, leaving the selection semantics ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with a scope qualifier: 'Bulk delete archived mailboxes'. The archived-only constraint implicitly distinguishes it from bulk_unarchive and generic mailbox deletion siblings. It stops short of explicitly naming which sibling to use for non-archived or single-mailbox deletion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the 'archived' qualifier and the skip behavior for non-archived mailboxes, so an agent can infer it should not be used on unarchived mailboxes. There is no explicit when-to-use statement, no mention of the single-mailbox destroy alternative, and no prerequisites such as required permissions.

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.