Skip to main content
Glama

Open positions snapshot HL + GMX ($0.005)

trader_positions
Read-only

PAID $0.005 USDC. Open Hyperliquid and GMX v2 perps plus recent derived entry/exit events: side, size, entry, leverage, PnL. Research only — not investment advice. Returns JSON open Hyperliquid and GMX v2 perps plus recent entry and exit events (side, size, entry, leverage, PnL).

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": {
      "address": "<address>"
    },
    "name": "trader_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesWallet whose open perps to read. Format: 0x followed by 40 hex characters. Example: 0x85ecf584f25db6f146718b86d493e33c5af72052. Required.
api_keyNoOptional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"0x wallet"New value: +"Wallet whose open perps to read. Format: 0x followed by 40 hex characters. Example: 0x85ecf584f25db6f146718b86d493e33c5af72052. Required."
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
  2. Changed2 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"Wallet whose open perps to read. Format: 0x followed by 40 hex characters. Example: 0x85ecf584f25db6f146718b86d493e33c5af72052. Required."New value: +"0x wallet"
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
  3. Changed2 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"0x wallet"New value: +"Wallet whose open perps to read. Format: 0x followed by 40 hex characters. Example: 0x85ecf584f25db6f146718b86d493e33c5af72052. Required."
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
  4. Changed2 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"Wallet whose open perps to read. Format: 0x followed by 40 hex characters. Example: 0x85ecf584f25db6f146718b86d493e33c5af72052. Required."New value: +"0x wallet"
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
  5. Changed2 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"0x wallet"New value: +"Wallet whose open perps to read. Format: 0x followed by 40 hex characters. Example: 0x85ecf584f25db6f146718b86d493e33c5af72052. Required."
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
  6. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the call costs $0.005 USDC and returns derived entry/exit events, not raw fills. It does not explain what 'derived' means, data freshness, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The field list is front-loaded, but the final sentence repeats almost verbatim the scope and field names already given in the first sentence. The $0.005 price is also duplicated from the title. Trimming the redundant return sentence would lose nothing.

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 two-parameter read-only tool with full schema coverage, the definition covers scope, cost, and return shape (JSON with named fields), with payment mechanics handled by the schema. Only the meaning of 'derived' events and data recency are left unstated.

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 coverage is 100% and both parameters (address, api_key) are fully documented in the schema, including the x402 payment retry flow. The description adds nothing about parameters, so the baseline 3 applies.

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?

States a specific verb and resource: reads open Hyperliquid and GMX v2 perps plus derived entry/exit events with named fields (side, size, entry, leverage, PnL). The GMX v2 coverage and derived-event component differentiate it from the plain hl_perps siblings, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no named alternative such as hl_perps or trader_history. The only framing remarks ('Research only — not investment advice') are a disclaimer, not routing guidance.

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.