Skip to main content
Glama

Watchdog & Alerts

Cancel Watch Alert

watch_cancel_alert
Destructive

Free immediate cancellation of an active condition watch so it stops checking and no longer fires 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": {
      "watch_id": "<watch_id>",
      "watch_token": "<watch_token>"
    },
    "name": "watch_cancel_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
watch_idYesAlert watch ID returned by watch_create_alert (format: watch_<20 hex chars>).
watch_tokenYesSecret watch token returned when the alert was created (format: wtok_*).

Output Schema

NameRequiredDescriptionDefault
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description usefully adds that cancellation is immediate, halts condition checking, and prevents further webhook delivery, plus that it is free. It does not address what happens on a repeated cancel of the same watch_id, which matters given idempotentHint=false.

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?

A single front-loaded sentence with no filler; the effect and the outcome (no more checking, no more webhooks) are packed into one clause without redundancy.

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?

With an output schema present and full parameter documentation, the description covers the essential behavior for a simple two-parameter destructive operation. A note on irreversibility or on error behavior when the watch is already gone would make it complete.

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 both parameters (watch_id pattern and watch_token secret) are fully documented in the schema. The description adds no additional meaning about the parameters, so 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?

States a specific verb (cancel), a specific resource (an active condition watch), and the concrete effect (stops checking, stops firing webhooks). This clearly separates it from siblings like watch_create_alert, watch_check_status, and watch_evaluate_now.

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 phrase 'active condition watch' implies this is the teardown counterpart to watch_create_alert, but the description never explicitly says when to use it versus alternatives or what to do if the watch is already cancelled or expired. Usage is inferable rather than stated.

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