Skip to main content
Glama

Beggar Bot

tx_build

Build an unsigned EIP-1559 tx: live nonce, fees, gas estimate, RLP serialization + signing hash, max cost vs balance. Base/ETH/OP/Arb/Polygon. 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": "tx_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo0x...
dataNo0x
fromNo0x...
chainNobase
valueNowei

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 useful traits: the output is unsigned (no signing/broadcast), values come from live RPC reads (nonce, fees, gas estimate, balance), and there is a cost of $0.02 USDC via x402. It omits whether the fee is charged on failure, how stale/time-sensitive the live nonce and fee data is, and whether any wallet/auth binding is required.

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?

Dense, front-loaded, single sentence with no filler; the operation and its outputs lead, followed by chain support and cost. The compressed phrasing "max cost vs balance" is slightly cryptic, costing a point but not impairing selection.

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 build-only tool with five optional parameters and no output schema, the description compensates by naming the returned artifacts (RLP, signing hash, max cost vs balance) and the execution mode (unsigned). Remaining gaps are freshness/expiry of live nonce and fee data and default behavior when parameters are omitted.

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 five properties and the baseline is 3. The description adds little per-parameter meaning beyond confirming chain coverage (which clarifies the 'chain' value 'base' is one of five) and implying a balance check on 'value' via 'max cost vs balance'.

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 EIP-1559 tx") and enumerates what the result contains (nonce, fees, gas estimate, RLP serialization, signing hash, max cost vs balance), which is concrete and identifiable. It does not, however, distinguish itself from the many protocol-specific *_tx_build siblings, leaving the agent to infer that this is the generic/custom-transaction builder.

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?

Lists supported chains (Base/ETH/OP/Arb/Polygon) as a scope constraint, but gives no when-to-use or when-not guidance and names no alternative. An agent facing aave_v3_tx_build, curve_swap_tx, or approve_tx_build has no stated rule for choosing this generic builder over them.

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.