Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_vault_stats

Fetch a dashboard-ready analytics snapshot for a HyperLiquid-enabled FACTOR vault on HyperEVM, including NAV, share price, open-position aggregates, and per-dex margin summaries. Read-only.

Instructions

Aggregate analytics snapshot for a HyperLiquid-enabled FACTOR vault: tri-ledger NAV, ERC-4626 share price, open-position aggregates (count, notional, uPnL, margin used, funding accrued), and per-dex margin summary (main + builder dexes). Single dashboard-ready response. 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_stats"
  }
}

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 burden and does reasonably well: it declares 'Read-only', fixes the chain scope to 999, and specifies a 'Single dashboard-ready response', which tells the agent there is one consolidated call rather than paginated or multi-step retrieval. It stops short of stating behavior for non-HL vaults or what an invalid/unsupported vault address returns.

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?

Purpose is front-loaded in the first clause, payload detail follows as a compact enumeration, and scope/behavioral constraints close the sentence. Every element earns its place with no 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-only analytics call with no output schema, the description effectively substitutes for a return schema by enumerating the metrics returned. It is nearly complete; only edge-case behavior (non-HL vault, empty position set) and data freshness are unaddressed.

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 parameter is documented in the schema as 'Vault contract address'. The description adds a meaningful constraint by specifying the vault must be a HyperLiquid-enabled FACTOR vault, but adds no format or validation detail beyond that.

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 ('Aggregate analytics snapshot for a HyperLiquid-enabled FACTOR vault') and enumerates the payload (tri-ledger NAV, ERC-4626 share price, position aggregates, per-dex margin summary). This implicitly separates it from granular siblings like factor_hl_vault_positions_detail or factor_hl_get_nav, but it never names an alternative explicitly, so differentiation requires inference.

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?

The scope constraint 'HyperEVM (chain 999) only' tells the agent when the tool is valid and implicitly when it is not, which is genuine guidance. However, there is no explicit statement about when to prefer this composite snapshot over the narrower siblings (factor_hl_get_nav, factor_vault_analytics), leaving the routing decision to the agent.

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