Skip to main content
Glama

SiteCheck Crypto & Finance

Compound v3 market stats on Ethereum read on-chain

crypto_compound_market_stats
Read-only

Compound v3 (Comet) market stats on Ethereum read on-chain: utilization, supply and borrow APY, total supply and borrow of the base asset, and every collateral asset with its borrow and liquidation collateral factors, liquidation factor and supply cap. Markets: usdc (cUSDCv3) or weth (cWETHv3). Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
marketNousdc (default) or weth

Output Schema

NameRequiredDescriptionDefault
cometNo
labelNo
marketNo
sourceNo
baseTokenNo
checkedAtNo
baseDecimalsNo
borrowApyPctNo
supplyApyPctNo
utilizationPctNo
totalBorrowBaseNo
totalSupplyBaseNo
collateralAssetsNo
collateralAssetCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds material behavior beyond that: a $0.002 per-successful-call charge, the x402 payment rail (USDC on Base, Solana and 10+ networks), and the fact that failed calls are not billed. The pricing and failure-billing semantics are exactly the kind of cost/side-effect context an agent needs before calling a metered tool.

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?

Front-loaded with the core purpose, then supported markets, then pricing — a logical order with no filler. The metric enumeration in the first sentence is long, but each item earns its place by telling the agent what data comes back; slightly denser than ideal but not padded.

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?

An output schema exists, so return values need no prose, and the single parameter plus the two market options are fully covered alongside the pricing model. What remains unstated is data freshness (block tag/recency) and any rate-limit expectations beyond payment, which are minor gaps for a read-only stats tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning by mapping the user-facing market names to the underlying Comet contracts (usdc→cUSDCv3, weth→cWETHv3), which the schema's 'usdc (default) or weth' does not. The gain is real but modest for a single optional parameter.

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?

States a specific verb and resource (read Compound v3 / Comet market stats on Ethereum on-chain) and enumerates exactly which metrics are returned: utilization, supply/borrow APY, base-asset totals, and per-collateral factors and caps. Naming Compound v3 also cleanly separates it from sibling lending-market tools such as crypto_aave_lending_markets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description defines which markets are supported (usdc/cUSDCv3 or weth/cWETHv3), which implicitly tells the agent when the tool applies, but gives no explicit when-to-use/when-not guidance and never points to a sibling alternative for other chains or protocols. Usage is inferable rather than stated.

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