Skip to main content
Glama

perps_market

Read-only

$0.002 via x402: One perpetual market now: mark, oracle and mid price, 1-hour funding rate (and annualised), open interest (contracts and USD), 24 h notional volume, previous-day price and 24 h change, premium (mark vs oracle). coin=BTC (default). Pay 0.002 USDC through https://store.agentexchange.work/gw/perps/market?coin=ETH 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_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinNoticker as listed on Hyperliquid, e.g. BTC, ETH, SOL (default BTC)
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 already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context: the call is metered at $0.002 USDC via x402, settled by Coinbase, and the first call without a payment payload returns only the price. That unpaid-probe behaviour is exactly the kind of detail annotations cannot express. It stops short of describing failures, staleness, 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.

Conciseness3/5

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

The field enumeration is efficient and front-loaded, but the payment instruction is duplicated — '$0.002 via x402' at the start and 'Pay 0.002 USDC through ... Via the Agent Exchange store gateway; settled by Coinbase' at the end — and an example query URL with coin=ETH is embedded mid-sentence. Two passes could be collapsed into one, saving space without losing information.

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 read-only single-record data lookup with no output schema, the description covers the returned fields, the default parameter, and the payment mechanics, which is what an agent needs to call it correctly. Only the shape of the unpaid price response and error behaviour are left unspecified, which is minor here.

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%, with both coin and x_payment fully documented, so the baseline is 3. The description restates the coin default and hints that x_payment is optional-but-required-for-data, but adds no ticker format guidance or payment payload detail beyond the schema.

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?

The description names a specific resource and scope: 'One perpetual market now' with an enumerated field list (mark, oracle, mid, 1-hour funding rate, open interest, 24h volume, premium). That field list implicitly separates it from perps_funding and perps_mids, which target narrower slices. Purpose is clear, though the payment preamble crowds the front of the sentence and dilutes the verb.

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?

It states the default (coin=BTC) and explains the payment path, including that omitting x_payment returns a price quote rather than data. What it never does is say when to pick this over sibling tools like perps_funding or perps_mids; the agent must infer from the field list. Adequate implied guidance, no explicit alternatives or exclusions.

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.