Skip to main content
Glama

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: price_usd, deviation_bps, on_peg / watch / off_peg status (50 and 200 bps), the pools and their 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

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources