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.

  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.