Skip to main content
Glama

trace

Read-only

Follow the money out of one transaction on BNB Smart Chain, Ethereum, Base or Arc, wallet to wallet: native coin anywhere in its call tree (so a drainer contract's payouts count) and every token transfer it logged, then each receiving wallet's outgoing transfers that pass that amount on (first in, first out, wallets funded twice followed once for the sum), up to depth hops (1 to 5, default 3). A swap doesn't end the trail: it continues with what came back. Each trail ends at a mixer (Tornado Cash pools and routers on Ethereum and BSC, labeled with the pool), a contract (exchange, bridge, router, pool; known ones labeled), a busy exchange or service wallet, a wallet still holding the funds, a burn, or the depth limit; ends lists which, with the amount that reached it. Up to 80 hops. Not charged if the transaction isn't found (404) or moved nothing (422). Costs $0.01 per successful call in USDC on Base, Polygon, Arbitrum, Avalanche, BNB Smart Chain (USDT) or Solana, paid with x402 in the call's _meta; failed calls are free.

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": {
      "hash": "<hash>"
    },
    "name": "trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash on the chosen chain
chainNobsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)
depthNoHow many hops to follow, 1 to 5 (default 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / chain / description
      Previous value: -"bsc (BNB Smart Chain, the default), eth (Ethereum) or base (Base)"New value: +"bsc (BNB Smart Chain, the default), eth (Ethereum), base (Base) or arc (Arc)"
  2. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses the FIFO pass-through allocation rule, swap continuation behavior, a hard 80-hop cap and depth range, the full set of trail-ending conditions (mixer, contract, busy exchange wallet, still-holding wallet, burn, depth limit) and what 'ends' reports. It also spells out billing ($0.01 per successful call via x402 in _meta) and that failed or empty calls are free, which no annotation conveys.

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?

Purpose is front-loaded on the first line and the detail is ordered by importance: mechanics, termination, cost. The final sentence is dense and long, but nearly every clause carries operational value; only the mixer/router labeling detail is close to expendable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a graph-traversal tool with no output schema, it covers what is traversed, how far, where the trail stops, how the result encodes stopping points, plus cost and failure behavior. An agent has enough to call it correctly and to interpret the response shape without further documentation.

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 hash, chain and depth, including the enum and the 1-5 pattern. The description restates the depth default and expands chain names but adds no syntax or edge-case meaning beyond the schema, so the baseline 3 applies.

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?

Opens with a specific verb and resource: 'Follow the money out of one transaction' across named chains, wallet to wallet, including call-tree native coin and token transfers. The scope is unusually precise, but it never names or contrasts with a sibling (e.g. transaction-preview or exit-check), so the agent gets no explicit 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 implied by the required hash and the tracing semantics, and the description gives useful context about failure modes (404 when the transaction isn't found, 422 when it moved nothing) and cost. It never states when an agent should prefer this over a preview, scan, or exit-check tool, so selection guidance is left to inference.

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