Skip to main content
Glama

perps_mids

Read-only

$0.002 via x402: Mid prices for every Hyperliquid market (about 1,300 incl. spot) or a comma list of coins, with the server timestamp. Pay 0.002 USDC through https://store.agentexchange.work/gw/perps/mids?coins=BTC,ETH,SOL Via the Agent Exchange store gateway; settled by Coinbase.

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

Input Schema

NameRequiredDescriptionDefault
coinsNocomma list; empty = all
x_paymentNoSigned x402 payment payload (optional; without it the answer is the price)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the burden of explaining cost and access: it discloses a $0.002 USDC x402 charge, the store gateway URL, and Coinbase settlement. That is genuinely useful context an agent needs before calling, though it says nothing about failure modes, rate limits, or what happens when payment is rejected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Key information is front-loaded, but the pricing is stated twice ($0.002 at the start and 0.002 USDC later) and the gateway URL is jammed mid-sentence between the pay instruction and 'Via the Agent Exchange store gateway', making it read unevenly.

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 two-optional-parameter read tool with annotations and no output schema, the description covers scope, cost, payment mechanism, and that a timestamp is returned. The one real gap is the shape of the returned price payload (e.g., keyed by coin), which an agent would have to discover by calling.

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%, so both parameters (coins and x_payment) are already documented by the schema. The description reinforces the coins semantics with a concrete example URL (?coins=BTC,ETH,SOL) and implies x_payment through the payment paragraph, but adds no format or edge-case detail beyond that, so the baseline of 3 applies.

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 a specific resource and data point: mid prices for every Hyperliquid market (~1,300 including spot) or a supplied coin list, plus server timestamp. The scope and response contents are concrete enough to distinguish it from perps_funding and perps_market, though it never names those siblings directly.

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 implies usage (fetch mids for all markets or a comma list) and gives payment procedure, but offers no explicit when-to-use/when-not guidance or routing to an alternative tool for funding rates or full market data.

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.