Skip to main content
Glama

get_market_reaction

get_market_reaction
Read-onlyIdempotent

Retrieve deterministic post-event market reaction metrics for an economic release or monetary policy statement.

Specify the targetType, such as US_CPI, FEDERAL_RESERVE, or ECB.

Optionally specify dateOrPeriod:

  • For US_CPI: reference period in YYYY-MM format (e.g. 2024-07). If omitted, the latest US CPI event is resolved.

  • For FEDERAL_RESERVE or ECB: statement date in YYYY-MM-DD format (e.g. 2024-07-31). If omitted, the latest statement is resolved.

Optionally specify instrument (defaults to EURUSD).

Returns deterministic price action metrics across 5 standardized post-event windows (M5, M15, H1, H4, H24) including startPrice, endPrice, returnPct, high, low, maxUpMovePct, maxDownMovePct, and rangePct.

All calculations are strictly deterministic and mathematical. This tool does not provide trading recommendations or predictive signals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instrumentNoOptional trading instrument. Defaults to EURUSD.
targetTypeYesCanonical target event type: US_CPI, FEDERAL_RESERVE, or ECB.
dateOrPeriodNoOptional reference period (YYYY-MM for US_CPI) or statement date (YYYY-MM-DD for central banks). If omitted, the latest event is returned.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
windowsYes
targetIdYes
eventTimeYes
freshnessNo
isSettledYes
instrumentYes
isCompleteYes
reactionIdYes
targetTypeYes
calculatedAtYes
coverageStatusNo
marketDataSourceYes
reactionCoverageNo
targetDescriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, and non-destructive behavior. The description adds meaningful context beyond them by emphasizing that calculations are strictly deterministic and mathematical, and that the tool offers no trading or predictive signals. This helps an agent calibrate expectations. No contradiction 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a clear one-sentence purpose, followed by bulletized parameter specifics and a concise list of return fields. It is slightly detailed but every section earns its place; no filler or tautological content.

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?

Given the three-parameter surface and availability of an output schema, the description covers everything needed for an agent to call the tool correctly: required parameter, conditional formats, defaults, output metrics, and behavioral limits. There are no significant missing invocation details.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description goes further by providing concrete examples, conditional date formats for each targetType, and clarifying default behavior (latest event, EURUSD instrument). This adds real value beyond the schema field descriptions.

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 clearly states the verb 'Retrieve' and a specific resource: deterministic post-event market reaction metrics for economic releases or monetary policy statements. It identifies the distinct output (standardized windows and metrics) which separates it from context/analog tools, though it does not explicitly name a sibling alternative.

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?

Parameter usage is clearly specified: targetType is required, dateOrPeriod has conditional formats per targetType, and instrument has a default. It also sets expectations by stating it does not provide recommendations or predictions. However, it does not explicitly say when to choose this tool over siblings like get_historical_reaction_context or get_event_context.

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