Skip to main content
Glama

Delete inbox

domain_inbox_delete
Destructive

Removes an inbox and its mail from a domain.

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": {
      "orgId": "<orgId>",
      "domainId": "<domainId>",
      "agentId": "<agentId>"
    },
    "name": "domain_inbox_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIdYesOrganization ID from org_list.
agentIdYesInbox ID from domain_inbox_list.
domainIdYesDomain ID from domain_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / agentId / description
      Added value: +"Inbox ID from domain_inbox_list."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is covered structurally. The description's real contribution is the cascade note that the inbox's mail is removed along with it, which is genuinely useful context an agent would not get from annotations. It still omits whether the deletion is permanent/irreversible and whether mail is archived or purged.

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?

A single front-loaded sentence with zero waste. It is arguably under-sized for an irreversible destructive operation, but nothing in it is redundant or poorly ordered.

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 three-identifier delete with full schema coverage and no output schema, the description covers what is acted upon and the cascading effect on mail. The remaining gap is confirmation of irreversibility and permission requirements, a modest omission given the annotations already flag destructiveness.

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 description coverage is 100%, with all three identifiers sourced explicitly (orgId from org_list, domainId from domain_list, agentId from domain_inbox_list), so the schema carries the full burden. The description adds no parameter-level meaning, which is acceptable at this coverage level and yields the baseline score.

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 ("Removes") and resource ("an inbox and its mail") with a scope qualifier ("from a domain"), which is enough to separate it from domain_inbox_create and domain_inbox_list. It stops short of explicitly naming which sibling to use instead when the intent is ambiguous.

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?

The destructive intent is implied by "Removes," and the sibling naming convention (create/list) makes the general category inferable. However, there is no explicit when-to-use framing, no mention of prerequisites such as the inbox needing to be empty or the caller needing write permission, and no pointer to alternatives like mail_delete for removing individual messages.

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.