Skip to main content
Glama

Delete an alert

delete_alert
DestructiveIdempotent

Permanently remove an alert from the user's list. PREFER pause_alert when the user may want it back — pausing keeps the configuration and is reversible.

Deleting is nonetheless necessary, not just tidy: a user may hold at most 100 alerts INCLUDING paused and expired ones, and once that cap is reached nothing new can be created until some are deleted. Deleting is PERMANENT and takes the alert's scan history and accumulated odds with it; a recreated alert starts from zero. Ask the account holder which alerts they mean before deleting any you did not just create for them in this conversation — they may hold alerts they never mentioned, and "delete my alerts" is not an instruction to empty the list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alertYesThe alert as the account holder would recognise it, copied EXACTLY from this alert's `label` in list_my_alerts or get_alert. Their client shows the arguments of this call for approval, so without it they are asked to confirm a bare id. Checked against the record: a label naming something else is refused.
alert_idYesThe alert to delete.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletedYes
alert_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the danger profile is partly covered structurally. The description still earns credit by disclosing consequences annotations cannot express: deletion is permanent and destroys scan history and accumulated odds, and a recreated alert restarts from zero, plus the 100-alert cap mechanics. It does not add much beyond that, and with rich annotations present a 3 is appropriate.

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 the preferred alternative before the justification, so an agent gets the decision rule first. The single dense paragraph is longer than typical but nearly every clause carries operational weight; it could be split for scannability but there is little true filler.

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

Completeness5/5

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

For a destructive, irreversible tool the description covers reversibility, the alternative, the capacity constraint that forces deletion, and the confirmation obligation. With an output schema present it need not describe return values, and annotations plus the 100%-covered schema carry the rest.

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% and the schema already explains both fields in detail, including the exact-label requirement and why the label is needed for client-side approval. The description adds no parameter-level syntax or format beyond that, so the high-coverage baseline of 3 applies; its 'ask the account holder which alerts they mean' note is guidance, not parameter semantics.

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 and resource ('Permanently remove an alert from the user's list') and immediately names the sibling it must not be confused with, pause_alert. An agent can separate this from pause_alert, update_alert and delete_itinerary without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit alternative and the condition that selects it ('PREFER pause_alert when the user may want it back'), then states when deletion is genuinely required (the 100-alert cap including paused and expired). It also sets a procedural precondition: confirm which alerts the account holder means before deleting any the agent did not just create.

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