Skip to main content
Glama
felpra-trading-mcp

felpra-trading-mcp

Official

Group Context

get_group_context
Read-onlyIdempotent

Retrieves regime state, co-moving groups, member signal bias and gap notes for a sector, theme, ETF or index basket. Use it to analyze basket structure and links instead of single-stock or whole-market context.

Instructions

Use when the question is about a sector, theme, ETF basket or index basket — its structure state and its members. Returns headline claims, the group's regime state per interval, its market, groups that co-move with it, member symbols with their latest signal bias, symbols the basket leads, and gaps. Not for a single stock (use get_symbol_context) or a whole market (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. 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": {
      "group": "<group>"
    },
    "name": "get_group_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
groupYesFELPRA structure group id (kr_semiconductor, technology, broad_index), a sector word (반도체, energy) or an ETF ticker that belongs to a group (QQQ).
limitNoMax links per section (default 8, max 50; members default 10).
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). Group ids repeat across markets.

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.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, but the description adds substantive context beyond them: sample sizes, measured hit rates, per-link evidence, and an explicit 'gaps' list for empty sections. It also discloses the 'not a real-time quote / not investment advice' limitation. The only remaining gap is any sense of cost or latency, which matters little for a read-only context fetch.

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?

The routing rule and scope exclusions are front-loaded and the content list is dense but earns its place. The trailing 'Output nature' paragraph partially restates what the preceding sentences already said, which is mild redundancy 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?

With an output schema present, a fully documented 5-parameter schema, and rich annotations, the description only needs to cover routing and scope — both are handled explicitly, including the exclusion list and the 'gaps' semantics. Nothing an agent needs to select or call this 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%, including detailed descriptions of view/compact omission behavior, group id forms, limit bounds, and the market_id enum with aliases. The description adds no parameter-level meaning of its own, so the baseline 3 applies.

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 trigger and resource ('sector, theme, ETF basket or index basket') and enumerates exactly what is returned (headline claims, regime state, co-moving groups, member symbols with signal bias, lead symbols, gaps). It explicitly names the two sibling tools for adjacent scopes, so an agent can classify the request without opening any 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 both the positive condition ('when the question is about a sector, theme, ETF basket or index basket') and the negative cases with named alternatives ('Not for a single stock (use get_symbol_context) or a whole market (use get_market_context)'). It also rules out quote, fundamentals and news use, which covers the remaining likely misroutes.

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