Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_get_positions

List active HyperLiquid perpetual positions for a Factor vault on HyperEVM, including size, entry price, leverage, margin mode, and unrealized PnL.

Instructions

List all active HyperLiquid perp positions held by a Factor vault. Returns size, entry price, leverage, margin mode, and unrealized PnL. HyperEVM (chain 999) 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_get_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultYesVault contract address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does a fair job: it discloses that only active positions are returned, that the chain is restricted to HyperEVM 999, and what fields come back. It omits pagination or result-size behavior and any error/empty-result handling, which are the remaining gaps for a read tool with zero annotation coverage.

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?

Three short sentences, front-loaded with the action and resource, followed by the return payload and the chain constraint. No redundant or filler wording.

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 one-parameter read tool with no output schema, the description supplies what the schema cannot: the returned fields and the chain restriction. The main miss is routing guidance relative to the sibling positions-detail tool, which matters given how similar the names are.

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?

There is a single optional-free required parameter with 100% schema description coverage ('Vault contract address'), so the schema already does the explanatory work. The description only implies that 'vault' means a Factor vault on chain 999; it adds no format, checksum, or lookup guidance beyond the schema.

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?

Names a specific verb and resource ('List all active HyperLiquid perp positions held by a Factor vault') and enumerates the returned fields, so the agent knows exactly what it retrieves. It does not differentiate from the sibling factor_hl_vault_positions_detail, which sounds like a near-neighbor, leaving some ambiguity about which to call.

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: 'active' positions and 'HyperEVM (chain 999) only' tell the agent the scope but not when to prefer this over factor_hl_vault_positions_detail or what to do for non-999 vaults. No explicit when-to-use or when-not-to-use statement is present.

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