Skip to main content
Glama

agent-exec

Durable poll of a URL until a condition fires (paid, x402)

watch_register

PAID: we poll a URL from OUR vantage point on your interval until your predicate matches or the ttl runs out, and keep the verdict for you to collect -- a wait that survives your own process dying, which is what an agent cannot do for itself. Price is a function of intervalSeconds x ttlSeconds (interval 60..86400s, ttl 60..604800s), so a first unpaid call quotes YOUR request rather than a fixed plan. The reply carries the id: read it back any time, free and as often as you like, with watch_read. Call it once without payment to receive the price as an x402 PaymentRequired (Base USDC, and Solana USDC where offered); call it again with a signed payment in _meta['x402/payment'] to complete it. The receipt comes back in _meta['x402/payment-response']. No account, no API key. Complaints, questions, quote requests, or a service you wish we had: POST /feedback on this host -- free, no account. Every report is read and analysed daily; there is no individual reply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute http:// or https:// URL, at most 2048 UTF-8 bytes. We GET it; the body is never returned to you, only the verdict.
predicateYesThe condition that ends the watch.
storageKeyNoOptional: on a match, the result is also written to /storage under this key for the paying wallet, so a successor process can collect it without knowing the watch id.
ttlSecondsYesHow long to keep watching, 60..604800. Must exceed intervalSeconds, or the watch expires before a second sample exists.
intervalSecondsYesSeconds between polls, 60..86400. Shorter costs more.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the minimal annotations, the description extensively discloses behavior: it is paid via x402, the first unpaid call quotes the price, payment is supplied in `_meta['x402/payment']`, the receipt appears in `_meta['x402/payment-response']`, and no account or API key is needed. It also reveals that the wait is durable across process death and that the body is never returned, only the verdict.

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?

The core information is front-loaded and the payment flow is explained clearly, but the description is verbose for a tool definition. The closing feedback solicitation ('Complaints, questions, quote requests...') is not needed for tool selection or invocation, so not every sentence earns its place.

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 complex paid tool with no output schema, the description is remarkably complete: it explains the pricing model, the quote-then-pay sequence, where to put the payment, where the receipt will appear, how to read the result later, and that no account is required. The schema fills in the remaining parameter-level details.

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?

The input schema already covers all parameters at 100%, so the baseline is 3. The description adds meaningful context beyond the schema by explaining that price is a function of intervalSeconds × ttlSeconds and by framing the predicate as the condition that ends the watch, which helps the agent reason about how the parameters interact.

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 states a specific action: poll a URL from the service's vantage point on the caller's interval until a predicate matches or the TTL expires, then keep the verdict for collection. It clearly names the resource (a durable watch) and distinguishes itself from the sibling watch_read by explaining that the reply carries an id that watch_read can retrieve.

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

Usage Guidelines4/5

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

It gives clear when-to-use context: an agent needs a wait that survives its own process dying, which the tool uniquely provides. It also explains the two-step paid workflow and points to watch_read for retrieving the result, but it does not explicitly state when not to use it or compare it against other sibling polling/monitoring tools.

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