Skip to main content
Glama
Dor1Toes

BackTest_MCP

by Dor1Toes

generate_backtest_report

Generate a Markdown tearsheet report from a completed backtest equity curve. Provide the job ID to get a formatted report with performance metrics.

Instructions

Build a Markdown tearsheet report from a completed backtest's equity curve.

Args: job_id: Completed backtest job (must have an equity_curve artifact). title: Optional report heading; defaults to "Backtest {job_id}".

Returns: On success: {"ok": true, "job_id": str, "title": str, "format": "markdown", "path": str, "content": str}. Also registers a report_markdown artifact. On missing equity curve: {"ok": false, "error": str}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
job_idYes
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses success/failure return shapes, the side effect of registering a report_markdown artifact, and the default title behavior, which is beyond minimal.

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?

The description is concise and well-structured, with a leading purpose sentence followed by clearly labeled Args and Returns sections. No redundant or unnecessary information.

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?

The description covers prerequisites, parameters, return types, error cases, and side effects. For a simple report generator with no annotations or output schema, it is fully complete.

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

Parameters5/5

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

With 0% schema coverage, the description fully describes both parameters: job_id's requirement for an equity_curve artifact and title's optionality with a computed default, adding critical meaning.

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?

The description opens with a specific verb and resource: 'Build a Markdown tearsheet report from a completed backtest's equity curve.' This clearly distinguishes it from siblings like get_backtest_result or run_backtest_dynamic.

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?

It states the prerequisite that the job_id must refer to a completed backtest with an equity_curve artifact, implying when to use it. However, it does not explicitly name alternative tools or provide when-not-to-use guidance.

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/Dor1Toes/BackTest_MCP'

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