Skip to main content
Glama

Beggar Bot

compound_v3_tx_build

Build an unsigned Compound v3 (Comet) supply/withdraw tx for base or collateral with allowance (approval tx), pause and implicit-borrow warnings. Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
fromNo0x...
assetNooptional collateral
chainNobase
actionNosupply|withdraw
amountNo5|max
marketNoUSDC|WETH|0x...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key traits: the tx is unsigned, an allowance/approval tx is produced, pause and implicit-borrow warnings are surfaced, and there is a $0.02 USDC x402 cost. It omits signing/submission expectations, failure modes beyond pause, and how 'max' is handled.

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?

A single dense sentence with the purpose front-loaded and no filler; the pricing note is tacked on but is short. Slightly run-on from cramming allowance, warnings, and pricing into one clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Six all-optional params, no annotations, and no output schema mean the agent needs more guidance on required combinations per action and response shape expectations. The cost and warning disclosures help, but the definition is not fully self-sufficient for a financial tx builder.

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?

Schema coverage is 100%, so the baseline applies. The description only adds that 'base or collateral' maps to the asset option; it does not clarify amount units/decimals, the market vs asset distinction, or which optional fields become required per action.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (build) and resource (unsigned Compound v3/Comet supply/withdraw tx) plus scope (base or collateral). This clearly separates it from market/position readers like compound_v3_markets, though it never explicitly names a sibling.

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 supply/withdraw framing, but there is no explicit when-to-use/when-not, no statement that read-only queries belong in compound_v3_position, and no guidance on choosing this over aave_v3_tx_build or approve_tx_build.

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.