Skip to main content
Glama
Sicness

T-Bank Invest MCP Server (read-only)

by Sicness

get_tech_analysis

Read-only

Fetch SMA, EMA, RSI, MACD, or Bollinger Bands for an instrument to assess trends, momentum, and volatility.

Instructions

Get technical analysis indicators (SMA, EMA, RSI, MACD, BB) for an instrument.

Returns technicalIndicators: one item per interval with a timestamp and the indicator's values — signal (SMA, EMA, RSI), macd and signal (MACD), or middleBand, upperBand and lowerBand (BB).

Args: instrument_id: Instrument ticker, FIGI, ISIN or UID indicator_type: INDICATOR_TYPE_SMA, INDICATOR_TYPE_EMA, INDICATOR_TYPE_RSI, INDICATOR_TYPE_MACD, INDICATOR_TYPE_BB from_date: Start date (YYYY-MM-DD), default: 90 days ago to_date: End date (YYYY-MM-DD, inclusive), default: now interval: INDICATOR_INTERVAL_ONE_DAY (default), _ONE_HOUR, _WEEK, MONTH and the minute and hour steps listed in the schema. The API names intervals differently here than in get_candles; the CANDLE_INTERVAL* names of the same steps are taken too. type_of_price: TYPE_OF_PRICE_CLOSE, TYPE_OF_PRICE_OPEN, TYPE_OF_PRICE_HIGH, TYPE_OF_PRICE_LOW, TYPE_OF_PRICE_AVG length: Indicator period in intervals (default: 14); MACD ignores it deviation: BB only — number of standard deviations between the middle and outer bands (default: 2) fast_length: MACD only — period of the fast EMA (default: 12) slow_length: MACD only — period of the slow EMA (default: 26) signal_smoothing: MACD only — period of the signal line (default: 9)

Input Schema

NameRequiredDescriptionDefault
lengthNo
to_dateNo
intervalNoINDICATOR_INTERVAL_ONE_DAY
deviationNo
from_dateNo
fast_lengthNo
slow_lengthNo
instrument_idYes
type_of_priceNoTYPE_OF_PRICE_CLOSE
indicator_typeYes
signal_smoothingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description goes further by documenting the return structure (one item per interval with timestamp and indicator-specific value keys) and defaults like the 90-day lookback and inclusive to_date, which the annotations do not supply.

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?

Front-loads purpose and return shape, then presents parameters as a clean labeled list. It is on the long side, but for an 11-parameter tool with no schema descriptions nearly every line carries required information, so the length is justified.

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 no output schema and 11 parameters, the description covers both the return payload shape and all argument semantics, including defaults and per-indicator applicability. An agent has everything needed to construct a valid call and interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so comprehensively: it defines every one of the 11 parameters, names the enum values for indicator_type, interval, and type_of_price, gives defaults, and flags indicator-specific applicability (deviation = BB only, fast/slow/signal_smoothing = MACD only, MACD ignores length).

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 verb and resource ('Get technical analysis indicators') and enumerates exactly which indicators (SMA, EMA, RSI, MACD, BB) for an instrument. It is immediately distinguishable from siblings like get_candles or get_last_prices.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the indicator taxonomy rather than stated: there is no explicit 'use this when you need X' or exclusion against get_candles/get_stock_snapshot. It does add one cross-tool hint (the interval naming differs from get_candles and CANDLE_INTERVAL_* names are also accepted), which is genuinely useful routing information, but no when/when-not framing.

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