Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_resolve_instrument

Resolve a single HyperLiquid instrument from an id, qualified symbol, or bare ticker on HyperEVM; detects ambiguous or missing matches so you can fetch the correct market before trading.

Instructions

Resolve a single HyperLiquid instrument by id, qualifiedSymbol, or bare symbol. Throws on ambiguity (same symbol on multiple dexes) or no match. Use factor_hl_search_instrument first if the input is uncertain. 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_resolve_instrument"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesInstrument id ("perp:xyz:BRENTOIL"), qualifiedSymbol ("xyz:BRENTOIL"), or bare ticker ("BTC", "OPENAI").

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 disclosure burden and does add real behavioral facts: it fails (throws) on ambiguity across dexes and on no match, and it is scoped to HyperEVM chain 999 only. The main gap is that it never describes what a successful call returns, but nothing it says conflicts with the tool's nature.

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 short sentences, front-loaded with the action and input forms, then failure modes, then the fallback suggestion. Every sentence carries distinct information with no padding.

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 lookup tool, the description covers inputs, ambiguity/no-match failure behavior, and chain scoping, which is most of what an agent needs. Since there is no output schema, one would ideally like a sentence on the returned instrument shape, so completeness is strong but not total.

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 `query` parameter already documents all three accepted formats with examples, so the description's restatement of those forms adds no new semantics. Baseline 3 applies when the schema does the explanatory work.

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 ('Resolve') and a specific resource ('a single HyperLiquid instrument'), and enumerates the three accepted input forms (id, qualifiedSymbol, bare symbol). It is clearly distinguishable from the sibling search/list tools, which return sets rather than a single resolved instrument.

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?

Explicitly routes the agent to `factor_hl_search_instrument` 'if the input is uncertain', which is a concrete when-to-use-an-alternative rule. It does not state the inverse (when search is unnecessary) or note read-only/safety context, so it stops just short of full guidance.

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