Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_search_instrument

Fuzzy-search the HyperLiquid instrument catalog by query to find perps or spot tokens, with ranked matches and optional filters for type, category, and venue.

Instructions

Fuzzy-search the HyperLiquid instrument catalog for matches against query. Returns ranked hits with a numeric score (exact id > exact symbol > qualifiedSymbol > prefix > substring > displayName substring). Optional filters on type, category, venue. 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": {
      "query": "<query>"
    },
    "name": "factor_hl_search_instrument"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoRestrict to perps or spot tokens.
limitNoMax hits to return (default 20; hard cap 50).
queryYesSearch string. Matches against id, symbol, qualifiedSymbol, and displayName.
venueNoDex name filter (e.g. "main", "xyz").
categoryNoCategory tag.

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, the description carries the full burden and does reasonably well: it discloses the ranking precedence (exact id > exact symbol > qualifiedSymbol > prefix > substring > displayName substring), which is genuine behavioral information not present in the schema, plus the chain-999 scope limit. Gaps are minor for a read-only search: no statement about what happens on no matches, result caching, or rate limits.

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 tight sentences, front-loaded with the verb and resource, followed by output/ranking semantics, then the scope constraint as a short trailing fragment. Nothing is redundant and nothing needs re-reading.

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 5-parameter, single-required-arg search tool with fully documented schema and no output schema, the description covers purpose, ranking behavior, filter dimensions, and chain scope. It could go further by sketching the shape of a hit (id/symbol/type) so an agent knows what it can feed into order or position tools, but nothing essential is missing.

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 description coverage is 100%, so the schema already explains query, type enum, category enum, venue, and limit. The description adds only that ranking weighs qualifiedSymbol and displayName differently, which is marginal meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

Specific verb and resource: 'Fuzzy-search the HyperLiquid instrument catalog for matches against `query`'. The word 'fuzzy' and the 'ranked hits with a numeric score' phrasing implicitly separate it from exact-resolution siblings like factor_hl_resolve_instrument, and the 'HyperEVM (chain 999) only' scope narrows the domain. It stops short of naming a sibling or stating the exact-match alternative, so it lands at 4 rather than 5.

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 implied rather than prescribed: an agent can infer it should call this when it has a partial/uncertain name and wants ranked candidates, and that filters narrow the catalog. There is no explicit when-not-to-use, no mention of when to prefer resolve_instrument or list_instruments, and no guidance on handling zero hits or chaining a hit into another tool.

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