Skip to main content
Glama

Beggar Bot

weth_wrap_build

Build an unsigned WETH/WPOL wrap (deposit) or unwrap (withdraw) tx with live balances, nonce, EIP-1559 fees and signing hash. 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": "weth_wrap_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNo0x...
chainNobase
amountNo0.1
directionNowrap|unwrap

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 supplied, the description carries the full burden and does well: it discloses that the transaction is unsigned (no broadcast, no key), that it returns live balances, nonce, EIP-1559 fees and a signing hash, and that invocation costs $0.02 USDC via x402. It stops short of stating chain coverage limits or failure behavior for insufficient balance.

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, front-loaded with the action and output contents, followed by the payment constraint. No filler; every clause adds information an agent needs.

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 4-parameter tx-builder with no output schema, the description covers what is produced and the payment model. It lacks any statement about which parameters are effectively mandatory despite all being marked optional, and does not clarify default chain/amount behavior.

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 all four parameters and a baseline 3 applies. The description adds only the wrap=deposit / unwrap=withdraw gloss for the direction value, and its WPOL mention slightly conflicts with the schema's chain example of "base".

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?

Specific verb ("Build") plus resource ("unsigned WETH/WPOL wrap (deposit) or unwrap (withdraw) tx"), and it distinguishes the two directions inline. It does not name a sibling to contrast with (e.g., l2_deposit_build or native_send_build), so it falls short of full sibling differentiation.

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 only implied by the wrap/unwrap framing; the agent must infer that this is the tool for converting between ETH/WPOL and its wrapped ERC-20 form. There is no explicit when-not to use it versus l2_deposit_build, native_send_build, or other tx builders, and no stated prerequisites (e.g., needed token balance or approval).

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.