Skip to main content
Glama

get_compound_market_info

Read-onlyIdempotent

Fetch detailed market data for a Compound V3 market, including supply/borrow metrics, APR, pause flags, and collateral asset list. Use to analyze market state or list collaterals for any Comet market.

Instructions

Fetch structured market info for a single Compound V3 (Comet) market — no wallet required. Returns base-token metadata, totalSupply/totalBorrow, utilization, supply+borrow APR, current pause flags, and the full collateral-asset list with each asset's symbol, decimals, priceFeed, borrow/liquidate/liquidation collateral factors, supply cap, and total amount currently supplied across all users. Use this to explain market state, answer 'what are the listed collaterals for cUSDCv3', or diagnose an incident (pause + utilization + contagion across collaterals) in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoEVM chain the Comet market lives on. Defaults to ethereum.ethereum
marketYesComet market address (e.g. cUSDCv3 at 0xc3d688B66703497DAA19211EEdff47f25384cdc3 on Ethereum).
Behavior4/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds value by detailing exact return fields: base-token metadata, totalSupply/totalBorrow, utilization, APRs, pause flags, and full collateral list. It also confirms no wallet is needed, enhancing transparency beyond 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?

The description is two sentences with no wasted words. The first sentence states purpose and key constraint (no wallet required). The second details return fields and use cases. It is front-loaded and efficient.

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?

Despite no output schema, the description comprehensively lists all returned data: base-token metadata, supply/borrow stats, APRs, pause flags, and detailed collateral-asset list with 9 attributes per asset. It also covers use cases, making the tool fully understandable.

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?

Input schema has 100% coverage with descriptions for both parameters (chain with enum, market with pattern). The description adds a concrete example ('cUSDCv3 at 0x...') and explains market state use, which enhances understanding beyond the schema alone.

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 clearly states 'Fetch structured market info for a single Compound V3 (Comet) market — no wallet required.' It specifies the verb 'Fetch', the resource 'market info', and distinguishes from sibling tools like get_compound_positions by emphasizing it returns market data, not user positions. The use cases further clarify its scope.

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?

The description explicitly says 'Use this to explain market state, answer "what are the listed collaterals for cUSDCv3", or diagnose an incident.' It provides clear when-to-use guidance and notes 'no wallet required,' implying it does not need authentication. It lacks explicit when-not-to-use statements, but the context is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/szhygulin/vaultpilot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server