Skip to main content
Glama
liquidation-map

liquidation-map

by tordagaz-ops

open_interest_history

Read-only

Fetch interval-by-interval open interest for a perpetual symbol, with flow attributed to the side that opened it, so you can trace how positions built up before liquidation clusters form.

Instructions

The open-interest series the map is built from, interval by interval, with the flow attributed to the side that opened it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "open_interest_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many intervals to read, oldest first and newest last. The upstream refuses more than 500, and its history only goes back 30 days.
periodNoInterval of the series: 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h or 1d. Shorter intervals see more noise, longer ones see more of the position.1h
symbolYesPerpetual symbol: BTCUSDT, btc/usdt or just btc — a bare base is completed with USDT, which is how the exchange names most of its contracts.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds one genuine behavioral detail beyond that — the flow is attributed to the side that opened the position — but says nothing about ordering, the 30-day/500-interval upstream ceiling, or failure modes, all of which the schema carries instead.

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?

A single front-loaded sentence with no filler, and the core resource is named first. The phrase 'the map is built from' is slightly indirect compared with simply saying it returns the open-interest series.

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

Completeness3/5

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

Return values need no explanation because an output schema exists, and all three parameters are fully documented in the schema. What is missing is routing guidance relative to the sibling tools and any hint about how results are ordered or refreshed beyond what the schema already says.

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 description coverage is 100%, and the schema itself explains limit ordering, the 500 cap, the 30-day history window, valid periods, and symbol normalization. The description adds no meaning beyond that, so the baseline of 3 for fully documented parameters 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?

The description names the specific resource (the open-interest series) and its granularity (interval by interval), and ties it to the sibling map it feeds, so an agent can distinguish it from liquidation_map and positioning. The verb is only implied ('the series the map is built from') rather than stated as a fetch operation, which keeps it slightly short of fully explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no stated prerequisites, and no mention of when an agent should prefer this over the related map or positioning tools. The reference to 'the map' hints at a relationship but does not tell the agent which one to call or when.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.