Skip to main content
Glama

get_technical_indicators

Read-only

Calculate RSI, SMA, EMA, MACD, Bollinger Bands, and ATR from a symbol’s OHLC history, returning recent indicator values and a current signal summary for analysis.

Instructions

Bir hissenin OHLC geçmişi üzerinden teknik indikatörleri hesaplar: RSI(14), SMA(20/50/200), EMA(12/26), MACD(12/26/9), Bollinger bantları(20,2σ) ve ATR(14). Son N mumda indikatör değerleri + güncel sinyal yorumu döner. Örn: THYAO.IS, AAPL, BTC-USD.

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

Input Schema

NameRequiredDescriptionDefault
limitNoDöndürülecek son mum sayısı (default: 60)
periodNoİndikatör hesabı için geriye dönük veri aralığı1y
symbolYesSembol: THYAO.IS, ASELS.IS, AAPL, NVDA, BTC-USD (BIST için .IS eklenmeli)
compactNotrue ise tabloyu atlayıp yalnızca son sinyal özetini döndürür (token tasarrufu)
intervalNoMum periyodu (günlük/haftalık/aylık)1d
indicatorsNoHesaplanacak indikatörler

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.7.0
    • addedInput schema / properties / compact
      Added value: +{
      +  "default": false,
      +  "description": "true ise tabloyu atlayıp yalnızca son sinyal özetini döndürür (token tasarrufu)",
      +  "type": "boolean"
      +}
  2. Addedv1.4.0

TDQS

A4.1/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 profile is covered; the description adds real value by disclosing that the tool computes indicators over historical OHLC and returns per-candle indicator values plus a current signal interpretation. It stops short of noting data source, latency, or failure behavior for invalid symbols.

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?

Three sentences, front-loaded with the capability, then the return content, then examples—no filler. The trailing symbol examples mildly duplicate the schema's own symbol description, a small redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers what is computed, what is returned, and example inputs, which is sufficient for a 6-parameter read-only analysis tool with no output schema. It leaves out error handling and how signals are derived, so it is complete but not exhaustive.

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 baseline is 3, but the description earns an extra point by spelling out the actual indicator parameterization (RSI(14), SMA 20/50/200, EMA 12/26, MACD 12/26/9, Bollinger 20 with 2σ, ATR(14)) and framing 'son N mum' for the limit parameter, which the enum names alone do not fully convey (e.g. the 2σ setting).

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 ('Bir hissenin OHLC geçmişi üzerinden teknik indikatörleri hesaplar') and enumerates the exact indicator set with parameters, which distinguishes it from market-wide indicator siblings by scoping to a single symbol's history. An agent knows precisely what it gets 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 Guidelines3/5

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

Usage is implied rather than stated: the description gives symbol-format examples (THYAO.IS, AAPL, BTC-USD) but never says when to prefer this tool over alternatives such as get_market_indicators or get_bist_price, nor any prerequisite such as data availability or interval choice.

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