Skip to main content
Glama

Beggar Bot

erc4626_tx_build

Build an unsigned ERC-4626 vault deposit/redeem/withdraw tx with on-chain preview, maxDeposit, position value and approval tx. 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": "erc4626_tx_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNo0x...
chainNobase
vaultNo0x...
actionNodeposit|redeem|withdraw
amountNo10|max

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 well: it discloses the tx is unsigned (agent must sign), that an on-chain preview and maxDeposit are computed, that position value is reported, that an approval tx may accompany the result, and that it costs $0.02 USDC via x402. Gaps remain around failure behavior and how 'max' resolves, but the mutation and payment profile is unusually well disclosed.

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?

Two sentences, front-loaded with the action and resource, with the payment term last. No filler and nothing repeated.

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?

Five optional parameters, no output schema, and no annotations — the description compensates by enumerating what comes back from the build, which an agent otherwise could not know. Only error handling and default chain behavior are left unexplained.

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 description coverage is 100%, so the schema already documents from/chain/vault/action/amount. The description adds meaning by tying expected outputs (preview, maxDeposit, position value, approval tx) to the inputs, but adds no format or default guidance beyond the schema.

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 ERC-4626 vault deposit/redeem/withdraw tx'), plus the extras returned (on-chain preview, maxDeposit, position value, approval tx). It does not name a sibling to distinguish itself from, but the ERC-4626 vault scope is specific enough for an agent to recognize the resource.

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 description implies usage through scope (ERC-4626 vault actions only) but never states when to choose this over sibling builders, nor any exclusions or prerequisites. Usage is inferable from the action list, not from explicit guidance.

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.