Skip to main content
Glama

Watchdog & Alerts

Create Condition Watch Alert

watch_create_alert

Set a background watch on a public webpage, live data feed, page availability, or NOAA coastal water gauge and get alerted automatically when your condition happens ($0.02).

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": {
      "condition_type": "<condition_type>"
    },
    "name": "watch_create_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic https:// URL to monitor (required for URL condition types).
labelNoOptional short human-readable name for this alert.
negateNoFlip the trigger so it fires when text disappears or status stops matching.
operatorNoComparison operator for JSON values or NOAA water levels.
json_pathNoDot path inside JSON response (for example: "data.price" or "status.open").
spend_keyNoOptional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key or Authorization header.
thresholdNoTarget value or water height in feet that triggers the alert.
ttl_hoursNoHow many hours to keep this watch active before automatic expiry (1 to 24, default 6).
match_textNoText phrase to watch for on the page (for url_text_contains).
station_idNo7-digit NOAA water station ID (for example: "8575512" Annapolis or "8570283" Ocean City Inlet).
webhook_urlNoOptional public https:// webhook URL to notify with a signed POST when triggered.
builder_codeNoOptional partner referral code for revenue sharing.
case_sensitiveNoMatch text with exact letter casing (default false).
condition_typeYesType of condition to watch: webpage text match, HTTP status change, JSON value threshold, or NOAA station water height.
expected_statusNoExpected HTTP status code (for url_status_change, default 200).
idempotency_keyNoOptional unique request ID to prevent duplicate billing on retries.
payment_signatureNoOptional direct payment header when paying per request without a prepaid API key.
run_initial_checkNoRun one check immediately on creation (default true).
check_interval_secondsNoTarget polling interval in seconds (60 to 3600, default 300).

Output Schema

NameRequiredDescriptionDefault
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, destructiveHint=false, readOnlyHint=false and idempotentHint=false, so the write/side-effect profile is covered. The description adds real context the annotations lack: sustained background monitoring, automatic alert delivery, and a per-watch price of $0.02. It omits notable behaviors such as the 1-24 hour automatic expiry (default 6h), how alerts are delivered (webhook vs. polling), and billing/retry semantics, so it is additive but incomplete.

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?

A single front-loaded sentence with no filler, and the cost is placed at the end where it does not bury the core action. The list of target types is slightly padded but each item maps to a real condition_type, so it earns its place.

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

Completeness3/5

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

With 19 parameters, conditional requiredness by condition_type, and a hard 24-hour expiry ceiling, this is a complex tool whose one-sentence description leaves important operational facts to the schema. An output schema exists, so return values need no explanation here, but the agent gets no upfront warning that only one of 19 params is required or that watches self-expire within a day.

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 the schema already explains every parameter including condition_type, ttl_hours, and check_interval_seconds. The description contributes only a loose mapping of the four condition types to the condition_type enum, adding no syntax, defaults, or conditional-requiredness detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Set a background watch') plus the concrete resources it can watch (webpage, live data feed, page availability, NOAA gauge) and the outcome (automatic alerting). It does not name or differentiate itself from siblings such as watch_check_status or watch_evaluate_now, so it stops short of a 5.

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

Usage Guidelines2/5

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

The description implies when the tool is useful (monitoring public URLs or NOAA stations for a condition) but gives no explicit when-not guidance and never points to alternatives like watch_list_live_feeds for discovery or watch_cancel_alert for teardown. The only usage-relevant addition is the $0.02 cost signal, which is not framed as a decision criterion.

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