Skip to main content
Glama

delete_route

DestructiveIdempotent

Stops routing one event type, such as 'down' or 'recovery', from a monitor to any destination. Use it to unroute alerts while keeping all other event types' routing unchanged.

Instructions

Requires an API key with the write scope or higher. Stop routing ONE event type of a monitor to any destination: its alerts for that event go nowhere afterwards. Every other event type's routing on the monitor is left exactly as it was. To drop one destination but keep the rest for the same event type, call get_monitor and then set_route with the remaining ids instead. An event type with no routing answers "route not found".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_typeYesThe event type to unroute: down, recovery, fail, every-run, success, started, blocked or note.
monitor_idYesMonitor (check) UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.6

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already indicate destructive and idempotent behavior, but the description adds meaningful context: required auth scope, scoping to a single event type, preservation of other event routing, and the error response for unconfigured event types. No contradiction with annotations.

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?

Four focused sentences with no filler. It front-loads the auth requirement and core behavior, then provides the alternative and error condition. Every sentence adds value.

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 two-parameter destructive tool with no output schema, the description covers auth, exact effect, non-effect on other event types, alternative usage, and error behavior. Nothing essential is missing for correct invocation.

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 both parameters already documented and event_type constrained by an enum. The description does not add parameter-specific detail beyond what the schema provides, so the baseline score of 3 is appropriate.

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: 'Stop routing ONE event type of a monitor to any destination.' It clearly defines scope and consequence, and is distinguishable from siblings like set_route and delete_destination.

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?

Explicitly gives the alternative workflow: 'To drop one destination but keep the rest for the same event type, call get_monitor and then set_route.' It also mentions the required API key scope and the 'route not found' error condition, leaving little ambiguity about when to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.