Skip to main content
Glama
x402 Discovery & Trust MCP

x402 Discovery & Trust MCP

x402 Trust watch: create 30-day endpoint monitor

x402_watch_create

Create a 30-day monitor for an x402 endpoint to get alerts on payTo/price changes, delisting, spec regressions, and downtime via polling or webhooks; returns a one-time secret.

Instructions

30-day monitor for one endpoint with alerts on payTo or price changes, delisting, spec regressions and downtime, via polling or webhooks. Returns a one-time secret, keep it.

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": {
      "endpoint": "<endpoint>"
    },
    "name": "x402_watch_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventsNoEvent types to subscribe to (default all): payto_change, price_change, asset_network_change, spec_regression, delisting, liveness_down, liveness_recovered, liveness_flapping, latency_regression.
endpointYesFull x402 resource URL to watch. It must already be in our observation set.
slack_urlNoOptional Slack or Discord incoming webhook URL(s). Single string or array; max 5.
webhook_urlNoOptional signed HTTPS webhook URL(s) for push delivery. Single string or array; max 5.
liveness_sensitivity_nNoConsecutive missed probes before liveness_down surfaces to you (1=paranoid … 10=relaxed; default 2).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.17.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / slack_url / $ref
      Removed value: -"#/properties/webhook_url"
    • addedInput schema / properties / slack_url / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
  2. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / events / description
      Previous value: -"Event types to subscribe to (default all): payto_change, price_change, asset_network_change, spec_regression, delisting, liveness_down, liveness_recovered, latency_regression."New value: +"Event types to subscribe to (default all): payto_change, price_change, asset_network_change, spec_regression, delisting, liveness_down, liveness_recovered, liveness_flapping, latency_regression."
  3. Changed6 schema fields changedv1.5.0
    • addedInput schema / properties / slack_url / $ref
      Added value: +"#/properties/webhook_url"
    • changedInput schema / properties / slack_url / description
      Previous value: -"Optional Slack or Discord incoming webhook URL for push delivery."New value: +"Optional Slack or Discord incoming webhook URL(s). Single string or array; max 5."
    • removedInput schema / properties / slack_url / type
      Removed value: -"string"
    • addedInput schema / properties / webhook_url / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / webhook_url / description
      Previous value: -"Optional signed HTTPS webhook URL for push delivery."New value: +"Optional signed HTTPS webhook URL(s) for push delivery. Single string or array; max 5."
    • removedInput schema / properties / webhook_url / type
      Removed value: -"string"
  4. Addedv1.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose valuable behavior: 30-day lifetime, delivery via polling or webhooks, and notably that a one-time secret is returned ("keep it") — a real operational caveat. It omits permissions, duplicate-watch behavior, and what identifies the watch after creation.

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?

Two sentences, front-loaded with purpose and scope, then the critical secret-retention warning. Every clause carries information; nothing is wasted.

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?

For a mutation tool with no annotations and no output schema, the description covers the key return value (one-time secret) but not other response fields the caller would need — a watch identifier for later edit/cancel/renew — nor any auth or rate-limit context. Adequate but with clear gaps.

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%, so baseline is 3. The description adds modest mapping value by naming alert categories (payTo, price, delisting, spec regression, downtime) and delivery modes (polling vs webhooks) that correspond to the events, slack_url and webhook_url parameters, but adds no syntax or format detail.

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 and resource: a 30-day monitor on one endpoint, and enumerates what triggers alerts (payTo/price changes, delisting, spec regressions, downtime). It is clearly a create operation, distinguishing it implicitly from edit/cancel/renew siblings, though no sibling is named explicitly.

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?

No guidance on when to create a new watch versus using x402_watch_edit, x402_watch_renew, or x402_trust_preview first. The prerequisite that the endpoint must already be in the observation set appears only in the schema, not the description, and there is no when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.