Skip to main content
Glama
Eurobertics

MCP Pionex Management

by Eurobertics

Check futures grid parameters

pionex_bot_check_futures_grid_params
Read-only

Validate futures grid bot parameters and estimate investment values before creation. Checks base, trend, grid type, price range, and returns errors or a valid investment range.

Instructions

Check futures grid parameters

Validate futures grid bot creation parameters and estimate investment values without creating an order. Weight: 1.

Pass a positive quote_investment to receive full estimate fields. The current market price is fetched automatically — open_price is not required.

Extra Margin Modes (controlled by extra_margin):

extra_margin=false (Manual)

extra_margin=true (Auto-split)

quote_investment meaning

Trading capital only

Total input (auto-split into trading capital + extra margin)

extra_margin_amount

User-specified extra margin, on top of quote_investment

Typically omitted; system auto-calculates

estimate_investment

= quote_investment

< quote_investment (trading capital portion)

estimate_extra_margin

= extra_margin_amount

Auto-calculated (= quote_investmentestimate_investment)

min/max_investment

Range for trading capital (excl. extra margin)

Range for total input (incl. extra margin)

FailedWithData: For errors marked "Yes" below, the response includes a data field even when result=false, containing min_investment, max_investment, and slippage so the client can display the valid investment range.

Validation error messages (returned in message when result is false):

Message

Cause

Includes data

base should end with .PERP

base must end with .PERP, e.g. BTC.PERP

No

invalid trend

trend must be long, short, or no_trend

No

invalid grid_type

grid_type must be arithmetic or geometric

No

bottom must greater than 0

bottom must be a positive number

No

top must greater than bottom

top must be strictly greater than bottom

No

top must less or equal than max:{maxPrice}

top exceeds the symbol's maximum allowed price

No

top not match quote precision

top has more decimal places than the symbol allows

No

bottom not match quote precision

bottom has more decimal places than the symbol allows

No

row must greater than 1

row must be >= 2

No

row must less than 501

row must be <= 500

No

invalid leverage

leverage is outside the symbol's allowed leverage range

No

extra_margin should greater than or equal 0

extra_margin_amount must be >= 0

No

invalid condition_direction

condition_direction must be "", "1", or "-1"

No

quote_investment not match spending precision: max {N} decimal places

quote_investment exceeds the allowed decimal precision

Yes

extra_margin_amount not match spending precision: max {N} decimal places

extra_margin_amount exceeds the allowed decimal precision

Yes

grid profit per volume less than 0

Grid range too narrow or row too large — profit per grid is negative

Yes

less than min investment

quote_investment is "0" or less than min_investment

Yes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYesBase currency, must end with `.PERP`
quoteYesQuote currency
buOrderDataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'without creating an order'. Beyond that, it discloses rich behavioral detail: automatic market-price fetching, the FailedWithData contract (data field present even when result=false), and a full validation-error table mapping causes to messages and whether partial data is returned. This is far beyond what the annotations provide.

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?

The tables are information-dense and well organized, but the definition is long and includes some redundancy with the schema (e.g., repeating that base must end with .PERP). Still, every section earns its place for a validator with complex mode semantics; front-loaded purpose statement is good.

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?

For a validator tool with no output schema, the description fully covers what the agent needs: input semantics under both margin modes, automatic price fetching, the FailedWithData response shape, and a complete error taxonomy with associated data flags. Nothing material is missing.

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

Parameters5/5

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

Schema coverage is only 67%, but the description compensates extensively: the extra_margin mode table redefines quote_investment, extra_margin_amount, estimate_investment, and min/max_investment semantics per mode, and the validation table maps each parameter (base, trend, grid_type, bottom, top, row, leverage, condition_direction, quote_investment) to its constraint and error message. This adds substantial meaning beyond the schema.

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?

States a specific verb (validate/estimate) and resource (futures grid bot creation parameters) and explicitly contrasts with the sibling pionex_bot_create_futures_grid_order by saying 'without creating an order'. An agent can immediately tell this is the dry-run/pre-flight validator.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clear context: validate parameters and estimate investment values without creating an order. It implies this precedes creation but doesn't explicitly name pionex_bot_create_futures_grid_order as the follow-up or state when not to use it. Strong usage signal without explicit alternatives.

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

Deploy Server

Other Tools