Skip to main content
Glama

Exposure Term Structure

get_term_structure
Read-only

Per-greek exposure aggregated by DTE bucket (0-7d, 8-30d, 31-60d, 61-180d, 180d+) and per expiry. Equivalent to four separate exposure calls grouped by time. Use to understand how GEX/DEX/VEX/CHEX rolls off across the term structure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyNoFlashAlpha API key. Omit when calling via /mcp-oauth (OAuth flow); required on /mcp.
symbolYesStock/ETF/index ticker (e.g. SPY, QQQ, NVDA)

TDQS

A4.3/5.0
Behavior4/5

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

Annotations provide readOnlyHint=true, so the safety profile is clear. The description adds valuable behavioral context beyond annotations: DTE bucket boundaries, per-expiry granularity, and equivalence to four separate exposure calls, giving agents a concrete model of the operation.

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 tight sentences with no wasted words. It front-loads the core definition, then provides equivalence context, then a practical use case, making it easy to scan and understand.

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?

With 100% schema coverage and a clear description of the output granularity (DTE buckets, per expiry, specific greeks), the tool is well-specified even without an output schema. The description gives agents enough to select the tool and interpret its results.

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 the parameters (symbol, apiKey) are already well documented. The description adds no parameter-specific meaning, so baseline 3 is appropriate.

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 defines the tool as returning per-greek exposure aggregated by DTE buckets and per expiry, with a specific verb and resource. It distinguishes itself from sibling exposure tools by noting it is equivalent to four separate exposure calls grouped by time.

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 states the use case: 'Use to understand how GEX/DEX/VEX/CHEX rolls off across the term structure.' It implies when to choose this over individual single-greek exposure tools, though it does not explicitly name alternatives or say when not to use it.

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.

TDQS

A3.6/5.0
Disambiguation2/5

Many tools have overlapping scopes: get_stock_summary, get_volatility, get_vrp, and get_exposure_summary all return comprehensive analytics with shared metrics, making it hard to pick the right one. The flow family (get_flow_live, get_flow_summary, get_flow_scan, get_flow_signals, etc.) has significant redundancy — get_flow_live bundles data also available via separate tools.

Naming Consistency4/5

Tool names mostly follow a consistent get_<noun> pattern, with clear subgroups like get_historical_* and get_*_exposure. Minor deviations exist: post_screener, post_structure_pnl, calculate_greeks, and solve_iv break the get_ convention, but they are still predictable and readable.

Tool Count1/5

With 73 tools, this is far beyond the 3–15 tool sweet spot and even the 50+ extreme mismatch threshold. While the domain is broad, the enormous surface is bloated by near-duplicate historical replay variants (18 get_historical_* tools) and multiple overlapping summary endpoints, making it unwieldy for an agent.

Completeness5/5

The tool set provides thorough coverage of options analytics: quotes, chains, greeks, volatility surface, VRP, exposure, flow, historical replay, screening, and strategy analysis. There are no obvious dead ends — core workflows like calculating greeks, getting exposure, and screening the universe are all supported.

Resources