Skip to main content
Glama

持仓分布

get_market_positions
Read-onlyIdempotent

某市场当前所有未平仓位:多空仓位数与规模、多空平均开仓价、平均杠杆、前 10 大仓位占比,以及按规模排序的大户仓位(地址、方向、规模、保证金、杠杆、开仓价)。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "market": "<market>",
      "limit": "<limit>"
    },
    "name": "get_market_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes
marketYes市场:短链接 slug、市场合约地址、代币地址、代币代号,或标的代号如 BTC / ETH / XAU(表示该标的的官方市场)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / market / maxLength
      Removed value: -80
    • removedInput schema / properties / market / minLength
      Removed value: -1
    • removedInput schema / properties / market / type
      Removed value: -"string"
  2. 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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds useful scope detail — that results are a live snapshot of open positions, aggregate stats plus a whale list — but says nothing about ordering, pagination, truncation, or data freshness, which matter for a list tool.

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?

A single dense sentence that leads with the scope ('all currently open positions in a market') and then lists the returned breakdown — no filler. It is packed but readable; a short list structure would scan even faster.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only analytics tool with no output schema, enumerating the returned fields is exactly the right compensation, and it is done well. The remaining gap is the unexplained limit parameter and how it governs the returned 'top positions' list versus the fixed top-10 concentration figure.

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?

The description does not mention either parameter, but the schema documents the market parameter fully (slug, contract address, token address, symbol, or underlying like BTC/ETH/XAU), so the baseline is 3, and the phrase '某市场' anchors that the market identifier scopes the whole result. It does not clarify the limit parameter (default 20, max 200), and its mention of 'top 10' concentration risks confusion with the limit-driven whale list.

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?

The description names a specific resource and scope — all currently open positions in a given market — and enumerates the metrics returned (long/short counts and sizes, average entry price, average leverage, top-10 concentration, top positions by size). An agent can distinguish this from get_market or get_liquidations by the returned fields, though it never explicitly contrasts itself with a sibling.

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: the listed metrics (net long/short balance, top-10 concentration, whale positions) suggest positioning and sentiment analysis, but there is no explicit when-to-use, when-not-to-use, or alternative named. An agent must infer the scenario from the returned fields alone.

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.

Resources