Skip to main content
Glama

Crypto & Macro Market Data (Tanod)

check_stablecoin_peg

Read-onlyIdempotent

utilpeek: Check stablecoin peg: is USDC, USDT, DAI, USDe or PYUSD holding its dollar peg. For supply by chain use get_stablecoin_supply. Returns whether USDC, USDT, DAI, USDe or PYUSD holds its dollar peg, from Ethereum Uniswap V3 pools, in coins: price, deviation (bps), on_peg / watch / off_peg status (50 and 200 bps), pools and depth, and the read time. Indicative on-chain prices, not an oracle; non-USDC coins are priced in USDC and USDC by cross-check; pools read at most every 30 s; a failed coin is in errors; all coins failing is a 502 and an unknown coin a 422 (neither charged). Typically 1 to 4 s (one chain read), under 100 ms when cached. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/stablecoin-peg-check-api.html

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": "check_stablecoin_peg"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinsNoStablecoins to check, any of USDC, USDT, DAI, USDe and PYUSD (case does not matter). Omit for all five; an unknown coin is a 422 that lists the supported ones.

Output Schema

NameRequiredDescriptionDefault
age_sNo
blockNo
chainNo
coinsNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
cachedNo
errorsNo
methodNo
licenceNo
read_atNo
warningsNo
timestampNo
disclaimerNo
indicativeNo
quote_assetNo
thresholds_bpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / properties / coins / default
      Removed value: -null
    • removedInput schema / properties / coins / title
      Removed value: -"Coins"
    • removedInput schema / title
      Removed value: -"check_stablecoin_pegArguments"
    • removedOutput schema / properties / coins / items
      Removed value: -{
      -  "properties": {
      -    "coin": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "cross_check": {
      -      "items": {
      -        "properties": {
      -          "coin_price_in_usdc": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "depth_usd": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "implied_usdc_price_usd": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "pool": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "venue": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "vs": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": [
      -          "object",
      -          "null"
      -        ]
      -      },
      -      "type": [
      -        "array",
      -        "null"
      -      ]
      -    },
      -    "depth_usd": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "deviation_bps": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "pool_spread_bps": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "pools": {
      -      "items": {
      -        "properties": {
      -          "ask": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "bid": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "coin_in_pool": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "depth_usd": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "deviation_bps": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "fee_tier": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "impact_bps_10k": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "pool": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "price_usd": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "thin": {
      -            "type": [
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "usdc_in_pool": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "used_for_price": {
      -            "type": [
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "venue": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": [
      -          "object",
      -          "null"
      -        ]
      -      },
      -      "type": [
      -        "array",
      -        "null"
      -      ]
      -    },
      -    "price_basis": {
      -      "enum": [
      -        "pool",
      -        "cross_check",
      -        null
      -      ]
      -    },
      -    "price_usd": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "quoted_in": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "reference_spread_bps": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "status": {
      -      "enum": [
      -        "on_peg",
      -        "watch",
      -        "off_peg",
      -        null
      -      ]
      -    },
      -    "thin": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / errors / items
      Removed value: -{
      -  "properties": {
      -    "code": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "coin": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "message": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / thresholds_bps / properties
      Removed value: -{
      -  "off_peg_above": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "on_peg_below": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "rule": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / warnings / items
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the data source, peg thresholds, indicative pricing caveat, USDC cross-check behavior, refresh cadence, error handling, HTTP failure codes, and latency. This gives the agent substantial operational context not already covered by the read-only/idempotent annotations.

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?

The description is front-loaded with purpose and an alternative, then moves into return shape and operational caveats. It is dense and slightly repetitive in listing the supported coins multiple times, but most details earn their 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?

Given the tool's complexity, the description covers source, thresholds, caveats, error cases, refresh behavior, latency, and cost. An output schema exists, and the description still provides enough surrounding context for correct invocation.

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?

The schema already has 100% description coverage for the single `coins` parameter, including supported values, omission behavior, and unknown-coin 422 behavior. The description reinforces the coin list but adds little parameter-specific meaning beyond the schema.

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 verb and resource: checking whether named stablecoins hold their dollar peg. It explicitly distinguishes this from the sibling `get_stablecoin_supply`, which covers supply by chain.

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 clearly implies use when you need peg status and explicitly routes supply-by-chain queries to `get_stablecoin_supply`. It does not spell out exclusions against unrelated checks, but the relevant alternative is named.

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.