Skip to main content
Glama

ASPERN: counterparty checks for agents

Does a stablecoin hold its dollar

stablecoin_peg
Read-onlyIdempotent

Does each USD stablecoin hold its dollar? Per stablecoin: its price, the gap to $1 now (fraction and basis points), holds or off_peg against a ±2% band, and the widest move above and below $1 over 90 days. FREE. DefiLlama’s aggregate price, read every six hours: not a redemption quote. For tokenized shares against their stock, use stock_peg.

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
qNoOne stablecoin by symbol (USDC), name or CoinGecko id. Leave out for the largest by market cap.
limitNoRows, 1 to 200 (default 50).

Output Schema

NameRequiredDescriptionDefault
asOfNoWhen the market was read.
metaNoHow current this answer is and what it was read from: `freshness` and the ages behind it. Present on every answer from this server, whatever the tool.
itemsYesOne row per stablecoin: priceUsd, gapToDollar (fraction), gapBps, state (holds, off_peg, not_read), worst90d.
meansNoHow to read a row.
warningsNoAnything the server wants a caller to know about THIS answer before acting on it. Empty is the normal case and is not a guarantee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description earns credit for disclosing the source (DefiLlama aggregate), the refresh cadence (every six hours), and an explicit limitation (not a redemption quote) — freshness and provenance are exactly the traits an agent can't infer from annotations.

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?

Front-loaded with the question the tool answers, followed by the per-row payload, the source/cadence caveat, and the sibling redirect. Dense but every clause carries information; nothing is padding.

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?

For a two-optional-param read tool with full schema coverage, an output schema, and annotations covering the safety profile, the description supplies the only missing pieces: data provenance, staleness window, and a boundary against a similar-sounding sibling. An agent has everything needed to call it and interpret the result.

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 description coverage is 100% and both parameters (q, limit) are fully documented, including the default-to-largest-by-market-cap behavior, so the description correctly does not restate them. It adds no extra syntax or format guidance beyond the schema, which is the expected baseline here.

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?

Names a specific resource (USD stablecoins) and a specific question (does each hold $1), then enumerates exactly what comes back per row: price, gap in fraction and bps, holds/off_peg against a ±2% band, and 90-day max deviation. It also explicitly separates itself from the sibling stock_peg by scope, so an agent can distinguish them without opening either schema.

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?

Gives a clear routing rule for the one adjacent case ('For tokenized shares against their stock, use stock_peg') and states the tool is free, which matters for an open-world read. It stops short of saying when not to use it (e.g. for historical depeg event timelines or redemption/liquidity questions) beyond the note that the number is not a redemption quote.

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.