Skip to main content
Glama
felpra-trading-mcp

felpra-trading-mcp

Official

Trading Signals

get_signals
Read-onlyIdempotent

Filter and retrieve market signals by symbol, timeframe, bias, score, or confidence to inspect a specific asset's current signal context; results are context, not investment advice.

Instructions

Purpose: Query signals with dynamic filters (symbol / interval / bias / score / confidence). Triggers (casual questions too): "what's the signal for BTC / AAPL / 삼성전자?", "is X bullish or bearish?", "how does X look right now?". When the user asks whether to trade X, FELPRA gives context (regime, score, measured past hit rate of similar scores), not a conclusion: pass it on as context and do not turn it into a trade call. Always surface the disclaimer. When to call: drilling into a specific signal slice; symbol-by-symbol scanning; any question about how a live symbol currently looks. Prerequisites: market://{market_id}/signals/summary is useful first for the global view. Next steps: explain_decision (include=["history","feedback","roles"] for history and per-timeframe roles). Caveats: When symbol/coin is omitted, the whole market is scanned in one consolidated query (2 newest rows per symbol, newest-first scan cap per interval). Results are capped: check truncated / truncated_note before reading the set as "the whole market". Fields that are identical across every returned row are hoisted into common and omitted from the rows (see common_note); a row-level key, when present, wins over common. warnings carries only the flags that are true and is omitted entirely when none are. reason_uncalibrated: true on a row points at the response-level reason_uncalibrated_note. Output nature: Observed signal state computed from live market prices each cycle. signal_score is an internal ranking score, not a probability; bias is its sign. Context for the user's question, not investment advice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "market_id": "<market_id>"
    },
    "name": "get_signals"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinNoLegacy alias of symbol (kept for backward compatibility)
limitNoMax results (default 50, max 500; values outside the range are clamped)
symbolNoAsset identifier to query (preferred; optional — targets a specific symbol DB)
intervalNoTimeframe filter per market: crypto 15m / 30m / 240m / 1d; kr_stock and us_stock 5m / 15m / 30m / 1d; combined = the multi-timeframe composite row. An interval the market does not have returns an error.
market_idYesMarket ID (crypto, kr_stock, us_stock; aliases coin/kr/us accepted)
min_scoreNoMinimum signal score threshold
hours_backNoOnly signals within last N hours (default 24)
bias_filterNoFilter by bias, the score-sign label the responses show: positive = signal_score above +0.1, negative = below -0.1, neutral = in between (the same +/-0.1 rule the signal judgment ledger grades).
action_filterNoLegacy filter on the engine's internal action label (buy, sell, hold). That label is not in the responses; to filter by what responses show, use bias_filter.
min_confidenceNoMinimum raw confidence: an indicator-quality heuristic between 0 and 1, not a probability or hit rate (definition: get_system_card field_definitions.confidence)

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.8/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 behavior the annotations do not: omitted symbol triggers a consolidated whole-market scan (2 newest rows per symbol, newest-first cap per interval), results are capped so `truncated`/`truncated_note` must be checked, identical fields are hoisted into `common` with row-level keys winning, `warnings` is omitted when empty, and `reason_uncalibrated` points to a response-level note. That is unusually rich disclosure for a read tool.

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?

Labeled sections (Purpose, Triggers, When to call, Prerequisites, Next steps, Caveats, Output nature) make it scannable and front-loaded. It runs long and the 'not investment advice / pass as context' message is stated twice, but every block carries actionable information rather than filler.

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 10-parameter tool with an output schema, the definition covers the gaps an agent actually needs: capping/truncation, field hoisting, conditional warning omission, uncalibrated-reason indirection, and the semantic difference between signal_score as an internal ranking and a probability. Return-value structure is rightly deferred to the output schema rather than duplicated.

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 per-parameter meanings (interval enums per market, bias_filter thresholds, min_confidence definition) are already carried by the schema. The description still adds value by explaining the consequence of omitting `symbol`/`coin` (whole-market consolidated scan, not a per-symbol lookup), which no single parameter description conveys.

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?

Opens with a specific verb+resource ('Query signals') and enumerates the filter dimensions (symbol / interval / bias / score / confidence), which distinguishes it from calibration siblings like get_signal_calibration and from the single-symbol get_symbol_context. An agent can tell what it returns (observed live signal state) without opening the 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?

Explicitly lists trigger phrasings (including the casual 'is X bullish or bearish?'), a 'When to call' scope (drilling into a signal slice, symbol-by-symbol scanning, current-state questions), a prerequisite (market://{market_id}/signals/summary for the global view), and next steps (explain_decision with specific include values). It also constrains framing: pass regime/score/hit-rate as context, not a trade call.

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