Skip to main content
Glama
felpra-trading-mcp

felpra-trading-mcp

Official

Regime Changes

get_regime_changes
Read-onlyIdempotent

Track recently confirmed market regime changes across macro, market structure, groups, and symbols. See from/to states, confirmation times, and historical persistence rates for polling shifts.

Instructions

Purpose: What changed: recently confirmed regime state changes (global macro regime, 8 macro categories, market structure regime, structure groups, and named symbols' daily regime labels), each with the from/to state, when it was first seen and confirmed, and how often such a change held before. Triggers (casual questions too): "what changed since yesterday?", "어제랑 뭐가 달라졌어?", "any regime shifts today?", "오늘 바뀐 거 있어?", "did the macro regime flip?". When to call: at the start of a return visit, or to poll for changes (pass next_cursor as since). Prerequisites: none. Next steps: get_macro_context, get_group_context, get_market_context or get_symbol_context for a changed entity. Caveats: a change is confirmed only after it holds for 2 daily snapshots (3 for groups), so the feed lags intraday moves by design; an empty events list is a normal answer; base_rate is a state-persistence rate, not a hit rate; link changes are not tracked yet (see gaps). Output nature: Market regime and structure labels computed from observed prices (relative positions of indicator scores, not forecasts). Context, not investment advice.

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_regime_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNomax confirmed events (1-50, default 20)
sinceNonext_cursor from an earlier response; when given, returns events after it in order
marketNoall | crypto | kr_stock | us_stock (global and macro changes are always included)all
symbolsNoup to 10 symbols for symbol-level daily regime label changes (Pro key)
hours_backNolook-back window in hours when since is not given (default 24; max 72 free, 720 with a Pro key)
include_provisionalNoalso list changes seen but not yet confirmed

Output Schema

NameRequiredDescriptionDefault

No arguments

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 declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: confirmation requires 2 daily snapshots (3 for groups), so the feed lags intraday by design; an empty events list is a normal answer; base_rate is state persistence, not a hit rate; link changes are not tracked. It does not say anything about response shape, but an output schema exists.

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 the purpose is front-loaded. However, it is long: five bilingual trigger examples and a disclaimer sentence ('Context, not investment advice') are marginal value for an agent, and the caveat block is dense.

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?

Given an output schema and strong annotations, the description covers everything an agent needs that structured fields cannot express: confirmation lag, empty results being normal, cursor-based polling, and follow-up routing. No material gap remains for correct invocation.

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 six parameters (limit, since, market, symbols, hours_back, include_provisional) are already documented in the schema. The description reinforces the since/next_cursor polling pattern and the confirmation semantics behind include_provisional, but adds no syntax or format detail the schema lacks. 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 verb-and-resource statement: 'recently confirmed regime state changes' and enumerates the exact scope (global macro regime, 8 macro categories, market structure regime, structure groups, symbol daily labels). It also states what each event carries (from/to state, first seen, confirmation time, historical persistence). This is far beyond a restatement of the name and lets an agent distinguish it from the context-lookup siblings it lists.

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 an explicit 'When to call' rule (start of a return visit, or polling with next_cursor as since), states 'Prerequisites: none', and routes to the follow-up tools (get_macro_context, get_group_context, get_market_context, get_symbol_context) for a changed entity. Natural-language trigger examples in two languages further pin down the intent match.

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