Skip to main content
Glama

Watch a crypto price threshold

watch_crypto_price

Monitor a crypto price between agent runs and alert once when it crosses a threshold, with hysteresis before re-arming. Includes 7 days of polling. Costs $0.005 USDC per call via x402 (Base) — no API key, no account. Calling without payment returns 402 with the payment requirements. Free alternative: GET https://longwatch.dev/demo for a free NVDA Form 4 sample, or POST https://longwatch.dev/try for a 24h watch — no wallet needed.

Input Schema

NameRequiredDescriptionDefault
coinYesCoinGecko id, e.g. bitcoin
aboveNoprice: USD upper threshold, e.g. 150000; provide above, below, or move_pct_24h
belowNoprice: USD lower threshold, e.g. 90000; provide above, below, or move_pct_24h
webhookNooptional HTTPS endpoint for signed push alerts; polling still works
move_pct_24hNoprice: absolute 24-hour percentage threshold, e.g. 5 for 5%
idempotency_keyNounique retry key; the same key and input return the original watch

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / above / description
      Added value: +"price: USD upper threshold, e.g. 150000; provide above, below, or move_pct_24h"
    • addedInput schema / properties / below / description
      Added value: +"price: USD lower threshold, e.g. 90000; provide above, below, or move_pct_24h"
    • addedInput schema / properties / move_pct_24h / description
      Added value: +"price: absolute 24-hour percentage threshold, e.g. 5 for 5%"
    • addedInput schema / properties / webhook / properties / url / description
      Added value: +"Public HTTPS webhook URL, e.g. https://example.com/alerts"
  2. Added

TDQS

A4/5.0
Behavior5/5

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

Without the description the agent would not know about the 7-day polling window, one-shot alerting with hysteresis re-arming, or the $0.005 x402 payment flow and that an unpaid call returns 402 with requirements. These are exactly the operational facts annotations (readOnlyHint/idempotentHint) do not convey.

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 purpose and payment sentences are front-loaded and efficient, but the trailing 'free alternative' sentence promotes an unrelated NVDA insider-trades sample and a trial endpoint, which does little to help invoke this specific crypto watch tool.

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?

Covers the trigger semantics, poll duration, and payment/error behavior needed to call it correctly with 6 params and no output schema. It stops short of describing what a successful watch returns (an id? a confirmation?) or how hysteresis thresholds behave numerically.

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 every parameter including the nested webhook object and idempotency_key is already documented in the schema; baseline 3 applies. The description adds only the conceptual 'hysteresis' notion, which maps to no named parameter.

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 concrete verb+resource ('Monitor a crypto price') with scope detail: runs between agent turns, alerts once on threshold cross, re-arms via hysteresis. This distinguishes it from the check_* siblings by its async/alerting nature, though it never explicitly names check_crypto_price or the generic create_watch as the alternatives.

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?

'Monitor a crypto price between agent runs and alert once when it crosses a threshold' gives a clear usage context (background monitoring vs one-shot checks) and the payment/free-trial notes tell the agent how to get a free look. No explicit when-not guidance or named alternative among sibling 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