Skip to main content
Glama
CaioAllgayer

TradeLab-MCP

by CaioAllgayer

compile

Convert MQL4/MQL5 source files into executable experts via MetaEditor and publish them to Experts/TradeLab MCP for backtesting.

Instructions

Compile a .mq5/.mq4 source via MetaEditor and publish it to Experts/TradeLab MCP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYes
includeNo
publishNo
log_fileNo
timeout_secNo
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It does disclose two key traits: external compilation via MetaEditor and a publish side effect to a named destination. However, it stays silent on failure modes, log output, whether artifacts are overwritten, and the ability to compile without publishing via the publish=false option.

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 a single, front-loaded sentence with no filler. It identifies the action, resource type, mechanism, and destination efficiently, which is ideal for a tool-level summary.

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 a five-parameter build tool with no output schema and no annotations, this description is not complete enough. It omits expected return/status information, workflow placement relative to backtesting or validation, side effects of publishing, and error behavior. An agent can invoke the tool from the schema but cannot reliably predict the outcome.

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%, and the description only clarifies `source` by restricting it to .mq5/.mq4 files. The remaining parameters — `include`, `publish`, `log_file`, and `timeout_sec` — receive no semantic explanation, so the agent must rely solely on names and defaults.

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 states a specific action ('Compile') on a well-defined resource type (.mq5/.mq4 source), names the tooling (MetaEditor), and gives a clear destination ('Experts/TradeLab MCP'). This differentiates it from sibling validation and testing tools even without cross-references.

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 guidance on when to use this tool versus siblings such as validate_ea_standard or run_backtest. It also does not mention prerequisites, workflow ordering, or cases where compile should or should not be used. Usage context must be inferred entirely from the name and schema.

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

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/CaioAllgayer/TradeLab-MCP'

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