Skip to main content
Glama

build_evm_dust_to_usdt_sweep

Build non-custodial exact-amount ERC-20 approve + audited KyberSwap/OpenOcean swap calldata to consolidate any EVM dust token across 8 chains into USDT or USDC (1.00% on-chain integrator fee).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token_in": "<token_in>",
      "amount_in_raw": "<amount_in_raw>",
      "sender": "<sender>"
    },
    "name": "build_evm_dust_to_usdt_sweep"
  }
}

Input Schema

NameRequiredDescriptionDefault
senderYes
networkNobase
token_inYes
amount_in_rawYes
target_stableNoUSDT

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description still discloses meaningful behavior beyond the schema: non-custodial, exact-amount approvals, audited KyberSwap/OpenOcean routing, an 8-chain scope, and a 1.00% on-chain integrator fee. It does not disclose slippage/deadline handling, whether the returned calldata must be signed and broadcast by the caller, or the recipient of the swapped funds, which are material for a swap-building tool.

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 dense sentence that front-loads the verb and output artifact, then the goal, then the fee disclosure. No filler, hedging, or repetition; every clause carries information.

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 5-parameter mutation-building tool with no annotations, no output schema, and 0% schema coverage, the description should say more about the returned calldata shape and the amount/sender semantics. It conveys the purpose and economics well but leaves the caller guessing about output structure and parameter formats.

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 0%, so the description must carry parameter meaning, and it only partially does: 'target_stable' (USDT/USDC), 'network' (8 chains), and 'token_in' (dust token) are conceptually covered. Critical details are missing, notably that amount_in_raw is a raw atomic-unit string, which of the 8 chains are valid network values, and whether sender is the dust-holding wallet or the swap recipient.

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 output artifact ('Build ... ERC-20 approve + ... swap calldata') plus the goal ('consolidate any EVM dust token ... into USDT or USDC'), which is far more informative than a name restatement. It does not explicitly contrast with the overlapping sibling build_cross_chain_consolidation, so an agent must infer the boundary from the 'dust token sweep' framing.

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 implied by the goal clause (sweeping dust tokens into a stablecoin across 8 chains), but there is no explicit when-to-use/when-not statement and no named alternative such as build_cross_chain_consolidation or scan_evm_dust_and_hygiene. An agent can guess the context but gets no routing rules or prerequisites.

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.

Resources