Skip to main content
Glama

Delete a monitor

delete_monitor
DestructiveIdempotent

Delete a monitor by ID with its check history, its status page components, and the incidents and maintenance windows of this monitor only, the ones shared with other monitors are kept. This cannot be undone, and triggers the uptime.monitor.deleted alert rules.

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": {
      "project_id": "<project_id>",
      "monitor_id": "<monitor_id>"
    },
    "name": "delete_monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
monitor_idYesID of the monitor to delete
project_idYesID of the project to act on, see whoami

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?

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description still adds real value beyond them: irreversibility ('This cannot be undone'), the precise cascade boundary, the retention of shared incidents/windows, and the `uptime.monitor.deleted` alert rule trigger as a side effect. It stops short of permission requirements or a return/error description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything stated is load-bearing and the irreversible warning is front-loaded after the core action. But the sentence is a run-on with an awkward comma splice ('...of this monitor only, the ones shared with other monitors are kept'), which forces a second read of the retention rule.

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 fully covered schema and rich annotations, the description supplies the two things annotations cannot: the cascade boundary and the downstream alerting side effect. Only permission gating and post-delete response behavior are left unstated, which are minor here.

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 coverage is 100%, with both monitor_id and project_id documented in the schema itself. The description only restates 'by ID' and says nothing about project_id or cross-project lookup behavior, so it adds little beyond the structured fields and the 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?

The description opens with a specific verb and resource ('Delete a monitor by ID') and immediately scopes the blast radius to check history, status page components, and this monitor's incidents and maintenance windows. That scope detail distinguishes it from siblings like delete_project or delete_status_page, which cascade differently.

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?

It clarifies what is removed versus retained ('the ones shared with other monitors are kept'), which implicitly supports a keep-vs-delete decision. However, it never names an alternative path such as pause_monitor for temporary stoppage, nor does it state prerequisites or when deletion is inappropriate.

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