Skip to main content
Glama

Beggar Bot

yearn_vault_tx

Build an unsigned Yearn vault deposit (with approval check) or withdraw/redeem tx; v2 and v3 vaults. 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": "yearn_vault_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNofrom
chainNochain
vaultNovault
actionNoaction
amountNoamount

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real behavior: the output is an unsigned tx (agent/user must sign), an approval check is performed, both v2 and v3 vaults are handled, and the call costs $0.02 USDC via x402. It still omits what happens when allowance is insufficient (separate approval tx or bundled), what the response object looks like, and any failure/rate-limit behavior.

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?

One compact sentence plus a pricing clause; the action set and version scope are front-loaded and nothing is wasted. The parenthetical '(with approval check)' is slightly ambiguous about whether approval is verified or built, but it is not filler.

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?

For a 5-parameter transaction-building tool with no annotations and no output schema, the description covers purpose, versions, approval handling, and cost, which is decent. It leaves unresolved why zero parameters are required (which fields are actually mandatory to build a tx) and gives no sense of the returned unsigned-tx shape, both of which an agent needs before calling.

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 nominally 100%, but the schema descriptions are pure restatements of the property names ('from', 'chain', 'vault', 'action', 'amount'), so the schema adds almost no meaning. The description partially compensates by defining action values (deposit / withdraw / redeem) and vault scope (v2, v3), but says nothing about amount units, accepted chain identifiers, or what 'from' designates.

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 and resource: 'Build an unsigned Yearn vault deposit ... or withdraw/redeem tx', and scopes it to 'v2 and v3 vaults'. That distinguishes it from read-only siblings like yearn_vaults or vault_4626, though it never names an alternative builder (beefy_vault_tx, savings_vault_tx) to route against.

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?

The two supported actions (deposit, withdraw/redeem) imply when to call it, and the 'approval check' parenthetical hints at the prerequisite flow. But there is no explicit when-not guidance, no statement about which chains or vaults qualify, and no pointer to sibling transaction builders.

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.