Skip to main content
Glama

Intraday open interest and leverage regimes (10 major perps)

get_open_interest
Read-only

Track open interest changes to see if leverage is entering or leaving the market. Identify whether longs or shorts are building, plus detect long squeezes, short squeezes, or quiet regimes using 5-minute OI and 24-hour deltas.

Instructions

Call this when the user asks whether leverage is entering or leaving the market, about open interest changes, or whether longs or shorts are building in a major coin. Returns 5-minute-resolution OI with 24h OI and price deltas and a four-regime read per symbol: longs building, shorts building, long squeeze, short squeeze, or quiet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only safety, and the description adds useful non-obvious behavior: 5-minute resolution, 24-hour deltas, and the exact regime categories per symbol. It does not contradict annotations, but it also does not mention data freshness, coverage limits, or any edge cases.

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 carrying full value: the first front-loads the exact user intent, the second compactly enumerates the return fields and regime labels. No filler or redundant phrasing.

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?

For a zero-param, read-only tool, this covers the trigger, scope, resolution, delta fields, and four possible regime labels. Nothing an agent needs to decide whether to call it or interpret its output is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so the baseline is 4. The description adds that the result is per symbol across major perpetuals, which is sufficient context for a parameter-less call.

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 starts with a specific trigger ('Call this when the user asks...'), identifies the resource (open interest for major perpetuals), and specifies the output contract (5-minute OI, 24h deltas, four-regime regime labels). This clearly separates it from siblings like funding heatmap or liquidations by tying it directly to leverage positioning.

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 explicit conditions for use: leverage entering/leaving the market, OI changes, or longs/shorts building. It does not name alternatives or provide when-not-to-use guidance, so it falls just short of full routing advice.

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