Skip to main content
Glama

Signed Hyperliquid market-state proof (paid, x402) — $0.003

get_market_proof
Read-onlyIdempotent

Paid endpoint ($0.003): Signed market-state attestation for one Hyperliquid perp (main dex or HIP-3): mark, oracle, mid, funding, open interest and premium at observed_at, Ed25519-signed with cryptofeed402's published receipt key so it verifies offline, plus a canonical sha256. For audit trails and dispute evidence. Unknown 404, stale or signer off 503, no charge. Returns the x402 payment requirements and URL.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "BTC"
    },
    "name": "get_market_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesHyperliquid perp, e.g. BTC or HIP-3 xyz:TSLA

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses cost ($0.003), the x402 payment handshake, signing key provenance, offline verifiability, and the failure contract — 404 for unknown, 503 for stale or signer off, with no charge in either case. That is exactly the behavioral context an agent cannot get from structured fields.

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

Conciseness4/5

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

The price and the core assertion are front-loaded, and every clause carries information (fields attested, signing, error/no-charge behavior, payment flow). It is dense to the point of being a run-on, but little could be cut without losing substance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description takes on the burden of describing return contents and does so field by field, plus the payment-requirements payload. For a paid, single-parameter tool, an agent has everything needed to decide and invoke correctly.

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 `symbol` parameter already carries a pattern, an example, and a HIP-3 example. The description's 'main dex or HIP-3' phrasing corroborates the schema but adds no syntax or format detail beyond it, so baseline 3 applies.

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?

The description states a specific resource (signed market-state attestation for one Hyperliquid perp, main dex or HIP-3) and enumerates exactly which fields are attested (mark, oracle, mid, funding, open interest, premium at observed_at). The signature/offline-verification framing separates it cleanly from unsigned quote siblings like get_price or get_perps.

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?

It gives a concrete use case — audit trails and dispute evidence — and the paid nature implies it is not the default quote path. It stops short of explicitly naming a cheaper unsigned alternative (e.g. get_price) for routine reads, so the when-not-to-use side is only implied.

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.