Skip to main content
Glama
leverra-mcp

leverra-mcp

Official
by leverra-labs

Replay a challenge day by day

replay_challenge
Read-onlyIdempotent

Replays daily equity against prop-firm rules to find the first passing or breached day, checking intraday lows before closes. Runs offline.

Instructions

Walks daily equity (open, close, optional intraday low/high) through a prop firm's rules and stops at the first pass or breach. The low is checked before the close, so a day that dips through a limit and closes green still fails. Offline.

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": {
      "rules": "<rules>",
      "days": "<days>"
    },
    "name": "replay_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYes
rulesYesEither { preset } or every field from size to min_days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral value beyond them: it discloses the evaluation order ('the low is checked before the close') and the short-circuit rule ('stops at the first pass or breach'), including the counterintuitive case where a day dips through a limit but closes green. It does not say what the terminal result contains, which keeps it below a 5.

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 short sentences: what it does, the one non-obvious ordering rule, then an offline note. No filler, and the most important behavioral caveat is front-loaded right after the purpose.

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?

There is no output schema, so the description carries the burden of explaining the return value, yet it never says whether the response reports the passing/breaching day, the equity series, or a boolean. For a simulation tool that stops early, a caller cannot predict the result shape. The rest, purpose and evaluation semantics, is well covered.

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

Parameters3/5

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

Schema coverage is 50%, with only the rules.preset, size, min_days, trailing and pct fields documented inline. The description mirrors the days shape ('open, close, optional intraday low/high') but adds nothing about the either/or constraint on rules or how optional fields like date and high affect evaluation. Adequate, not compensatory.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: it walks daily OHLC equity through prop-firm rules and halts at the first pass or breach. That is concrete enough to distinguish it from a status-style sibling like check_challenge, but the description never names an alternative to route against.

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?

Use context is implied by 'walks daily equity ... through a prop firm's rules' and the trailing 'Offline.', which signals a pure simulation with no data fetching. There is no explicit statement of when to prefer this over check_challenge or what inputs are prerequisites, so guidance remains inferred.

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