Skip to main content
Glama

get_historical_reaction_context

get_historical_reaction_context
Read-onlyIdempotent

Analyze how EURUSD reacted after historical U.S. CPI releases that had surprise profiles similar to a target CPI event.

Answers: What happened to EURUSD after historically similar CPI events? Provides window-by-window descriptive statistics (M5, M15, H1, H4, H24) including mean, median, quantiles, directional consistency, path classifications (e.g. IMMEDIATE_CONTINUATION, INITIAL_REVERSAL, FADE, DELAYED_REACTION), and conservative sample-size-based confidence.

The results are deterministic empirical observations only and do not predict future prices or constitute investment advice.

Currently supports US_CPI and EURUSD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoOptional maximum number of analogs to analyze (range 3 to 30, default 10).
eventTypeYesCanonical target event type. Currently only US_CPI is supported.
instrumentNoOptional trading instrument. Defaults to EURUSD.
referencePeriodNoOptional reference period in YYYY-MM format (e.g. 2024-06 or 2026-08). If omitted, the latest available event is used as the target.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
analogsYes
coverageYes
eventTypeYes
instrumentYes
referencePeriodYes
aggregatePatternYes
reactionStatisticsYes
targetSurpriseProfileYes

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 indicate readOnly, idempotent, and non-destructive behavior, and the description adds valuable context beyond those: results are 'deterministic empirical observations only,' do not predict future prices, and are not investment advice. It also discloses the conservative sample-size-based confidence approach, which is a behavioral trait not present in 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 front-loaded with the core purpose, then follows with the question it answers, the output contents, and important caveats. Every sentence earns its place and there is no redundant restatement of the tool name or schema fields.

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?

The description covers purpose, supported scope, output characteristics, statistical windows, path classifications, confidence handling, and non-advice limitations. An output schema exists, so return values do not need to be re-explained. Nothing critical is missing for an agent to correctly select and invoke the tool.

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 schema already explains eventType, instrument, limit, and referencePeriod clearly. The description adds some context by mentioning 'similar to a target CPI event' and 'U.S. CPI releases,' but it does not substantially expand on parameter meaning beyond what the schema provides. 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 opens with a specific verb and resource: 'Analyze how EURUSD reacted after historical U.S. CPI releases...' It clearly answers a distinct question ('What happened to EURUSD after historically similar CPI events?') and differentiates from siblings like get_historical_analogs by focusing on reaction statistics rather than just analog identification.

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 clear context for when to use the tool: when the agent needs historical post-CPI reaction analysis for EURUSD. It also states scope limitations ('Currently supports US_CPI and EURUSD'). However, it does not explicitly name sibling tools or state when not to use this tool versus alternatives.

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