Skip to main content
Glama

WenLong: Hyperliquid trading for AI agents

Markets

get_markets
Read-only

Tradable markets with their mid price and maximum leverage. Main Hyperliquid dex by default; pass dex (e.g. xyz) for a builder dex.

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": "get_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
dexNoBuilder dex name, e.g. xyz. Omit for the main dex.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint=true and openWorldHint=false annotations already cover the safety profile, so the remaining burden is light. The description does add one behavioral fact beyond the annotations — that the main dex is queried unless a builder dex is named — but says nothing about result size, ordering, or whether all markets are returned in one call.

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?

Two short sentences with no filler; the resource and returned fields come first and the default-versus-builder-dex scoping follows immediately. Every clause carries information an agent can act on.

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 read tool with annotations and no output schema, the description covers the essential question of what comes back by naming mid price and maximum leverage. It does not address pagination or the shape/ordering of the market list, which is the only meaningful gap left.

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 optional 'dex' parameter is documented in the schema with the same 'xyz' example used in the description. The description's parameter note therefore restates rather than extends the schema, which is the expected baseline-3 outcome.

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?

States the resource concretely ('tradable markets') and names the payload fields agents care about ('mid price and maximum leverage'), so the tool is distinguishable from get_account, get_positions and get_open_orders. It is a noun phrase rather than an explicit verb, and it never contrasts itself with the closely related get_price, so it stops short of a 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?

The second sentence explains the dex default and how to target a builder dex, which is useful invocation guidance, but it is framed entirely around the parameter rather than when to call this tool versus get_price or the position/account tools. Usage is only implied from the returned fields, and there are no when-not conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources