Skip to main content
Glama

get_market_regime

Read-onlyIdempotent

Current SPY-realized-volatility regime classification (low/mid/high) and recent regime history for context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
todayNo
historyNo
distributionNolow/mid/high → count in the window
history_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds context about the output (current regime and history) but no additional behavioral traits such as data source or computation method, so it adds only minimal value beyond 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 a single sentence with no filler, front-loading the primary output ('current SPY-realized-volatility regime classification') and adding the history note.

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?

For a simple read-only tool with an output schema and strong annotations, the description is mostly adequate, but it lacks explicit parameter documentation and does not differentiate from sibling tools. The absence of any reference to the 'days' parameter in the description leaves a small but real gap.

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

Parameters2/5

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

The schema contains a single 'days' parameter with no description (0% coverage). The description mentions 'recent regime history' which hints that 'days' controls the history length, but does not explicitly state its meaning, use, or constraints, leaving the agent to infer the link.

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?

Clearly identifies the tool's function: producing a SPY realized-volatility regime classification (low/mid/high) plus recent history. This differentiates it from sibling tools like get_market_context or get_vx_term_structure by focusing specifically on SPY volatility regimes.

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 gives a clear sense of when to use the tool (when you need SPY volatility regime and recent history), but it does not mention alternatives or exclusions, so it falls short of explicitly guiding selection among siblings.

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