Skip to main content
Glama

Settled

Buy a Watchdog for an x402 endpoint

settled_watch

Paid: $1.00 USDC on Base, paid over x402 inside MCP (clients built on @x402/mcp pay automatically; the first call returns the payment requirements). 10 days of monitoring for one x402 endpoint: Settled probes it about every 15 minutes and records a signed alert whenever its status, payability, price or payTo changes. Pass watch_id instead of url to renew an existing watch for 10 more days with the same feed. Give a webhook (https) to have alerts POSTed to you, or leave it out and read them with settled_watch_alerts. Returns watch_id. A bad url or webhook is refused before any payment. If your client can't pay inside MCP, POST https://settled.tools/v1/watch over x402 instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoThe x402 endpoint to watch; omit it when renewing
webhookNoOptional https URL that receives each alert as a signed POST
watch_idNoAn existing watch to renew for 10 more days, instead of buying a new one

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoThe watched endpoint
noteNoWhat happens next
errorNoPresent only when the call failed or needs another step: an error code such as pass_required, next to the fields that explain it
alertsNoURL of the alerts feed
manageNoURL of the watch
statusNoactive or expired
acceptsNoPresent when payment is needed: the x402 payment requirements; pay one and call again with the payment in _meta
renewedNotrue when this call renewed an existing watch
baselineNoThe endpoint's state when the watch started
deliveryNowebhook or poll
watch_idNoThe watch's id: keep it to read alerts and to renew
created_atNoWhen the watch started
expires_atNoWhen it ends unless renewed
attestationNoEIP-191 signature over the answer; verify it with settled_verify or any EVM library
attested_atNoWhen Settled signed this answer (ISO 8601)
x402VersionNoPresent when payment is needed: the x402 version of the requirements
alert_formatNoWhat an alert contains
webhook_hostNoHost the alerts are POSTed to, if a webhook was given

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say this is a non-read-only, non-idempotent, open-world call. The description adds the full behavioral picture: price ($1.00 USDC on Base), payment rails (x402 inside MCP, first call returns payment requirements), monitoring cadence, what triggers a signed alert, and validation before any charge.

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-loads the cost and payment mechanics, then renewal, webhook, and fallback in a single dense paragraph. Every sentence carries information, though the run-on structure and embedded parentheticals make it heavier than ideal.

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?

An output schema exists, so return values need not be explained, yet it still notes watch_id is returned. Payment/auth requirements, failure behavior (refused before payment), and the non-MCP fallback are all covered, leaving nothing an agent needs missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: watch_id renews for 10 more days on the same feed rather than creating a new watch, and webhook is optional with alerts otherwise readable via settled_watch_alerts. It stops short of clarifying precedence if both url and watch_id were supplied.

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 action (buy a watchdog) on a specific resource (one x402 endpoint) with concrete scope (10 days, ~15-minute probes). It is clearly distinguished from the sibling settled_watch_alerts, which is named as the read path rather than the purchase path.

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 covers the url-vs-watch_id branching for new vs renewal purchases, when to supply a webhook versus reading alerts via settled_watch_alerts, and gives a non-MCP fallback (POST /v1/watch over x402). It also states the precondition that bad urls/webhooks are rejected before payment.

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