get_historical_analogs
get_historical_analogsFind and return individual historical macroeconomic releases whose surprise profiles are most similar to a selected target event.
Use this CASE-RETRIEVAL tool when the user wants to identify, rank, inspect, or compare specific historical analog events.
It returns the matched events themselves, including event identity, similarity characteristics, surprise profile, and each event's observed post-release reaction.
Supported event types: US_CPI and US_NONFARM_PAYROLLS across EURUSD, GBPUSD, and USDJPY. US_PCE is recognized but not yet publicly available: the historical PCE calibration corpus currently has too few usable periods, and a request for US_PCE returns a structured INSUFFICIENT_HISTORICAL_CALIBRATION error (with usable/required event counts) instead of analog results until the corpus grows.
Similarity methodology is event-specific: US_CPI uses headline/core surprise distance; US_NONFARM_PAYROLLS uses target-relative robust scale normalization (nfp-historical-analog-v1); US_PCE (once activated) uses the same raw surprise -distance approach as US_CPI (pce-historical-analog-v1).
Target period: if referencePeriod is omitted, the target is the most recent event of the requested type. Surprises are never estimated, so if that event has no verified pre-release consensus (common right after a new NFP release) the tool fails with NO_VERIFIED_PRE_RELEASE_EXPECTATION. The error details include targetReferencePeriod, latestReleasedPeriod, latestPeriodWithVerifiedExpectation and a hint; to analyze that prior period, retry with referencePeriod=YYYY-MM. Tell the user the newest release could not be analyzed rather than presenting the prior period as the latest.
Every "cannot compute" error has the same shape: "CODE: reason [hint] details={json}", where the JSON always contains code, eventType and hint.
Do NOT use this tool when the user's primary question is about aggregate behavior across the analog sample; use get_historical_reaction_context instead.
The results are historical observations only and do not predict future price direction or provide trading recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventType | Yes | Canonical target event type: US_CPI, US_NONFARM_PAYROLLS, or US_PCE. | |
| instrument | No | Optional trading instrument: EURUSD, GBPUSD, or USDJPY. Defaults to EURUSD. | |
| maxAnalogs | No | Optional maximum number of individual analogs to return (range 3 to 30, default 10). | |
| referencePeriod | No | Optional reference period in YYYY-MM format (e.g. 2024-06 or 2026-08). If omitted, the most recent event is the target. Use it to analyze a prior period when the latest event has no verified pre-release expectation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analogs | Yes | ||
| coverage | Yes | ||
| eventType | Yes | ||
| instrument | Yes | ||
| methodology | Yes | ||
| targetSurprise | Yes | ||
| referencePeriod | Yes | ||
| methodologyVersion | Yes | ||
| reactionStatistics | Yes |