Skip to main content
Glama

monte_carlo

PAPER PREVIEW (sealed:false, is_keep:false, paper:true). Not a verdict; for a verdict use get_lab_desktop_handoff. Block bootstrap: resamples the net-of-fee trades of the full backtest of an ArenaScript strategy (the Lab's Rust engine, seed derived from the trade fingerprint, minimum 10 trades). Returns the percentiles of simulated equity, input_scope and the quota; the historical win frequency is neither a predictive probability, nor independent proof, nor a KEEP. Public pool: 8 per day per client, shared with play_public_round. engine_robustness_check(holdout_percent=0) gives exactly the same Monte Carlo.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "arenascript": "<arenascript>"
    },
    "name": "monte_carlo"
  }
}

Input Schema

NameRequiredDescriptionDefault
arenascriptYesArenaScript script (20,000 characters max).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / arenascript / description
      Previous value: -"Script ArenaScript (20 000 caractères max)."New value: +"ArenaScript script (20,000 characters max)."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (which only say it is not read-only, not destructive, not idempotent), the description discloses the quota (8 per day per client, shared with play_public_round), the minimum-trade prerequisite, deterministic seeding from the trade fingerprint, and the important caveat that historical win frequency is not a predictive probability or proof. This is meaningful behavioral context an agent could not get from the structured fields.

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 most decision-relevant fact (paper preview, not a verdict) is front-loaded, and each subsequent sentence adds distinct information rather than restating the name. The dense parenthetical jargon and long final sentence cost some readability, but nothing is filler.

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?

For a one-parameter tool with an output schema and partial annotations, the description covers execution model, quota, prerequisites, output contents, and interpretation caveats. An agent has everything needed to decide whether to call it and how to read the result.

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

Parameters4/5

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

The single parameter has 100% schema coverage, so the baseline would be 3; the description adds real meaning by explaining what the script is run through (the Lab's Rust engine, deterministic seed) and the minimum 10 trades requirement that constrains valid input. It does not document the 20,000-character limit, but the schema already does.

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 names a specific method (block bootstrap resampling of net-of-fee trades) applied to a specific input (an ArenaScript strategy's full backtest) and states the output shape (percentiles of simulated equity). It also explicitly labels the result a paper preview, not a verdict, which distinguishes it from get_lab_desktop_handoff and engine_robustness_check.

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

Usage Guidelines5/5

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

It gives an explicit routing rule: 'Not a verdict; for a verdict use get_lab_desktop_handoff,' and states that engine_robustness_check(holdout_percent=0) yields an identical result, which prevents a redundant call. It also names a shared quota with play_public_round, telling the agent when budget pressure applies.

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