Skip to main content
Glama

MAD Synapse · Pump & LP

Copy-trade backtest

copy_backtest
Read-onlyIdempotent

Would copying this wallet have made money? Replays its pump.fun entries and exits 0–25 slots late on the recorded curve and shows where the edge dies. Takes the wallet's pump.fun positions over the last 1–14 days and simulates a copier that buys the same token and sells when the leader sells, arriving 0, 1, 2, 5, 10 or 25 slots (0–10 s) late. Fills use the bonding-curve reserves our tape recorded at that moment, including curve fees and the copy's own price impact. Returns PnL, win rate and ROI per latency, the leader's own median ROI for contrast, and a verdict: copyable, latency-sensitive (edge gone by N slots), or not copyable. A wallet that looks great on its own PnL often loses money for anyone who follows it. When to use: After pump_wallet or smart_money, to check copying survives realistic delay. Price: $0.03 per call (10 free/day; after that a payment-required result lists x402 options). Errors: returns isError with a message for invalid input or an upstream failure (not charged).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoHow many days of the wallet's history to replay. Range 1-14. Default 3.
exitNosell on the leader's first sell, or once it has sold 90%. Default "first_sell".first_sell
walletYesleader wallet to copy. Base58 Solana address, 32-44 chars.
size_solNoSOL per copied entry. Range 0.01-10. Default 0.1.
max_positionsNomost recent positions to replay. Range 10-300. Default 150.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
foundNo
labelNo
setupNo
by_lagNo
walletNo
verdictNo
fast_flips_pctNo
biggest_at_2_slotsNo
leader_median_roi_pctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly/idempotent/non-destructive): it discloses the fill model (bonding-curve reserves from the recorded tape, including curve fees and the copy's own price impact), the latency grid, the returned verdict categories, and pricing ($0.03/call, 10 free/day, x402 payment-required result). It also clarifies that upstream errors return isError and are not charged.

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-loads the core question and the mechanism, then layers simulation details, output, verdict, and operational notes (cost, errors). Dense but mostly non-redundant; the motivating line about wallets that look great on their own PnL earns its place as rationale, though the prose runs long.

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?

Given an output schema exists, the description need not explain returns, yet it summarizes PnL/win-rate/ROI per latency and the verdict anyway. Combined with cost, error behavior, and the when-to-use hook, nothing an agent needs to call it correctly is missing.

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 every parameter is already documented with ranges, defaults and the exit enum. The description reinforces the meaning ('last 1-14 days', 'sells when the leader sells') but adds no syntax or semantics beyond what the schema provides. Baseline 3 is appropriate.

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?

States a specific verb+resource (replays a wallet's pump.fun entries/exits) and frames it with a concrete question ('Would copying this wallet have made money?'). It explicitly distinguishes itself from sibling tools by naming pump_wallet and smart_money as the upstream steps, so an agent can place it in the workflow without opening the schema.

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

Usage Guidelines5/5

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

'When to use: After pump_wallet or smart_money, to check copying survives realistic delay' gives both the trigger condition and the alternatives it complements. It also states cost and error semantics, leaving no routing or invocation ambiguity.

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