Skip to main content
Glama

chain_compound_account

Read-only

Compound v3 account health — Compound v3 (Comet) position for a wallet: base supplied or borrowed (with value and APY), each collateral asset balance and value, borrow capacity, liquidation threshold value, available to borrow, health factor, collateral drop to liquidation, isLiquidatable, and a status (NO_POSITION, SUPPLY_ONLY, SAFE, WATCH, AT_RISK, LIQUIDATABLE). chain= ethereum|base|arbitrum|optimism|polygon (default base), address= wallet; optional market= cUSDCv3 (default)|cWETHv3|cUSDTv3|cUSDbCv3|cUSDCev3. 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>",
      "address": "<address>"
    },
    "name": "chain_compound_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesbase
addressYes0x176F3DAb24a159341c0509bB36B833E7fdd0a132

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description adds genuinely new behavioral context: default chain of base, the full status enum including NO_POSITION, and a paid-access model ($0.004 USDC per call via x402 on Base). It stops short of describing error or rate-limit behavior, so not a 5.

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?

Dense but front-loaded: identity and returned fields come first, then parameter semantics, then pricing. The long return-field enumeration is justified by the absence of an output schema, though the parenthetical value/APY detail and duplicated 'Compound v3 (Comet)' phrasing could be trimmed.

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 correctly enumerates the returned fields and status values, and it supplies defaults plus cost/payment mechanism — enough for an agent to call it correctly. The only gap is the market parameter documented in prose but missing from the schema, which an agent might not realize it can pass.

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?

The schema's own descriptions are just bare examples ('base', a sample address), so the description carries real meaning: chain accepts ethereum|base|arbitrum|optimism|polygon with a base default, and address is the wallet. It also documents an optional market parameter (cUSDCv3 default, cWETHv3, cUSDTv3, cUSDbCv3, cUSDCev3) that is absent from the input schema — useful, but the mismatch prevents a 5.

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 opens with a specific verb+resource pairing ('Compound v3 account health — Compound v3 (Comet) position for a wallet') and enumerates exactly what is returned, so an agent can distinguish it from chain_compound_rates (rates) and chain_aave_account (different protocol) without opening a schema.

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?

Usage is implied by the resource ('position for a wallet') but there is no explicit when-to-use or when-not guidance and no named alternative such as chain_compound_rates for protocol-level data. The agent must infer selection from the sibling names alone.

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