Skip to main content
Glama
deribit-options-analytics

deribit-options-analytics

by tordagaz-ops

Max pain

max_pain
Read-only

Find the strike where total open option value is smallest, revealing the price options may gravitate toward into expiry. Returns the winning strike, its distance from spot, runner-up pain and the full curve.

Instructions

The strike at which the total value of open options is smallest -- the price towards which a pinning market is said to gravitate into expiry. Returns the winning strike, its distance from spot, the pain at the nearest contenders and the whole curve, per expiry or aggregated across all of them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
topNoHow many candidate strikes or walls to list.
venueNoOption venue. Defaults to deribit, the only one configured.
expiryNoExpiry as YYYY-MM-DD, or YYYY-MM for the first expiry of that month. Omitted means every expiry for max_pain, gamma_walls and iv_skew, and the nearest listed expiry for option_chain.
symbolNoUnderlying currency: BTC or ETH.BTC

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 that results can be computed per expiry or aggregated across all expiries, but says nothing about data availability constraints, venue limitations (the schema mentions deribit is the only configured venue), or pagination.

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?

Two sentences, front-loaded with the defining concept before the return payload. Dense but every clause carries meaning; only minor cost is the slight repetition of the curve description already covered by the output schema.

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

Completeness4/5

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

With an output schema present and 100% schema coverage, the description need not explain return values in depth and instead explains the financial concept behind the metric. It is essentially complete for a read-only analytics tool, with only the sibling-routing guidance left implicit.

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%, so all four parameters are already documented, establishing a baseline of 3. The description's phrase 'per expiry or aggregated across all of them' echoes the expiry parameter semantics but adds no syntax or default detail beyond the schema.

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 a specific resource and defines it precisely ('the strike at which the total value of open options is smallest') and then lists exactly what is returned (winning strike, distance from spot, nearest contenders, whole curve). It does not, however, distinguish itself from siblings like expiry_summary or gamma_walls, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is only implied via the pinning-into-expiry framing, which suggests an options-expiry context but never states when to prefer this over expiry_summary, gamma_walls, or option_chain. No prerequisites or exclusions are given.

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