Skip to main content
Glama

Follow the funds out of a wallet, hop by hop

follow_funds
Read-only

Follow the main stream of money out of one wallet, hop by hop, until it reaches an exchange (with the deposit address), a bridge, a mixer or a swap (it names the asset bought, to follow next), or comes to rest. On Solana, an EVM chain, Bitcoin or Tron. Each hop says how the money went, with its transaction. Money put into common DeFi positions is read back, and the walk goes on from the wallet paid; tokens put into a lock end it as locked. At a bridge it says where the money landed on the other chain when that is known: follow on from that wallet, on its chain. One wallet per call. Costs 2 credits, or without an API key $0.10 paid per call with x402; refunded (never settled) if it fails. Can take up to two minutes.

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": {
      "address": "<address>"
    },
    "name": "follow_funds"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetNoOptional: "native" (SOL, ETH...), or a token's mint or contract. Whatever left the wallet otherwise (dollars first).
chainNoThe chain, when the address's form doesn't say it: an EVM chain for a 0x address (ethereum by default).
sinceNoOptional: only outflows from this time on (Unix seconds), e.g. a hack's time.
untilNoOptional: the end of the incident's window (Unix seconds): nothing that moved after it is followed, on any hop.
addressYesThe wallet to follow from: Solana or Tron base58, 0x (EVM) or Bitcoin.
branchesNoBranches followed at each wallet: 1 keeps to the main stream; 2 to 5 also follow the largest branches, listed as side trails.
max_hopsNoHops at most.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / chain / enum
      Previous value: -[
      -  "solana",
      -  "ethereum",
      -  "base",
      -  "arbitrum",
      -  "robinhood",
      -  "bsc",
      -  "polygon",
      -  "bitcoin",
      -  "tron"
      -]New value: +[
      +  "solana",
      +  "ethereum",
      +  "base",
      +  "arbitrum",
      +  "robinhood",
      +  "bsc",
      +  "polygon",
      +  "hyperevm",
      +  "bitcoin",
      +  "tron"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / branches / description
      Previous value: -"Branches followed at each wallet: 1 keeps to the main stream and stops where it splits; 2 to 5 also follow the largest branches, listed as side trails."New value: +"Branches followed at each wallet: 1 keeps to the main stream; 2 to 5 also follow the largest branches, listed as side trails."
  3. Changed1 schema field changed
    • changedInput schema / properties / branches / description
      Previous value: -"Branches followed at each wallet: 1 keeps to the main stream and stops where it splits; 2 to 5 also follow the largest branches (each a tenth of what arrived or more), listed as side trails."New value: +"Branches followed at each wallet: 1 keeps to the main stream and stops where it splits; 2 to 5 also follow the largest branches, listed as side trails."
  4. Changed2 schema fields changed
    • addedInput schema / properties / branches
      Added value: +{
      +  "default": 1,
      +  "description": "Branches followed at each wallet: 1 keeps to the main stream and stops where it splits; 2 to 5 also follow the largest branches (each a tenth of what arrived or more), listed as side trails.",
      +  "maximum": 5,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / until
      Added value: +{
      +  "description": "Optional: the end of the incident's window (Unix seconds): nothing that moved after it is followed, on any hop.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  5. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the exact stopping conditions of the walk, DeFi-position read-back, that locked tokens end the walk, that bridge continuations are only possible when the landing chain is known, the cost model (2 credits or $0.10 x402, refunded if it fails) and a latency bound of up to two minutes. These are exactly the operational facts an agent needs before committing a call.

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 and stop conditions, then chain support, then cost and latency; nearly every clause carries information. It is dense and partly run-on, and the DeFi/lock sentence could be tightened, but nothing is padding.

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?

No output schema exists, yet the description explains what comes back: per-hop movement with its transaction, exchange deposit addresses, the asset bought at a swap, and post-bridge landing wallets. Combined with cost, latency and termination rules, an agent has everything needed to call it and interpret results.

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 baseline is 3. The prose reinforces key semantics — one wallet per call, branch limiting to side trails, and the stop-at-window behavior — but does not add format or interpretation detail beyond what the schema fields already state.

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?

A precise verb+resource statement: following the main money stream out of one wallet hop by hop, naming the stop conditions (exchange with deposit address, bridge, mixer, swap, rest) and the supported chains. It is unambiguous on its own, but never distinguishes itself from the closest sibling (trace_transfer) or explains what it adds over a single transaction trace.

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 context is implied by the investigative framing and by 'One wallet per call', and the bridge case tells the agent to follow on from the landing wallet. There is no explicit when-to-use/when-not guidance, and no mention of when an alternative sibling would be the better pick.

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