Skip to main content
Glama

Hedgr FX Risk & Hedging

get_market_regime

Read-only

Use this when the user asks whether a currency pair such as GBP/USD is calm or volatile, how far it moved in the last 30 days, or what the market backdrop is for the currencies they hold. Returns a current Hedgr regime snapshot for one or more currency pairs. Volatility regimes are Settled / Directional / Choppy / Stressed. Do not use for rate forecasts, dealing quotes or currency conversion. Regimes are not trade recommendations. The scores are analytical only. The snapshot holds a compact headline, sorted snapshot rows, latest rate, realised-volatility regime, 30-day change, methodology, and dashboard surface. Also returns a market_environment block matching the Monitor Market Environment KPI cards when the book has exposure: the exposure-weighted Composite score (0-100), Volatility score, and 30-day Trend (change and direction). Also returns dashboard_market_environment (the Composite, Trend and Volatility scores, levels and the Global Backdrop score/sentiment exactly as the dashboard published them; null with a reason until the Monitor tab has published), dashboard_regimes (per-pair regime label and recent range as shown on screen), and market_environment.trend_score, adverse_currencies and trend_summary from the server engine.

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": "get_market_regime"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairsNoCurrency pairs to query, e.g. ['GBPEUR', 'GBPUSD', 'USDZAR']. Omit to return regimes for all pairs relevant to the user's current exposure.
history_yearsNoHow many years of history to include when include_history is true. Defaults to 2.
include_chartNoWhen true, includes one or two image/png content blocks: (1) a horizontal bar chart of realised-volatility % by pair, colour-coded by regime (green=Settled, blue=Directional, amber=Choppy, red=Stressed); (2) when include_history is also true, a rate + Bollinger-band line chart for the most-stressed pair.
include_historyNoInclude the historical regime series (date + regime + volatility per point). Useful for charting or for the agent to describe how stable the current regime is.

Output Schema

NameRequiredDescriptionDefault
dataYesTool-specific payload. Null when connection_status.state is 'setup_required'.
connection_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the read-only, closed-world, non-destructive profile, and the description adds substantial context on top: results are analytical only, dashboard_market_environment returns null with a reason until the Monitor tab publishes, and the chart blocks are image/png content. This is the kind of state-dependent behaviour an agent could not infer from annotations alone.

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?

The lead is well front-loaded: usage triggers first, exclusions second, then what is returned. The trailing portion is a long run-on enumeration of return fields (market_environment, dashboard_market_environment, dashboard_regimes, trend_score, adverse_currencies) that duplicates the output schema and could be trimmed, but the ordering is logical and nothing is genuinely misleading.

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 zero-required-parameter read tool with a full output schema, the definition is more than complete — it explains intent, exclusions, and the null-until-published edge case. Its only excess is restating return structure that the output schema already carries, which is redundancy rather than a gap.

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 schema already documents pairs, history_years, include_chart, and include_history thoroughly, including defaults and the omit-to-use-exposure behaviour. The description adds no parameter-level meaning beyond what the schema states; the remainder of the text describes return content rather than inputs, so the baseline 3 applies.

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?

States a specific verb and resource — "Returns a current Hedgr regime snapshot for one or more currency pairs" — and enumerates the regime vocabulary (Settled / Directional / Choppy / Stressed). It also carves out scope against neighbours by ruling out forecasts, dealing quotes, and currency conversion, so an agent can distinguish it from get_rate_assumptions or get_fx_guidance without inspecting schemas.

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

Usage Guidelines5/5

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

Opens with concrete user-intent triggers ("is a currency pair calm or volatile", "how far it moved in the last 30 days", "market backdrop for the currencies they hold"). Explicit negative guidance follows: "Do not use for rate forecasts, dealing quotes or currency conversion," plus the caveat that regimes are not trade recommendations.

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