Skip to main content
Glama

trace_funds

Read-only

Trace funds in and out of an address for 1-2 hops to identify connections to known risky addresses like mixers, sanctioned wallets, and exploiters.

Instructions

Follow money in and out of an address for 1 or 2 hops and flag links to known risky addresses such as mixers, sanctioned wallets, and exploiters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hopsNoHow far to follow: 1 or 2.
chainNoChain name or ID: ethereum, base, arbitrum, polygon, or bsc.ethereum
addressYesAn EVM address: 0x followed by 40 hex characters.
directionNoin = where money came from, out = where it went.both
max_per_hopNoHow many counterparties to follow per step.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hopsYes
chainYes
edgesNo
nodesNo
addressYes
sourcesNo
findingsNo
data_gapsNoWhat we could not check. Missing data is not proof of safety.
directionYes
risky_linksNo
native_symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark the tool as read-only and non-destructive. The description adds useful behavioral context by capping traversal at 2 hops and explaining that it surfaces links to mixers, sanctioned wallets, and exploiters. There is no contradiction with the annotations, and the added risk-flagging behavior goes beyond the minimal safety signal.

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?

The description is a single sentence that front-loads the core action, then efficiently packs in the hop limit and risky-address flagging behavior. There is no filler, no restatement of the tool name, and every clause adds meaningful information.

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 tool with five parameters, an output schema, and supporting annotations, the description covers the essential purpose and behavior well. It does not explain output structure, but that is unnecessary because an output schema exists. An explicit usage distinction from sibling tools would make it fully complete.

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 address, hops, chain, direction, and max_per_hop are already documented. The description reinforces the concept of following money and hop limits but does not add parameter-level detail beyond the schema, placing it at the baseline.

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?

The description uses an active verb ('Follow') with a specific resource ('money in and out of an address') and defines the tool's scope ('1 or 2 hops'). It also clearly names the distinctive outcome ('flag links to known risky addresses'), which sets it apart from generic wallet/profile or token-risk siblings.

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 tracing behavior implies when to use it, such as investigating fund movement or the source/destination of funds. However, the description does not explicitly state when to prefer this over score_risk, check_token_risk, or get_wallet_profile, and it gives no exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.