Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_vault_funding

Retrieve HyperLiquid FACTOR vault funding-payment history with signed USDC amounts, position sizes, hourly rates, and net funding over a window.

Instructions

Funding-payment history for a HyperLiquid FACTOR vault (HL userFunding). Each event: time, coin, dex, signed USDC (positive = vault paid funding, negative = vault received funding), position size at the accrual, hourly funding rate. Returns netFundingUsd as the sum over the window. Optional startTime/endTime in unix ms. 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_funding"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultYesVault contract address.
endTimeNoUnix ms — latest event to include (optional).
startTimeNoUnix ms — earliest event to include (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A4.2/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 well: it declares read-only behavior, the chain constraint, the sign convention (positive = vault paid, negative = received), the per-event field list, and the aggregation performed by netFundingUsd. It stops short of disclosing ordering, pagination, or any cap on the window size, which are the remaining behavioral unknowns for a history endpoint.

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?

Roughly four dense sentences, front-loaded with the resource and its scope, then the event shape, then the aggregation, then constraints. Every clause earns its place and nothing is repeated from the schema or title.

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?

There is no output schema, so the description must explain the return value and it does — per-event fields plus the netFundingUsd total. Combined with the chain restriction and read-only note, an agent has enough to call this correctly; only edge-case behavior (empty window, event ordering) is unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description earns a bump by tying startTime/endTime to a concrete effect: they define the window over which netFundingUsd is summed. That tells the agent the time bounds change the aggregate, not just the returned rows — meaning the schema alone does not convey.

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?

States a specific verb+resource combination ('Funding-payment history for a HyperLiquid FACTOR vault') and names the underlying data source (HL userFunding), which cleanly separates it from siblings like factor_hl_vault_fills and factor_hl_vault_realized_pnl. An agent can pick this tool without opening the schema.

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 description supplies two real usage constraints — 'HyperEVM (chain 999) only' and 'Read-only' — plus the fact that startTime/endTime are optional. However, it never states when to reach for this tool instead of the sibling PnL or fills tools, so the agent must infer the routing from resource names alone.

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