Skip to main content
Glama

Apumail — Email & SMS for AI Agents

delete_inbox

Permanently delete an inbox and all its mails. Idempotent — succeeds even if the inbox was already reaped. Use this when your agent is done with a one-shot signup flow and wants to release the resource (without it, the inbox auto-expires after 24h of inactivity anyway).

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": {
      "address": "<address>",
      "token": "<token>"
    },
    "name": "delete_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesThe inbox token.
addressYesThe inbox address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral disclosure burden and does well: it states the deletion is permanent, removes all mails, is idempotent, and succeeds even if the inbox was already reaped. It does not cover authorization requirements, invalid token/address behavior, or the response shape, which prevents a 5.

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?

The description is three tight sentences with no wasted wording. The destructive action is front-loaded, followed by idempotency and usage context, making it easy to scan and act on.

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 two-parameter destructive tool with no annotations or output schema, the description covers the key agent needs: what is deleted, permanence, idempotency, and when to use it. Minor gaps remain around permissions and error behavior, but the core operational context is complete.

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%, so the schema already documents both required parameters. The description adds no parameter-specific meaning beyond the schema's 'inbox token' and 'inbox address'. The baseline of 3 is appropriate when the schema fully handles parameter semantics.

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?

The description states a specific verb and resource: 'Permanently delete an inbox and all its mails.' This is clear and unambiguous about what is being destroyed. It does not explicitly distinguish this email inbox deletion from the sibling `delete_phone_inbox`, so it falls short of the top score for sibling differentiation.

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?

It gives a concrete usage context: use it when the agent is done with a one-shot signup flow and wants to release the resource. It also notes that the inbox auto-expires after 24h anyway, which effectively signals that deletion is optional. It does not name alternative tools or explicit when-not conditions, so it is strong but not fully exhaustive.

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.

Resources