Skip to main content
Glama

FELPRA Trading Intelligence

Prediction Accuracy

get_prediction_accuracy
Read-onlyIdempotent

Call this first when judging how FELPRA's macro calls have held up — per-cell hit rates with honest baselines; granularity="monthly" for the month-by-month trend. Purpose: Per-cell (category, target_market, lag_bucket) hit rates WITH the honest baselines (schema 1.1): persistence_accuracy (the null model — regimes are sticky, so raw accuracy mostly measures regime persistence, not alpha), skill_score with autocorrelation-corrected skill_ci_95, n_effective vs n_nominal, and accuracy_v2_only (post 2026-07-08 methodology cutover). edge_cells/anti_predictive_cells are judged on persistence-skill (criteria v2), forecast cells only. Triggers (casual questions too): "how accurate are your predictions?", "예측 잘 맞아?", "track record 있어?", "can I trust these forecasts?", "적중률 보여줘", "does macro actually predict these markets?". When to call: first, when an AI agent evaluates how FELPRA calls have held up. Prerequisites: none. Next steps: get_ledger_integrity (tamper-evidence for these numbers), granularity="monthly" (time series), get_signal_calibration (Level-1 signal confidence reliability). Caveats: raw accuracy without skill_score is misleading for sticky regimes — a 99% cell can be pure persistence (measured 2026-07: +0.05pp over null). Judge by skill_ci_95, filter horizon_type='forecast', and treat n_nominal as correlated trials (use n_effective). Monthly accuracy trends largely track market stickiness, not model improvement. Output nature: Past calls and their realized outcomes, judged after the fact, with sample sizes and baselines. Past hit rates describe the past, not future outcomes.

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_prediction_accuracy"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of cells to return (response carries total/returned/truncated).
compactNoCompact view (default true): per cell only the baselined hit-rate object plus lifecycle and skill; methodology, known_biases and ledger_health become pointers. false returns every field.
categoryNoOptional macro category filter (bonds, forex, vix, commodities, credit, liquidity, inflation, energy)
granularityNocell (default) = per-cell hit rates with baselines; monthly = monthly accuracy time series per (category, target_market, lag_bucket) — compact / forecast_only / limit do not apply.cell
forecast_onlyNoOnly forecast cells (exclude nowcast). Default false.
target_marketNoOptional target market filter (crypto, kr_stock, us_stock). Aliases coin/kr/us and any letter case are accepted.

Output Schema

NameRequiredDescriptionDefault
full_dataNo
timestampYesRFC3339 UTC, server build time
disclaimerYesCanonical compliance disclaimer (always present)
request_idYes32-hex per-response correlation id
is_real_moneyNo
data_classificationNo
is_investment_adviceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, yet the description adds substantive interpretation: raw accuracy measures regime persistence rather than alpha, a measured +0.05pp example over the null model, the 2026-07-08 methodology cutover, and the warning that monthly trends track market stickiness. It also closes with an output-nature statement scoping past results to the past.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Labelled sections (Purpose, Triggers, When to call, Prerequisites, Next steps, Caveats, Output nature) front-load well, but the same instruction appears three times — the opening 'call this first', the Triggers list, and 'When to call: first' — and the Korean trigger strings add bulk without new semantics.

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?

For a six-parameter, read-only analytics tool with an output schema, the description covers triggers, prerequisites, follow-up tools, metric interpretation traps, and result semantics. Nothing needed to call it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds interpretive value beyond the schema: it points at granularity='monthly' for the month-by-month trend and advises filtering horizon_type='forecast' and judging by n_effective rather than n_nominal. It does not explain the limit/compact/category interplay itself, leaving that to the schema.

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 — per-cell (category, target_market, lag_bucket) hit rates with baselines — and enumerates the exact fields returned (persistence_accuracy, skill_score, skill_ci_95, n_effective, accuracy_v2_only). This clearly separates it from siblings like get_resolved_predictions or get_performance_metrics.

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?

Explicitly says 'call this first when judging how FELPRA's macro calls have held up', lists concrete user phrasings (including Korean) that should trigger it, states prerequisites are none, and names next-step alternatives (get_ledger_integrity, granularity='monthly', get_signal_calibration) with the condition selecting each.

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.