Skip to main content
Glama
felpra-trading-mcp

felpra-trading-mcp

Official

Symbol Context

get_symbol_context
Read-onlyIdempotent

Retrieve one stock or coin's signal state, FELPRA group, tracked lead-lag links, tagged news, and explicit gaps to answer single-asset questions.

Instructions

Use when the question is about one stock or coin — its current signal state, the FELPRA structure group it belongs to, and which assets have tracked lead-lag links to it. Returns self-contained headline claims first, then the symbol's observed state, upstream links (its group, macro/ETF/basket instruments and symbols that move before it), peers (symbols that follow it), tagged news, and gaps that say what is not tracked. Not for sector-wide questions (use get_group_context) or whole-market questions (use get_market_context). Provides regime, signal-score and linkage context with sample sizes and measured hit rates; every link carries its evidence and every empty section is listed in gaps. Not a real-time quote, fundamentals, or full-text news source. Accepts tickers, KRX codes or names; ambiguous inputs return candidates instead of a guess. Output nature: Self-contained context for one entity: observed state, tracked links with their evidence and sample sizes, and explicit gaps. 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": {
      "symbol": "<symbol>"
    },
    "name": "get_symbol_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNo"full" (default) or "compact". compact keeps headline, meta, self (with conflicts), gaps and skill, up to 3 links per section, and leaves out methodology text; response_view.omitted lists what was left out.full
limitNoMax links per section (default 8, max 50).
symbolYesTicker (NVDA), KRX 6-digit code (005930), coin base ticker (BTC) or name (삼성전자, Samsung Electronics). Ambiguous names return candidates, not a guess.
questionNoOptional. The user's original question, used only for service improvement analytics. Does not change the response. Do not include personal information.
market_idNoOptional. crypto / kr_stock / us_stock (aliases coin/kr/us). Narrows name resolution.

Output Schema

NameRequiredDescriptionDefault
gapsNo
metaNo
newsNo
selfNo
peersNo
entityNo
headlineNo
upstreamNo
timestampYesRFC3339 UTC, server build time
disclaimerYesCanonical compliance disclaimer (always present)
downstreamNo
request_idYes32-hex per-response correlation id
resolutionNo
data_classificationNo
is_investment_adviceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare read-only, non-destructive, idempotent, closed-world behavior, so safety needs no restating. The description does add real value beyond them: outputs are self-contained with headline claims first, every link carries evidence and measured hit rates, empty sections are surfaced in a gaps list, and ambiguous names return candidates rather than a guess. That said, much of the middle passage describes response structure that the existing output schema already conveys, so it is not purely additive.

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?

It is front-loaded correctly, with the selection condition and the sibling exclusions before the response-shape detail. It runs long and repeats the ambiguity-returns-candidates point already in the schema, but each remaining sentence still carries routing or scope information.

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 single-entity context tool with five parameters, an output schema, and full annotation coverage, the description covers everything an agent needs: when to use it, when not to, what the response contains, what is deliberately missing (gaps), and how ambiguous input is handled.

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 description coverage is 100%, so all five parameters are already documented, including the compact/full view behavior and the limit cap. The description only echoes accepted input forms (tickers, KRX codes, names) and the ambiguity fallback, which the schema already states almost verbatim, so it adds minimal meaning beyond the structured fields.

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 opens with a specific verb-and-resource framing: single-symbol signal state, its FELPRA structure group, and lead-lag linked assets. It explicitly names what it is not (sector-wide, whole-market) and routes those to get_group_context and get_market_context, so an agent can distinguish it from siblings 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 gives a clear selection condition ('when the question is about one stock or coin') and explicit exclusions with named alternatives for sector and market questions. It also rules out adjacent use cases (real-time quotes, fundamentals, full-text news), leaving little room for misrouting.

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