Skip to main content
Glama
felpra-trading-mcp

felpra-trading-mcp

Official

Prediction Accuracy

get_prediction_accuracy
Read-onlyIdempotent

Measure how FELPRA's macro predictions have held up with per-cell hit rates, persistence baselines, and skill scores so you can judge whether forecasts beat sticky regimes.

Instructions

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: 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). Later methodology changes: candle label definition 2026-10-01 (meta.label_definition_change), judge v4 2026-10-22 and judge v5 2026-11-19 (judge_version on ledger rows; the corrections block explains each). The default compact view leaves out skill_ci_95, n_effective and accuracy_v2_only — pass compact=false for them. meta.schema_version is this tool's payload version; _value_signals.schema_version is the shared envelope version, so the two can differ. 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 observedv0.7.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the compact=true default hides skill_ci_95, n_effective and accuracy_v2_only, methodology cutover dates, and the caveat that raw accuracy largely measures regime persistence. However, this behavior is entangled with a large volume of caveat text rather than clean separation, so it earns solid-but-not-exceptional credit.

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?

The opening sentence, the "When to call" line, and the Triggers block repeat the same call-first guidance, and the bilingual trigger list is bulky relative to its value. The front-loaded instruction is good, but substantial redundancy and length weigh against it for a 6-parameter read tool.

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?

With an output schema present, the description needn't document return values, yet it contextualizes the key fields (persistence_accuracy as null model, n_effective vs n_nominal, accuracy_v2_only) so results are interpretable. Methodology transitions, caveats about sticky regimes, and the forward-looking limitation are all covered, leaving nothing material an agent needs to call or read this correctly.

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 goes further: it explains that granularity="monthly" yields the month-by-month trend and that compact/forecast_only/limit do not apply there, and that compact=false is required to surface skill_ci_95, n_effective and accuracy_v2_only. That adds operational meaning beyond the schema's own field descriptions.

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 names a specific resource and scope: per-cell (category, target_market, lag_bucket) hit rates with honest baselines for FELPRA macro calls, plus a named alternative view via granularity="monthly". It also explicitly routes away from related siblings (get_ledger_integrity, get_signal_calibration) and enumerates the exact fields returned, so an agent can tell this apart from neighbors without opening a schema.

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?

It states "Call this first" for evaluating track record, gives explicit triggers including casual and Korean-language phrasings, lists prerequisites (none), and names concrete next steps with the condition that selects each. Alternatives and when-to-use are both spelled out rather than implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.