Skip to main content
Glama

chain_compound_rates

Read-only

Compound v3 market rates — Live Compound v3 (Comet) lending markets on a chain: supply/borrow APR and APY, utilization, total supply/borrow, available liquidity, base-token price, and every collateral asset with price, borrow/liquidation collateral factors, liquidation penalty, supply cap and cap usage. Read on-chain via Multicall3. chain= ethereum|base|arbitrum|optimism|polygon (default base); optional market= cUSDCv3|cWETHv3|cUSDTv3|cUSDbCv3|cUSDCev3 or base symbol (usdc, weth) or Comet address. Price: $0.004 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>"
    },
    "name": "chain_compound_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesbase

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/not-destructive, but the description adds genuinely new behavioral facts: data is read on-chain via Multicall3 and the call costs $0.004 USDC on Base via x402. That payment/access requirement is not visible in any structured field. No error or rate-limit behavior is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense and front-loaded with the core purpose first, but it is one long run-on sentence packing return fields, chain enums, market selectors and pricing together with no structure. The information mostly earns its place, though the layout makes scanning harder 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?

With no output schema, the description carries the return-value burden and does so thoroughly, listing every field returned. Given a single-parameter read tool with annotations covering safety, it is nearly complete — the only shortfall is the mismatch between the described optional market argument and the schema.

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 description enumerates valid chain values (ethereum|base|arbitrum|optimism|polygon) and market selectors (cUSDCv3, base symbol, or Comet address), which is far richer than the schema's bare 'base' description. However, it advertises an optional 'market' parameter that does not exist in the input schema, and says chain defaults to base while the schema marks it required — creating ambiguity about the actual call signature.

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+resource — live Compound v3 (Comet) lending market rates — and enumerates exactly the fields returned (supply/borrow APR/APY, utilization, liquidity, collateral factors, caps). An agent can immediately tell this is a market-state reader, not an account/position tool.

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?

It gives a default chain (base) and says the market argument is optional, which implies how to call it, but it never states when to prefer this over chain_compound_account or chain_aave_rates. Usage is implied by the resource rather than spelled out.

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