Skip to main content
Glama
felpra-trading-mcp

felpra-trading-mcp

Official

Signal Calibration

get_signal_calibration
Read-onlyIdempotent

Check signal confidence calibration by returning realized hit rates per confidence bucket with an ECE summary, so agents can verify whether stated probabilities match observed outcomes.

Instructions

Purpose: Reliability diagram data for Level-1 signal confidence — realized hit rate per confidence bucket ([0.5,0.6) ... [0.9,1.0]) with ECE summary. Lets an agent verify whether a 0.9-confidence signal actually hits ~90%. Triggers (casual questions too): "is your confidence calibrated?", "confidence 0.9 믿어도 돼?", "시그널 확신도 실제 적중률 보여줘", "how reliable are signal confidences?". When to call: before trusting get_signals confidence values as probabilities. Prerequisites: none. Next steps: get_prediction_accuracy (macro-layer skill), get_signals. Caveats: snapshot is daily (per-market day; markets[].stale flags a lagging market); read the observation window from markets[].observation_window_utc; rows are graded 30 minutes to 6.5 hours after the signal (240m and 1d rows wait for a later bar of their own interval — meta.judgment_horizon); n is nominal (correlated trials — see meta.sample_caveat); read intervals[*].quality.status before citing a cell (withheld / degenerate / non_monotone) and cite all_intervals_excluding_withheld, not all_intervals. 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_signal_calibration"
  }
}

Input Schema

NameRequiredDescriptionDefault
variantNo"v1" (raw heuristic confidence, default) or "v2" (outcome-based shadow confidence — RCA C2, accumulating since 2026-07-21)v1
intervalNoOptional candle interval filter (e.g. 15m, 30m, 240m, 1d)
market_idNoOptional filter (crypto | kr_stock | us_stock)

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.6/5.0
Behavior5/5

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

Annotations already declare a safe read (readOnlyHint, idempotentHint, non-destructive), and the description goes well beyond them: daily snapshot cadence, per-market staleness flags, the observation-window field, the 30m–6.5h grading lag with the 240m/1d exception, nominal sample sizes from correlated trials, and a rule to read intervals[*].quality.status and cite all_intervals_excluding_withheld rather than all_intervals. It also closes with the interpretive boundary that past hit rates do not predict future outcomes, which is exactly the caveat an agent needs before quoting these numbers.

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?

Clearly front-loaded and labeled (Purpose / Triggers / When to call / Prerequisites / Next steps / Caveats / Output nature), so an agent can stop reading once it has what it needs. The caveats block is dense and the multilingual trigger list is longer than strictly necessary, which keeps it from a 5.

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?

An output schema exists, so return values need not be explained, yet the description still names the specific output fields an agent must consult (stale, observation_window_utc, meta.judgment_horizon, meta.sample_caveat, intervals[*].quality.status) and warns which aggregate to cite. For a zero-required-parameter read tool with a rich output schema, nothing an agent needs in order to call or interpret it correctly is missing.

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 coverage is 100%, so variant, interval, and market_id are already fully documented in the schema; the description does not restate their accepted values or explain the v1/v2 distinction further. It adds only indirect context ('per-market day', 'markets[*].stale') that hints at the market filter. Baseline 3 is correct when the schema carries the parameter burden.

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 resource (reliability-diagram data for Level-1 signal confidence) and the exact shape of the output (realized hit rate per confidence bucket [0.5,0.6)...[0.9,1.0] plus an ECE summary), then gives the operational purpose: verifying whether a 0.9-confidence signal actually hits ~90%. That is concrete enough to separate it from get_structure_calibration or get_prediction_accuracy 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?

Provides explicit triggers including casual phrasings, an explicit when-to-call rule ('before trusting get_signals confidence values as probabilities'), prerequisites ('none'), and named next steps (get_prediction_accuracy, get_signals). Both the use case and the hand-off path are stated rather than inferred.

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