Skip to main content
Glama

Trace where money came from or went

trace_funds
Read-onlyIdempotent

Follow money between addresses. direction in: who sent funds to this address, hop by hop back, plus who first funded it. out: where its funds went, hop by hop forward. both: its largest counterparties either way. Exchanges and protocols end a path. Returns the 15 largest flows. Example: { address: "0x...", direction: "in", depth: 2 }.

Input Schema

NameRequiredDescriptionDefault
coinNoOnly this coin (coin type or symbol).
depthNoHops to follow, 1 to 3. Default 2.
minUsdNoSkip flows smaller than this many USD. Default 10.
addressYesA Sui address (0x...), a SuiNS name like example.sui, or @example.
directionNoin (sources), out (destinations) or both (top counterparties). Default in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses that exchanges and protocols terminate a path and that only the 15 largest flows are returned — both materially affect interpretation. It doesn't cover what happens with zero results, partial coverage, or how depth interacts with the flow cap, leaving some behavioral gaps.

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?

Front-loaded with the core action, then direction semantics, then a concrete example call — no filler sentences. The telegraphic fragment style ("direction in: ...") is dense but slightly clipped, which costs a point against fully readable prose.

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 5-parameter read tool with no output schema it covers the essentials: modes, depth cap, minimum flow threshold, and the shape of results (15 largest flows, paths ending at exchanges/protocols). It stops short of describing the fields in a returned flow, which would close the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 description adds genuine meaning: "in" is expanded to include hop-by-hop predecessors plus the original funder, and "both" is defined as largest counterparties rather than a union of in/out. That is interpretation the schema does not supply.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Follow money between addresses" names a specific verb and resource, and the per-direction breakdown makes the scope concrete. It is clearly distinguishable from siblings like wallet_history or explain_transaction, which describe activity or a single tx rather than hop-by-hop fund tracing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description tells the agent which direction value to pick for which question (who funded it vs where funds went vs top counterparties), which is real usage guidance. It doesn't name an alternative sibling tool or state when not to use it, so it stops short of a 5.

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