Skip to main content
Glama

Beggar Bot

euler_v2_tx_build

Build an unsigned Euler v2 vault deposit, withdraw, borrow or repay (max) tx with approval check. 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": "euler_v2_tx_build"
  }
}

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 several valuable traits: the tx is unsigned (nothing is broadcast), an approval check is included, "max" repay is supported, and the call costs $0.02 USDC via x402. It does not cover what the response object contains, whether the approval check can fail the build, or which chains are supported.

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 tight sentences with the core capability front-loaded and the payment/cost note second; nothing is wasted and no filler precedes the verb.

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 five-parameter builder with no output schema and no annotations, the description covers the essential facts: what is built, the action set, unsigned output, approval handling, and cost. Minor gaps remain around chain scope and amount formatting, but nothing critical to a correct invocation is missing.

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%, but the schema's own descriptions are pure restatements ("from": "from"), so the description does most of the semantic work for the `action` parameter by naming the four valid values, and hints that `amount` is optional/special for max repay. It still adds no format detail for from, chain, vault, or amount (address format, decimal units, chain ids).

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") plus resource ("Euler v2 vault ... tx") and enumerates the four supported actions (deposit, withdraw, borrow, repay), which is far more specific than a bare name restatement. The protocol prefix plus the enumerated actions separate it from siblings such as euler_v2_position and euler_v2_vault_detail, though the description never explicitly contrasts them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to choose this builder over euler_v2_position, euler_v2_vault_detail, or the other *_tx_build siblings, and no prerequisites (e.g. that a vault address must be resolved first, or that the output must be signed). Usage is only implied by the action list.

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.