Skip to main content
Glama

Backtest a strategy

simulate_strategy
Read-only

Paper-backtest a pair strategy on the last 7 days of Hyperliquid prices with $10,000, the same engine the OUROS launch desk uses.

Input Schema

NameRequiredDescriptionDefault
longNofixed / spread: first leg
typeYesHow the pair is chosen
exitZNospread: close when |z| falls under this (default 0.3)
shortNofixed / spread: second leg
entryZNospread: open when |z| reaches this (default 1.5)
perDayNomax USD opened per UTC day, at least 2 × perTrade (default 4000)
perTradeNomax USD per leg (default 1000)
universeYesHyperliquid market names, e.g. BTC, ETH, xyz:NVDA, xyz:GOLD
lookbackHNo
rebalanceHNo
maxLeverageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description usefully adds that execution is paper-only, that the window is fixed at the last 7 days, and that capital is fixed at $10,000 rather than parameterized — but it says nothing about determinism, runtime, or what the simulation returns.

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?

A single front-loaded sentence with no wasted preamble; the verb and core assumptions land immediately. The closing clause about the 'OUROS launch desk' engine is credibility framing rather than actionable information, which keeps it just short of a 5.

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

Completeness2/5

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

For an 11-parameter simulation tool with no output schema, the description should say what a backtest yields (equity curve, PnL, trade list) and whether results are reproducible. It also leaves the 7-day window and fixed $10,000 capital potentially in tension with perDay/perTrade parameters, without clarifying how the caps interact.

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 73%, above the midpoint, so the schema carries most of the load and a 3 baseline is appropriate. However, the description adds zero parameter-level meaning and does not compensate for the three undescribed enum parameters (lookbackH, rebalanceH, maxLeverage), nor does it explain how 'type' interacts with 'long'/'short'.

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 ('Paper-backtest a pair strategy') plus the data source (Hyperliquid prices) and fixed notional ($10,000), which no sibling tool offers. It is clearly distinguishable from get_markets, get_signals, and get_model_prices, though it never names those alternatives explicitly.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not-to-use guidance and does not point to any sibling tool for alternative workflows. 'Paper-backtest' implies a simulation rather than live execution, but that is the only usage signal and it is left implicit.

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