Skip to main content
Glama

Apumail — Email & SMS for AI Agents

delete_phone_inbox

Destroy a phone number's message history in apumail (CASCADE). The underlying SMSGlobal number stays bought on the account for reuse.

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": {
      "number": "<number>",
      "token": "<token>"
    },
    "name": "delete_phone_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesThe phone token.
numberYesThe phone number in E.164.

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 supplied, the description carries the full burden and does reasonably well: it discloses that the deletion cascades, that it is destructive ("Destroy"), and crucially that the purchased number survives and is reusable. It does not state whether the operation is reversible, what permissions or token scope are required, or what is returned, which are meaningful gaps for an irreversible mutation.

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?

Two tight sentences with the destructive action and its CASCADE nature front-loaded, followed by the non-obvious side effect (number retention). No filler or repetition of the tool name.

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 output schema, the description covers the essential question of what is removed versus what persists. What remains missing is whether the deletion can be undone and what confirmation or response the caller receives.

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 both parameters (token, number in E.164) are already documented in the schema. The description adds no syntax, format, or validation detail beyond that, which is the expected baseline when the schema does the work.

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: "Destroy a phone number's message history in apumail," with CASCADE scope made explicit. It also disambiguates the effect by noting the underlying SMSGlobal number remains on the account, which separates it in spirit from a generic inbox deletion. It stops short of naming the closest sibling (delete_inbox), so an agent must infer the boundary itself.

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 only implied: an agent can reason that this is the tool for clearing a phone's messages while retaining the number. There is no explicit when-to-use or when-not-to-use statement, and no reference to an alternative such as delete_inbox for non-phone inboxes.

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