Skip to main content
Glama

CoinCryptoRank MCP

open_hedged_position

Open a NEUTRAL hedged position: LONG on exchangeA + SHORT on exchangeB (or vice versa via longExchange param). Entry is executed by the hedge engine strictly from orderbooks (max neutral size, slices, basis control). REAL mode only. Params: exchangeA, exchangeB, symbol, sizeUsd (≤5000), leverage (1-10), strategy ("funding"|"basis"|"hybrid"), longExchange (optional, default exchangeA), protection: slPct/tpPct/maxBasisDeviationPct/marginAlertPct/maxSlippagePct/maxSlices/autoTopUpUsd.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentYesYour REAL hedge agent (id or name) whose bound API keys will open the position
slPctNo
tpPctNo
symbolYes
sizeUsdYes
leverageYes
strategyNo
exchangeAYes
exchangeBYes
maxSlicesNo
autoTopUpUsdNo
longExchangeNowhich exchange is the LONG leg (default = exchangeA)
marginAlertPctNo
maxSlippagePctNo
maxBasisDeviationPctNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full transparency burden. It discloses that execution is real-mode only, orderbook-driven, limited by max neutral size, sliced, and basis-controlled. It does not cover failure modes or permission requirements, but it reveals the most important behavioral traits for a real-money tool.

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 compact and front-loaded: the core purpose appears first, followed by execution behavior, the real-mode constraint, and a compact parameter list with inline validations. Every sentence earns its place and no filler is present.

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 complex 15-parameter real-money tool with no output schema and no annotations, the description covers purpose, execution model, constraints, and most parameters. It does not describe the return value or failure states, but the provided detail is sufficient for an agent to select and invoke the tool with reasonable confidence.

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?

With only 13% schema description coverage, the description compensates by adding constraints: sizeUsd ≤5000, leverage 1-10, strategy enum values, longExchange default, and a grouped protection parameter list. However, the required 'agent' parameter is absent from the natural-language parameter enumeration, which prevents a 5.

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 states a specific action ('Open') and resource ('NEUTRAL hedged position'), clarifies the leg composition (LONG on exchangeA + SHORT on exchangeB, or vice versa), and distinguishes itself from sibling tools like close_hedged_position and adjust_hedge via 'Open' and 'Entry'. This leaves no ambiguity about what the tool does.

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?

The description gives clear usage context: it opens a neutral hedge, executed by the hedge engine strictly from orderbooks, and explicitly states 'REAL mode only'. It does not name sibling alternatives such as close_hedged_position or adjust_hedge, so it stops short of a 5.

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.

TDQS

B3.2/5.0
Disambiguation3/5

Many tools serve distinct purposes (hedging, funding, agents, market data), but several overlap heavily: get_basis_regime, get_basis_signal, get_basis_history, analyze_pair_liquidity, and get_perp_arbitrage all analyze exchange spreads/basis with blurred boundaries. Similarly, close_hedged_position vs close_position and hedge_status vs list_hedge_positions vs get_positions could cause misselection without careful reading.

Naming Consistency4/5

The set predominantly follows a verb_noun pattern (get_*, open_*, close_*, set_*, list_*, place_*) which is predictable and readable. Minor deviations exist: agent_chat, agent_trigger, and square_post break the convention, and the hedge-specific tools mix status/list/adjust naming inconsistently.

Tool Count3/5

35 tools is on the heavy side and pushes past the ideal scope for a single server. Many tools are data-retrieval variants (basis history/regime/signal/liquidity) that could be consolidated, and the breadth from news to square posts to agent management makes the surface feel sprawling rather than focused.

Completeness3/5

Core workflows (hedging, basis analysis, funding arbitrage, agent interaction, position management) are well covered, but there are noticeable gaps: there is no cancel_order tool despite get_open_orders and place_order existing, no order history or trade history, and no exchange-side position listing for real user positions. The server covers its niche but leaves some common trading dead ends.