Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_vault_fills

Fetch historical trade fills for a HyperLiquid FACTOR vault, optionally filtered by time range and limit, to review executed trades, fees, and realized PnL.

Instructions

Historical trade fills for a HyperLiquid FACTOR vault (HL userFills / userFillsByTime). Each fill: time, coin, dex (main / builder), side, price, size, realized PnL closed, fee. Optional startTime/endTime in unix ms; without a window the call returns recent fills. Optional limit (default unbounded, max 2000 per HL). 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_fills"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax number of fills to return (1–2000).
vaultYesVault contract address.
endTimeNoUnix ms — latest fill to include (optional).
startTimeNoUnix ms — earliest fill to include (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.9/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 the operation read-only, restricts scope to HyperEVM chain 999, explains the no-window default behavior, and caps results at 2000 per HL. What is missing is any statement about pagination beyond the limit, ordering of returned fills, or error behavior for an invalid vault address.

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?

Purpose and endpoint are front-loaded, followed by the return-field list, then parameter notes and the chain restriction. The field enumeration is dense and slightly list-like, but given there is no output schema each item earns its place; no filler sentences are present.

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 read-only query tool with no annotations and no output schema, the definition supplies the essential context: what a fill contains, what happens without a time window, the result cap, and the chain restriction. It is close to complete, lacking only return ordering/pagination semantics and guidance on obtaining a valid vault address.

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%, so all four parameters are already documented, and the description largely restates them (unix ms window, limit). It does add the useful default that limit is unbounded when omitted, though that sits in mild tension with the schema's stated 1–2000 range. Baseline 3 is appropriate since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Historical trade fills for a HyperLiquid FACTOR vault" gives a specific verb (retrieves historical fills), a specific resource (vault trade fills), and even names the underlying HL endpoints (userFills / userFillsByTime). This cleanly separates it from siblings such as factor_hl_vault_funding, factor_hl_vault_realized_pnl, and factor_hl_vault_positions_detail without needing to name them.

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?

It states a behavioral default ("without a window the call returns recent fills") and a hard constraint ("HyperEVM (chain 999) only"), which helps an agent decide whether the call applies. However, there is no explicit when-to-use guidance, no mention of when to prefer factor_hl_vault_realized_pnl or factor_hl_vault_funding instead, and no stated prerequisites for resolving the vault address.

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