Skip to main content
Glama

Prop-Challenge Compliance & Drawdown Check

warden.prop_challenge_check
Read-onlyIdempotent

Validates proposed trades against prop-firm daily loss, overall drawdown, consistency, and target-lock rules to flag compliance risks before execution; never places orders.

Instructions

Checks a proposed trade against TwoStep or OneStep prop-firm drawdown and consistency rules.

Evaluates hard and safe daily loss floors, overall drawdown stop, 30-40% single-day consistency cap, 0.55x Target-Lock Taper when >=70% of profit target is banked, and friction-adjusted trade risk. Pure risk/compliance rules — never places orders.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "warden.prop_challenge_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
spread_bpsNoEstimated round-trip bid-ask spread in basis points.
format_typeNoChallenge format: 'TwoStep' (default 5% daily / 10% max loss) or 'OneStep' (4% daily / 6% max loss).TwoStep
current_equityNoCurrent account equity in USD.
initial_balanceNoInitial prop-challenge evaluation balance in USD.
planned_hold_daysNoPlanned holding period in trading days.
profit_target_pctNoPhase profit target fraction (e.g. 0.08 for 8%).
proposed_risk_usdNoOptional proposed dollar stop-loss risk for the next trade.
max_loss_limit_pctNoHard overall drawdown limit fraction (e.g. 0.10 for 10%).
overnight_swap_bpsNoEstimated daily overnight financing/swap drag in basis points.
consistency_cap_pctNoMaximum single-day share of total profit allowed by consistency rules (e.g. 0.40 for 40%).
daily_loss_limit_pctNoHard daily drawdown limit fraction (e.g. 0.05 for 5%).
prev_day_close_equityNoPrevious trading day's closing equity in USD.
proposed_notional_usdNoOptional proposed order notional in USD (used for spread/swap friction).
largest_single_day_profitNoLargest realized single-day profit so far in the evaluation (USD).

Output Schema

NameRequiredDescriptionDefault
howNo
toolNo
errorNo
accessNo
floorsNo
safetyNo
verdictNo
provenanceNo
violationsNo
format_typeNo
proposed_tradeNo
consistency_ratioNo
request_access_atNo
simulation_handoffNo
consistency_cap_pctNo
daily_profit_lockedNo
target_lock_taper_activeNo
recommended_risk_multiplierNo
max_recommended_trade_risk_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description adds substantive behavior beyond that by naming the rule logic applied, including the 0.55x Target-Lock Taper trigger at >=70% of profit target and friction-adjusted risk, and by explicitly asserting it never places orders. Return values are not described, but an output schema exists, so that omission is acceptable.

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?

Two short paragraphs with the purpose and scope front-loaded, followed by a compact enumeration of the rules checked. Every sentence carries information and nothing is repeated from the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter tool the description is appropriately scoped: it explains what the tool evaluates, that all inputs are optional-with-defaults in spirit, and that it is analysis-only, while schema and output schema carry the field-level and return-value detail. The remaining gap is that it says nothing about what a failing verdict looks like or which rule takes precedence when multiple limits are breached.

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 description coverage is 100% across 14 parameters, so units, defaults and ranges are already documented and the baseline is 3. The description adds a little interpretive meaning by explaining how consistency_cap_pct (30-40% single-day cap) and profit_target_pct (taper at >=70% banked) interact, but it does not cover the equity, notional, or swap parameters at all.

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 ('Checks a proposed trade against TwoStep or OneStep prop-firm drawdown and consistency rules') and then enumerates the exact rule families evaluated, so an agent knows precisely what analysis it returns. It does not name an adjacent sibling such as warden.validate_order or warden.cost_check, so the differentiation is carried by the rule enumeration and the 'never places orders' boundary rather than explicit routing.

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 phrase 'Checks a proposed trade' plus 'Pure risk/compliance rules — never places orders' implies the pre-trade compliance use case and rules out execution, which is useful implied guidance. However, there is no explicit when-to-use statement, no prerequisites (e.g. that equity figures must be current), and no direction on when to prefer this over a sibling like warden.validate_order.

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