Skip to main content
Glama

Prop Firm Rules (FloorGuard)

Check remaining drawdown room

check_drawdown
Read-onlyIdempotent

Remaining daily-loss and max-drawdown room in dollars for an account, the binding limit and breach flags, computed with the same model as the FloorGuard calculator. Same inputs as GET /api/v1/check.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
programYesProgram id from /api/v1/firms, e.g. ftmo_2step
todayPnlNoToday's P&L since the firm's daily reset, closed + open (default 0)
accountSizeYesNominal account size, e.g. 100000 (must be one of the program sizes when the rule is a fixed $ amount per size)
currentEquityYesCurrent equity including open P&L
highWaterMarkNoPeak the firm trails from (highest EOD balance / closed balance / intraday equity, per program mode). Default: computed like the site calculator
currentBalanceNoCurrent closed balance (default: currentEquity)
customDailyLossNoYour own daily loss limit in $ for programs without one (e.g. Topstep optional DLL)
dayStartBalanceNoBalance at the daily reset, if positions were held through it (default: currentEquity - todayPnl)
startingBalanceNoInitial balance the percentages apply to (default: accountSize)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the safety profile is covered. The description adds genuine value by disclosing what is returned (binding limit, breach flags) and that the model matches the FloorGuard calculator, but it omits any auth or rate-limit context. Adequate but not rich.

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?

Two tight sentences that front-load the tool's output and scope. Every clause carries information; only the trailing API cross-reference is borderline dispensable.

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?

No output schema exists, but the description enumerates the key return elements (remaining room, binding limit, breach flags), which is the essential return information. Given the fully documented schema and safety annotations, this is close to complete for a stateless read tool.

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%, so the schema already documents all nine parameters with defaults and units. The description adds nothing parameter-level beyond 'same inputs as GET /api/v1/check', so the baseline 3 applies.

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 computed resource: 'remaining daily-loss and max-drawdown room in dollars for an account', plus the binding limit and breach flags. This is clearly distinct from get_rules and list_firms, though it never names those siblings to reinforce the distinction.

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 by the tool's purpose (checking drawdown headroom); there is no explicit 'use this when X, use get_rules when Y' routing. The cross-reference to GET /api/v1/check gives some orientation but no when/when-not guidance.

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.