Skip to main content
Glama

Crypto Bot Audit + Market Data (x402 paid)

Hyperliquid OHLC candles

market_hl_candles
Read-onlyIdempotent

candleSnapshot for one Hyperliquid perp: open, high, low, close, volume and order count per bucket, oldest first, bounded to the window each interval can carry. Costs $0.001 USDC per call. Byte-identical to GET /market/hl-candles?coin=BTC&interval=1m&limit=20.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinYesHyperliquid coin symbol as its meta lists it (BTC, ETH, HYPE, kPEPE) [required]
limitNocandles (max 500) (default 48)
intervalNocandle interval (default "1m")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsNo
coinNo
noteNo
rowsNo
countNo
foundNo
staleNo
caveatNo
reasonNo
sourceNo
intervalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "caveat": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "coin": {
      +      "type": "string"
      +    },
      +    "count": {
      +      "type": "integer"
      +    },
      +    "found": {
      +      "type": "boolean"
      +    },
      +    "interval": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "reason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "stale": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "ts": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, openWorldHint, non-destructive). The description adds meaningful behavioral details: cost per call ($0.001 USDC), ordering (oldest first), and the bounding 'to the window each interval can carry'. These go beyond annotation defaults without contradicting them.

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 sentences, front-loaded with the core return data and ordering. The cost and API equivalence notes are relevant and concise. No redundant phrasing or filler.

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 an output schema present, return details are covered by structure. The description adds cost, ordering, and window-bounding—enough for an agent to correctly invoke and interpret results. No missing prerequisites or error conditions are critical for a read-only, idempotent tool of this simplicity.

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 descriptions for coin, limit, and interval. The description adds some nuance ('bounded to the window each interval can carry') that clarifies how limit interacts with interval, but it largely relies on the schema for parameter meanings. This meets the baseline for well-documented parameters.

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 verb ('candleSnapshot for one Hyperliquid perp') and lists the exact fields returned (open, high, low, close, volume, order count) plus ordering ('oldest first'). It clearly distinguishes this from other exchange candle tools by naming Hyperliquid, and the byte-identical reference to a specific REST endpoint leaves no ambiguity.

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?

The description clearly indicates this is for Hyperliquid perpetuals, giving context for when to use it among many market_* siblings. It does not explicitly name alternative tools or state when not to use it, but the 'for one Hyperliquid perp' phrase provides enough context to route an agent correctly.

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