Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_vault_positions_detail

Retrieves detailed open positions for a HyperLiquid FACTOR vault across main and HIP-3 builder dexes, including side, leverage, prices, margin, unrealized PnL, and funding.

Instructions

Detailed open positions for a HyperLiquid FACTOR vault — across main HL dex AND every HIP-3 builder dex the vault has equity on. Each position includes side, leverage, margin mode, entry/mark/liquidation prices, notional USD, unrealized PnL (USD + %), ROE on margin %, margin used, and cumulative funding accrued. HyperEVM (chain 999) only. Read-only.

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": {
      "vault": "<vault>"
    },
    "name": "factor_hl_vault_positions_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultYesVault contract address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.7/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 burden, and it does disclose the key traits: read-only, chain 999 restriction, and cross-dex aggregation across main and builder dexes. It does not cover pagination, behavior for a vault with no positions, or auth requirements, which leaves some gaps for an unannotated 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?

Two sentences, front-loaded with the scope-defining statement, then a dense enumeration of returned fields. The field list is long but earns its place because there is no output schema; nothing is padded or redundant.

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?

With one required parameter, no annotations, and no output schema, the description supplies what structured fields cannot: the full set of returned position attributes (side, leverage, margin mode, prices, notional, PnL, funding) and the chain/dex scope. Only edge-case behavior and error conditions are missing.

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 the single param 'vault' is already documented as 'Vault contract address.' The description reinforces the context (a FACTOR vault on HyperEVM chain 999) but adds no format, casing, or resolution guidance beyond the schema, 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?

The description names a specific verb+resource ('Detailed open positions for a HyperLiquid FACTOR vault') and adds scope that a sibling like factor_hl_get_positions likely lacks: it spans the main HL dex plus every HIP-3 builder dex where the vault has equity. It stops short of explicitly contrasting itself with that sibling, so an agent must infer the 'detail' distinction from the name alone.

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 reader infers 'use this when you need full position detail for a vault' and the hard constraint 'HyperEVM (chain 999) only' tells them when the call is invalid. There is no explicit statement of when to prefer this over factor_hl_get_positions or the related vault endpoint tools.

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