Skip to main content
Glama

Beggar Bot

token_sweep_build

Build sequential-nonce unsigned transfers that sweep every non-zero ERC-20 balance (up to 15 tokens) to one address 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": "token_sweep_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoto
fromNofrom
chainNochain
nonceNononce
tokensNotokens

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With zero annotations, the description carries the full burden and does disclose meaningful traits: output is unsigned (not broadcast), nonces are sequential across the batch, there is a hard 15-token ceiling, and the call is metered at $0.02 USDC via x402. It does not say how balances are discovered, how gas/fees are handled, or what happens when more than 15 non-zero tokens exist, which is the main residual gap.

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?

A single front-loaded sentence with the action, scope, cap, and price with no filler. The x402 pricing clause is arguably tangential to tool selection but is genuinely useful pre-call context, so it earns its place.

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?

Covers what is produced (unsigned, sequential-nonce batch) and the cost, which is the key information for an unsigned-transaction builder without an output schema. However, with five parameters all marked optional and no annotations, the description never clarifies which inputs are actually required (notably 'to') or what happens at the 15-token boundary, leaving real operational ambiguity.

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%, but each schema description merely restates the property name ('to', 'from', 'chain', 'nonce', 'tokens'), so the schema itself adds no meaning. The description supplies some: 'to' is a single destination and 'tokens' is bounded at 15, but chain, nonce, and from semantics are left to the schema's bare echo. Baseline 3 is appropriate.

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 ('sequential-nonce unsigned transfers') plus concrete scope: sweeping every non-zero ERC-20 balance, capped at 15 tokens, into one address. This implicitly separates it from native_sweep_build (native asset) and token_transfer_build (single transfer), though it never names those siblings, so differentiation is inferred rather than stated.

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 'sweep every non-zero ERC-20 balance to one address' phrasing implies the usage scenario (consolidating a token list held by one address), but there is no explicit when-to-use/when-not guidance and no pointer to token_transfer_build or native_sweep_build as alternatives. An agent must infer routing from the sweep verb alone.

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.