Skip to main content
Glama
tradeparadex

Paradex MCP Server

by tradeparadex

Pre-Trade Check

paradex_pre_trade_check
Read-onlyIdempotent

Validate a trade idea by checking account health, free collateral, position, and market constraints. Returns a ready-to-trade flag with reasons if not ready.

Instructions

Validate a trade idea before submitting an order.

Use this tool when you need to:
- Confirm your account has sufficient free collateral for a trade
- Check whether a given order size is within market limits
- Get current bid/ask and existing position in one call
- Receive a single ready_to_trade flag with human-readable reasons if not ready

Use this instead of calling paradex_account_summary, paradex_account_positions,
paradex_market_summaries, and paradex_markets separately before placing an order.

Returns:
- account_status: account health (ACTIVE, LIQUIDATION, etc.)
- free_collateral: available collateral for new positions
- current_position: existing open position in this market, if any
- bbo: best bid/ask, mark price, and current funding rate
- market_constraints: tick size, min notional, position limit, order size increment
- estimates: fee, slippage, funding cost, and break-even using the account's actual fee tier
- ready_to_trade: True when account is healthy, collateral is positive,
  and size is within market limits
- not_ready_reasons: list of reasons why ready_to_trade is False (empty when True)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYesMarket symbol, e.g. 'BTC-USD-PERP'.
sideYesOrder side: 'BUY' or 'SELL'.
sizeYesDesired order size in base asset units.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYes
sideYes
sizeYes
account_statusYes
free_collateralYes
current_positionYes
bboYes
market_constraintsYes
estimatesYes
ready_to_tradeYes
not_ready_reasonsYes
Behavior5/5

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

Annotations indicate readOnlyHint and idempotentHint are true. The description confirms this is a validation check (not a mutation) and adds detailed behavioral context: returns account status, free collateral, current position, bbo, market constraints, estimates, ready flag, and reasons. There is no contradiction with annotations, and the description provides rich behavioral details beyond the annotations.

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?

The description is concise and well-structured, using bullet points for usage scenarios and return fields. Every sentence adds value, and the layout makes it easy to scan. No redundant or extraneous information.

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?

Given the tool's complexity (3 required params, no nested objects, presence of output schema), the description provides a thorough overview of all return fields (account_status, free_collateral, current_position, bbo, market_constraints, estimates, ready_to_trade, not_ready_reasons). This fully informs the agent about what to expect and how to interpret results.

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 baseline is 3. The description mentions the three parameters (market_id, side, size) but does not add new semantic information beyond what is already in the schema (e.g., 'Market symbol, e.g. BTC-USD-PERP' is already in schema). It reinforces the context but does not enhance meaning.

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 explicitly states 'Validate a trade idea before submitting an order.' It lists specific use cases (confirming collateral, checking market limits, getting bid/ask and position) and clearly distinguishes from sibling tools by suggesting it replaces multiple separate calls. The verb-resource combination is specific and unambiguous.

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?

The description provides explicit guidance on when to use this tool: to confirm sufficient free collateral, check order size within market limits, get current bid/ask and position, and receive a ready_to_trade flag. It also directs users to use this instead of calling other tools like paradex_account_summary, etc., clearly indicating when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tradeparadex/mcp-paradex-py'

If you have feedback or need assistance with the MCP directory API, please join our Discord server