Skip to main content
Glama

Apumail — Email & SMS for AI Agents

delete_webhook

Unregister a webhook by id (from register_webhook or list_webhooks).

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>",
      "webhook_id": "<webhook_id>"
    },
    "name": "delete_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesYour inbox token.
addressYesYour inbox address.
webhook_idYesThe webhook id to remove.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the entire behavioral burden, and it discloses almost nothing. It does not say whether removal is permanent/irreversible, whether deliveries stop immediately, what happens to pending or in-flight events, or whether an error is returned for an unknown id — all critical for a destructive operation. The auth shape is only inferable from the schema's token/address fields, not from the description.

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?

One lean, front-loaded sentence with zero filler — the verb and target come first and the id-provenance note follows naturally. It is arguably too terse for an irreversible operation, which keeps it from a 5, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive, credential-requiring tool with no annotations and no output schema, so the description is the only place an agent could learn about irreversibility, side effects, or failure modes — and it says none of that. Only the id's origin is covered; the consequences of calling it are not.

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 all three parameters are already documented (webhook_id is 'The webhook id to remove', plus inbox token/address). The description adds only the provenance of webhook_id, which is a modest value-add over the schema; baseline 3 applies.

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?

States a specific verb ('Unregister') and resource ('a webhook by id'), and names the sibling tools whose output supplies that id (register_webhook, list_webhooks). An agent can immediately distinguish this from the read/create webhook siblings.

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 parenthetical tells the agent where to obtain webhook_id, which is a real workflow hint, so usage is implied rather than left entirely unstated. However there is no explicit when-to-use/when-not guidance, no mention of what to do if the webhook is already gone, and no pointer to any alternative for disabling rather than unregistering.

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