Skip to main content
Glama

Dispersion / Correlation

get_dispersion
Read-only

Index vs single-name implied correlation and realized correlation across a user-supplied basket. Returns correlation premium (implied minus realized), dispersion trade setup, implied vol of the index vs basket, and per-constituent vol contribution. Use for dispersion trading, correlation premium sizing, or cross-asset vol arb. Alpha tier required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesIndex symbol whose ATM IV anchors the implied correlation (e.g. SPX, NDX, RUT)
apiKeyNoFlashAlpha API key. Omit when calling via /mcp-oauth (OAuth flow); required on /mcp.
symbolsYesComma-separated constituent tickers (max 50), e.g. AAPL,MSFT,NVDA
weightsNoOptional comma-separated weights matching symbols order. Defaults to equal weight.
horizon_daysNoOptional lookback window in days for realized correlation (default 20, clamped to 5-252).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds useful context beyond that: it lists the returned values and notes 'Alpha tier required,' which communicates permission/auth requirements. No contradictions with annotations.

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?

The description is three sentences, front-loaded with the core purpose, followed by return values and use cases. Every sentence contributes meaningful information without padding.

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 no output schema, the description compensates by enumerating the returned metrics and including a permission requirement. It is sufficient for tool selection and invocation, though it could add more detail on how to interpret 'dispersion trade setup.'

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%, so the baseline is 3. The description adds contextual value with terms like 'user-supplied basket' and 'per-constituent,' but it does not explain individual parameters beyond what the schema already provides.

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 clearly states the tool computes and returns dispersion/correlation metrics: implied vs realized correlation, correlation premium, dispersion trade setup, and per-constituent contributions. This distinguishes it from sibling tools by naming specific outputs and use cases.

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 explicitly says 'Use for dispersion trading, correlation premium sizing, or cross-asset vol arb,' giving clear application context. It does not mention when not to use it or name alternative tools, so it stops short of a 5.

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