Skip to main content
Glama

backtest_wallet

FULL COPY: replays the copy of a wallet over a date window with the backtest engine of the wallet page on quantbloc.com (FULL COPY tab), same settings, same defaults, same results. Returns what the copy would have staked and returned at 4 fee levels (brut = gross, programme = + platform fees, net = + priority and Jito, tout_compris = + bot commission), the summary (winners, lowest point, worst drawdown, losing streak) and the token-by-token detail. Optional dev settings (dev_vendu_min_pct, dev_present, dev_vente_seuil_pct + dev_vente_vendre_pct): The dev = the wallet that SIGNS the token creation transaction and buys in it (if the creation has no buy, the registered creator; buys of OTHER transactions of the creation block are never attributed to the dev). Optional entry/exit settings: hausse_max_pct, age_min_s / age_max_s, heure_debut / heure_fin, premiere_vente_pct (see each parameter). ASYNCHRONOUS: the first call starts the computation and returns etat=en_cours with estimation_restante_s (estimated seconds left); call again with EXACTLY the same parameters to get etat=pret (ready). etat=file = yours is queued (raison_attente says why, attente_estimee_s when it should start), call again later. A result already computed (on the site or here) is returned without recomputing and does not count against the limit. There is NO limit on the number of backtests: the only limit is the account's token budget, shared with the website (etat=limite_jour says when it is reached). One computation runs at a time per key (backtest and TP/SL optimisation alike): while one is running, wait for it to finish (call it again with its parameters), then start the next one; this is not a quota. Amounts in dollars, net of all fees at the tout_compris level.

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": {
      "adresse": "<adresse>"
    },
    "name": "backtest_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
blocNoCopier entry: end of block 0, +1 or +2 after the wallet's buy (default 0, like the wallet page)
jitoNoJito tip in $ per transaction (default 0.03; 0 to 10)
miseNoFixed stake in $ per copied buy (default 30, max 10,000)
pageNoPage of the token-by-token detail
prioNoPriority fee in $ per transaction (default 0.11; 0 to 10)
achatNoachete = copy its buys (default); cree = buy the tokens it creates
depuisNoStart of the window, YYYY-MM-DD, UTC, included (default: 30 days ago)
jusquaNoEnd of the window, YYYY-MM-DD, UTC, EXCLUDED (default: tomorrow; "from the 22nd to the 25th" = depuis 22, jusqua 26). Capped at tomorrow.
lancerNofalse = only return what is already computed, never start a computation (default true)
ventesNoHow its sells are copied: pct_sa_position (default) = sell the same % of my position as it sells of its own; pct_ma_position = sell my whole position at its first sell; pct_sa_vente = sell the same $ amount as it does; fixe = a fixed $ amount per sell (see vente_usd); none = never copy its sells
adresseYesFull wallet address (base58)
mc_max_kNoMaximum market cap at our entry, in thousands of $ (empty = none)
mc_min_kNoMinimum market cap at our entry, in thousands of $ (empty = none)
mise_pctNoStake as a % of ITS stake (replaces mise; 0 < x <= 1000)
par_pageNoRows of the token-by-token detail (default 100, max 200)
age_max_sNoBuy only if the token is at most X seconds old at HIS buy (same age as age_min_s; age_min_s <= age_max_s).
age_min_sNoBuy only if the token is at least X seconds old at HIS buy (block time of his buy minus block time of the creation block, bounds included; 0 to 31622400; empty = no filter). Token created before our block archive (10/09/2026): its age is at least the time since the archive start; the buy passes age_min_s when that lower bound already reaches it (counted as age_borne_basse), is refused by age_max_s when the bound exceeds it, otherwise it is refused as unknown. Unknown age = buy refused (counted).
delai_minNoSell X minutes after the copied buy (default 0 = never; max 10,080). TP CONFIG: used only with jamais=delai, default 30
heure_finNoBuy only if HIS buy is before this time of day, HH:MM, Paris time (empty = until 24:00)
vente_usdNoAmount sold in $ per sell when ventes=fixe (default 30)
max_achatsNoCopied buys of the wallet PER TOKEN (default 1 = only its first buy on each token; 0 = all, max 1000). Not a limit on the number of backtests
dev_presentNotrue = buy only if the dev still holds the token before our entry block; false = only if he holds nothing (empty = no filter). Token transfers count here (tokens that left his wallet). The dev = the wallet that SIGNS the token creation transaction and buys in it (if the creation has no buy, the registered creator; buys of OTHER transactions of the creation block are never attributed to the dev).
heure_debutNoBuy only if HIS buy is at or after this time of day, HH:MM, Paris time, block time (empty = from 00:00). With heure_fin: window [heure_debut, heure_fin[, across midnight if heure_debut > heure_fin; both equal is refused.
delai_achat_sNoWait X seconds before buying (default 0; max 3600)
commission_pctNoCopy bot commission in % (default 0.5; 0 to 50)
hausse_max_pctNoDo not buy if OUR entry price is more than X% above HIS price right after his own buy (0 to 10000; empty = no filter). His price after = the chain reserves after his transaction, else the bonding-curve formula on his trade; when it is unknown the buy is refused (counted as refuses_hausse_inconnue).
dev_vendu_min_pctNoBuy only if the dev has ALREADY taken out at least X% of his position before our entry block (0 to 100; empty = no filter). A dev who never held the token does not pass, even at 0. The dev = the wallet that SIGNS the token creation transaction and buys in it (if the creation has no buy, the registered creator; buys of OTHER transactions of the creation block are never attributed to the dev).
premiere_vente_pctNoAt HIS first sell after our first copied buy, sell X% of OUR position (0 < x <= 100) instead of the `ventes` rule; later sells follow `ventes` (none = no other sell is followed). A sell triggered by the dev is never his first sell.
dev_vente_seuil_pctNoExit: when the dev SELLS at least X% of his position in one transaction (0 = his smallest sell; 0 to 100), sell dev_vente_vendre_pct% of ours, at the price rule of copied sells. A token transfer is NOT a sell and never triggers it. Goes with dev_vente_vendre_pct. The dev = the wallet that SIGNS the token creation transaction and buys in it (if the creation has no buy, the registered creator; buys of OTHER transactions of the creation block are never attributed to the dev).
dev_vente_vendre_pctNoShare of OUR position sold when dev_vente_seuil_pct triggers (0 < x <= 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations the description carries the full burden and does so: it discloses asynchronous polling semantics with all four etat states, result caching, the token-budget limit shared with the website, no backtest-count quota, one-computation-per-key serialization, and the four fee levels used in the returned amounts. It also defines the 'dev' attribution rule, which materially changes results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose and the async caveat are front-loaded, which is correct, but the text is a dense wall of clauses. The dev attribution sentence ('the wallet that SIGNS the token creation transaction...') is repeated three times verbatim, which is pure waste given the schema already carries it.

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 30-parameter asynchronous tool with no output schema, the description still explains what comes back: stake and return at four fee levels (brut, programme, net, tout_compris), a summary with winners, lowest point, worst drawdown and losing streak, plus token-by-token detail with pagination. Nothing an agent needs to call and interpret it 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 coverage is 100% across 30 parameters, so the baseline is 3 and the schema already documents each field. The description adds grouping (dev settings, entry/exit settings) and a repeated dev definition, but the per-parameter meaning is largely restated from the schema rather than adding new semantics.

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?

States a specific verb and resource: 'replays the copy of a wallet over a date window' using the site's own FULL COPY engine, with parity claimed (same settings, same defaults, same results). The purpose is unmistakable. Sibling differentiation is only partial: it mentions TP/SL optimisation shares the concurrency lock but never routes the agent elsewhere, so an agent must infer it is not the optimizer.

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?

Strong operational guidance: explains the async protocol (call once, poll with EXACTLY the same parameters), queued state, cached results not counting against the budget, the single-concurrent-computation rule, and 'lancer=false' for read-only retrieval. It does not explicitly state when to prefer optimize_tp_sl or get_wallet instead, so alternatives are implied rather than named.

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