Skip to main content
Glama

Agent Data API

memecoin_backtest

Backtest a memecoin strategy before you trade it: your screen filters + exits (take-profit tiers, stop, trailing, time stop) replayed on every graded pump.fun token at 5/15/30/60 min of age, or on a preset's live signal ledger. Win rate, avg/median return after fees, exit reasons, per-day results, best/worst trades. 1-minute bars, stop first. Price: $0.01 per call (x402, USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
exitsNo
entryAtNo
strategyNo
costPctPerSideNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses simulation assumptions ('1-minute bars, stop first'), that returns are net of fees, and that the tool is a paid x402 endpoint at $0.01/call in USDC. Missing are execution traits like latency, result caps, or what happens on insufficient payment, but the core behavioral profile is unusually well covered.

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?

The purpose leads, followed by mechanics, output, and pricing in a tight three-sentence block with no filler. The middle sentence is dense with parenthetical enumerations, but every clause carries information an agent would otherwise have to discover by calling.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by naming the returned metrics (win rate, avg/median return after fees, exit reasons, per-day results, best/worst trades). The simulation basis and pricing are covered. The significant remaining hole is the five completely undocumented input parameters, especially which are optional and what shape 'exits'/'strategy' objects take.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for five parameters (including two nested objects), so the description must compensate and it only partly does. It explains the concepts behind 'exits' (take-profit tiers, stop, trailing, time stop) and hints at 'strategy' (screen filters) and 'costPctPerSide' (fees), but it never maps these to the parameter names, and 'entryAt' and 'days' are left entirely unaddressed.

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?

The description states a specific verb and resource ('Backtest a memecoin strategy') and enumerates exactly what is replayed (screen filters + exit rules on graded pump.fun tokens or a preset's live signal ledger), so the function is unambiguous. It does not name the sibling it contrasts with (e.g. memecoin_exit_check for live exits, memecoin_screen for filtering), so an agent must infer the boundary itself.

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?

'before you trade it' implies a pre-trade validation context, and the two data sources (all graded tokens vs. a preset's signal ledger) hint at a mode choice. However, there is no explicit when-to-use/when-not or routing statement relative to memecoin_screen, memecoin_exit_check, or memecoin_track_record, leaving the selection to inference.

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