Skip to main content
Glama

supply_compound

Supply USDC or whitelisted collateral to Compound V3 USDC market to earn yield on Mainnet, Base, Arbitrum, or Polygon.

Instructions

Supplies an asset to Compound V3 (Comet USDC market) to earn yield. Each Compound V3 market is single-asset; the USDC market accepts USDC as the base asset plus whitelisted collateral (e.g. WETH, WBTC). Available on Mainnet, Base, Arbitrum, Polygon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetYesERC-20 token address to supply. Use USDC for the base asset, or a supported collateral.
amountYesAmount to supply in human-readable units.
chain_idNoChain ID. Default: 1 (Ethereum mainnet).
Behavior3/5

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

No annotations provided, so description must carry the burden. It discloses multi-chain support and asset types (USDC base, whitelisted collateral), but omits approval requirements, gas costs, risks, or any return value details. Adequate but incomplete for full transparency.

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?

Three concise sentences with no filler. First sentence captures core action, second adds market detail, third lists chains. Information is front-loaded and every sentence earns its place.

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?

For a tool with no output schema and no annotations, the description covers purpose, asset types, and chain availability. Missing details like the need for token approval, return format (transaction hash?), and protocol-specific nuances. Adequate for typical use but not exhaustive.

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 already covers parameters with clear descriptions (100% coverage). Description adds value by specifying the USDC market and giving example collateral (WETH, WBTC), and listing supported chains beyond schema's default chain_id. This extra context justifies a score above baseline 3.

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?

Description clearly states the action (supply asset), protocol (Compound V3), market (USDC market), and purpose (earn yield). Distinguishes from sibling tools like withdraw_compound and deposit_aave by specifying the exact protocol and market.

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?

Implies when to use (to supply assets to Compound V3) but lacks explicit when-not-to-use or comparisons with alternatives like deposit_aave or deposit_erc4626. No guidance on prerequisites or potential issues.

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/felippeyann/agentfi'

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