Skip to main content
Glama
the-staq

TradeStaq MCP

Official

what_if_backtest

Backtest a trading strategy with custom parameters to evaluate performance metrics before live deployment.

Instructions

Run a backtest on a strategy. Async, may take 30-120 seconds. Returns full performance metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNo3m
symbolNoBTC/USDT
exchangeYesExchange account ID (use list_exchanges to find)
timeframeNoCandle timeframe (e.g. 1h, 4h, 1d)1h
strategyIdYesStrategy ID to backtest
initialBalanceNo
Behavior3/5

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

No annotations present, so description carries full burden. It discloses async nature and timing, but lacks details on idempotency, concurrency limits, or side effects. Adds moderate value.

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?

Three concise sentences covering purpose, async behavior, and return type. No unnecessary words, front-loaded with key information.

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?

Covers high-level purpose and async timing, but lacks parameter guidance, error scenarios, or output specifics. No output schema, and many sibling tools exist. Adequate but not comprehensive.

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 50% (some params described). Description adds no param details, failing to compensate for the uncovered parameters. Baseline of 3 not justified due to incomplete coverage.

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?

Description clearly states the action ('Run a backtest') and the resource ('on a strategy'). It differentiates from sibling tools like 'get_backtest_results' which retrieves existing results.

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?

Provides timing guidance ('Async, may take 30-120 seconds') but no explicit when-to-use or alternatives for already-run backtests. Limited differentiation from related tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/the-staq/tradestaq-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server