Skip to main content
Glama

get_l2_snapshot

Fetch the Level 2 order book snapshot for a specific cryptocurrency to view current bids and asks with prices and sizes.

Instructions

Fetch the Level 2 order book snapshot for a specific coin. Parameters: coin_name (str): The trading symbol (e.g., 'BTC', 'ETH'). ctx (Context): The MCP context object for accessing server state. Returns: str: A JSON string containing the Level 2 order book snapshot, including bids and asks with prices and sizes. Returns a JSON string with an error message if the query fails.

Input Schema

NameRequiredDescriptionDefault
coin_nameYes

Input Schema (JSON Schema)

{ "properties": { "coin_name": { "title": "Coin Name", "type": "string" } }, "required": [ "coin_name" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kukapay/hyperliquid-info-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server