Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_list_perps

List HyperLiquid perpetual markets on HyperEVM with metadata and mark prices, selecting main, xyz, or another builder dex to inspect available perps.

Instructions

List every perp available on a HyperLiquid dex with its metadata + mark price. Pass dex="main" (default) for the 230+ canonical crypto perps, dex="xyz" for the HIP-3 builder dex (xyz:GOLD, xyz:BRENTOIL, xyz:COPPER, xyz:AAPL, ...), or any other builder-dex name. HyperEVM (chain 999) only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "factor_hl_list_perps"
  }
}

Input Schema

NameRequiredDescriptionDefault
dexNoWhich perp dex to query. "main" (default) = canonical HL perp dex. "xyz" = HIP-3 builder dex. Any other string is forwarded to HL as a builder-dex name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the chain-999 environment constraint and that the call returns full metadata plus mark price for every perp. However, it says nothing about permissions, rate limits, result size, or pagination for a call that can return 230+ entries.

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?

Front-loads the action and return payload, then the parameter guidance, then the environment caveat. Dense but every clause is informative; the '...' enumeration is slightly loose but earns its place as illustration.

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 zero-required-parameter list tool with no output schema, the description covers purpose, both dex modes, arbitrary builder-dex forwarding, and the chain restriction. Only volume/pagination expectations are unaddressed, which is a minor gap.

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 dex parameter is fully documented in the schema, so the baseline is 3. The description restates the same 'main'/'xyz'/passthrough semantics and adds the illustrative ticker examples (xyz:GOLD, xyz:BRENTOIL), which is marginal added meaning rather than new constraint.

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 and resource ('List every perp available on a HyperLiquid dex') plus what comes back ('metadata + mark price'). The word 'perp' cleanly separates it from siblings like factor_hl_list_spot_tokens and factor_hl_list_dexes 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete routing guidance for the dex parameter: 'main' for 230+ canonical crypto perps, 'xyz' for the HIP-3 builder dex, or any other builder-dex name. It also states the environment constraint 'HyperEVM (chain 999) only.' It stops short of naming a sibling to use for non-perp instruments, so no explicit alternative is offered.

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