Skip to main content
Glama
QuantConnect

QuantConnect

Official
by QuantConnect

check_initialization_errors

Read-only

Run a short backtest to initialize your algorithm and identify any initialization errors, enabling rapid debugging.

Instructions

Run a backtest for a few seconds to initialize the algorithm and get inialization errors if any.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNoState of the backtest.
versionNoVersion of the response.
payloadNoInformation about the backtest initialization.
payloadTypeNoType of the payload.
Behavior2/5

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

The description states 'run a backtest' which may imply a mutation, but annotations declare readOnlyHint=true, creating a contradiction. The description does not clarify the actual side effects or scope of the initialization check, leaving ambiguity.

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 description is a single sentence, concise for the core purpose. However, it could be improved by clarifying the parameters and side effects without adding much length.

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?

Given the complexity of the input (nested objects) and lack of parameter guidance in the description, the tool is incomplete for an agent. The description does not explain prerequisites or the structure of the required model parameter, despite an output schema existing.

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

Parameters1/5

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

The input schema has 0% description coverage, meaning no parameter info in the schema's top-level description. The tool description fails to mention the required 'model' parameter (with language and files), leaving the agent without guidance on what to provide.

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 clearly states the tool's action (run a backtest briefly), its purpose (initialize algorithm and get errors), and the result (errors if any). It distinguishes from siblings like check_syntax and create_backtest by focusing specifically on initialization errors from a short run.

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?

The description implies when to use (to check initialization errors without a full backtest) but lacks explicit guidance on when not to use or how it differs from alternatives like check_syntax or create_backtest.

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/QuantConnect/mcp-server'

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