Skip to main content
Glama

Beggar Bot

sparklend_tx_build

Build an unsigned SparkLend (or Aave v3 via protocol=aave) supply, withdraw, borrow or repay tx with approval check and max repay/withdraw. 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": "sparklend_tx_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNofrom
assetNoasset
chainNochain
actionNoaction
amountNoamount
protocolNoprotocol

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 does contribute real information: the tx is unsigned, an approval check is performed, max repay/withdraw is supported, and there is a concrete cost of $0.02 USDC via x402. It does not explain what the approval check does when allowance is insufficient, whether calldata is returned, which chains are supported, or what happens with missing optional parameters.

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?

A single front-loaded sentence with the verb and resource first, then protocol variant, supported actions, behavioral traits, and pricing. No filler or redundancy.

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 six-parameter transaction builder with zero required parameters, no annotations, and no output schema, the definition leaves important gaps: which parameters are mandatory for each action, supported chains, and the shape of the returned unsigned transaction. The pricing disclosure is a genuine plus, but the definition is only adequate overall.

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%, so the baseline is 3, but the schema descriptions are tautological restatements ('from':'from', 'action':'action'). The description partially compensates by enumerating valid action values and clarifying that protocol=aave selects Aave v3, and by hinting at 'max' semantics for amount. It adds nothing for from, chain, or asset.

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?

The description names a specific verb ('Build'), the concrete artifact ('unsigned SparkLend ... tx'), and enumerates the four supported actions (supply, withdraw, borrow, repay). It also flags that Aave v3 is reachable via protocol=aave. It stops short of distinguishing this from the sibling aave_v3_tx_build, which appears to cover overlapping ground.

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 action list implies when the tool applies, but there is no explicit guidance on when to pick this over aave_v3_tx_build, the generic tx_build, or approve_tx_build (even though 'approval check' is mentioned). No prerequisites (wallet, chain support, balance/allowance state) are stated.

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.