Skip to main content
Glama
leverra-mcp

leverra-mcp

Official
by leverra-labs

Check a prop challenge account

check_challenge
Read-onlyIdempotent

Applies prop firm challenge rules to an account and returns passed, failed, or on-track with the reason, plus USD left to target, left to lose today, and above the drawdown floor.

Instructions

Applies a prop firm's challenge rules to an account and returns passed / failed / on-track, the reason, and the USD left to the target, left to lose today and above the drawdown floor. Daily loss is measured from the day's starting equity; a trailing floor follows the equity high and stops at the starting balance. Offline, same code as the Leverra rule checker.

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>",
      "equity": "<equity>",
      "day_start": "<day_start>",
      "peak": "<peak>",
      "days": "<days>"
    },
    "name": "check_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesTrading days done.
peakYesHighest equity so far, USD.
rulesYesEither { preset } or every field from size to min_days.
equityYesEquity now, USD.
day_startYesEquity at the start of today, USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the description earns credit for going further: it defines the predicate semantics (daily loss measured from the day's starting equity; trailing floor follows the equity high and stops at the starting balance). It omits what happens on malformed or contradictory rule sets (e.g., preset plus explicit fields), which would be the last behavioral gap.

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?

Three dense sentences with the outcome and return values front-loaded, then the calculation semantics, then provenance. No filler; the only questionable marginal value is the 'Leverra rule checker' reference, which does help establish it is the same offline engine.

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?

With 5 required parameters, a nested rules object, and no output schema, the description supplies exactly what is missing: the return shape and the two non-obvious calculation rules (daily loss reference point, trailing floor cap). Field-level detail for rules is already fully documented in the schema.

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?

Schema coverage is 100%, so 3 is the baseline, but the description adds genuine meaning beyond the schema by explaining how day_start is used for daily loss and how peak interacts with a trailing drawdown floor. The rules/preset resolution precedence is left to the schema text.

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 ('applies a prop firm's challenge rules to an account') and enumerates the outputs (passed/failed/on-track, reason, USD left to target, left to lose today, above floor). It does not differentiate itself from the closely related sibling 'replay_challenge', which keeps it from a 5.

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?

Usage is only implied: the tool evaluates a challenge-rule set against current account state, and 'Offline, same code as the Leverra rule checker' signals that it is a pure simulation rather than a live action. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as replay_challenge.

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