Skip to main content
Glama

stablecoin_peg

Stablecoin peg check: price vs $1 and deviation in bps for USDC, USDT, DAI, USDe, PYUSD and more (Chainlink and Hyperliquid), with an alert threshold. Paid via x402 ($0.002 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment. Free trial: 3 unpaid calls/day per IP on this tool (HTTP: header X-Free-Trial: 1; MCP: automatic when no payment is sent).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stablecoin_peg"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolsNoComma-separated stablecoins (default USDC,USDT,DAI,USDS,USDe,PYUSD,FDUSD,USD1,TUSD,GHO).
alert_bpsNoDeviation in bps that raises status alert (default 50); watch starts at 40% of it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses the paid model and cost ($0.002 USDC on Base, also Polygon/Arbitrum/Solana), the free-trial rate limit (3 unpaid calls/day per IP) and how to trigger it via header or automatic fallback, and error behavior (invalid input rejected, no charge). Those are exactly the cost, rate-limit and failure facts an agent cannot get from the schema.

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?

It is front-loaded with the core capability and every sentence carries actionable content (capability, payment, return fields, error handling, free trial). The payment sentence suffers from heavy nested parentheses ('(also Polygon, Arbitrum and Solana)')) that make it harder to parse than necessary.

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?

For a two-parameter, default-everything read tool with no output schema, the description supplies the missing pieces: what is compared ($1 peg), what unit is reported (bps), where data comes from, that responses include asOf and source, and the full payment/trial mechanics. The remaining gap is that the status/alert values themselves are not described, only the threshold that triggers them.

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% and both parameters (symbols, alert_bps) are fully described in the schema, including defaults and the watch-at-40% rule, so the schema already does the heavy lifting. The description only restates the existence of an 'alert threshold' and adds no extra syntax, format or edge-case meaning for the parameters.

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?

The description opens with a specific verb+resource ('Stablecoin peg check: price vs $1 and deviation in bps') and enumerates the covered assets and data sources, so an agent knows exactly what is returned. It does not name a sibling such as crypto_price to explicitly carve out the boundary, which keeps it from 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 Guidelines4/5

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

It conveys clear usage context implicitly (call it when you need peg deviation vs $1 for the listed stablecoins) and adds practical invocation guidance: the paid x402 path, the free-trial path, and that invalid input is rejected without payment. It stops short of stating when to prefer another tool or when not to use this one.

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