Skip to main content
Glama
iran-bourse-mcp

iran-bourse-mcp

by msmahdinejad

technical_indicators

Read-onlyIdempotent

Computes technical-analysis indicators from adjusted daily prices to assess trend, momentum, volatility, and support/resistance for a symbol.

Instructions

Technical analysis indicators of one symbol (اندیکاتورهای تکنیکال) from its daily prices: SMA 20/50/200, EMA 12/26, RSI 14 (Wilder), MACD 12/26/9 with signal and histogram, Bollinger 20/2 with %B and bandwidth, ATR 14, stochastic 14/3, OBV trend, volume vs its 20-session average, distance from the 52-week high and low, support and resistance from recent swing lows and highs, recent crosses (MACD/signal, SMA50/SMA200) and a plain-language summary ("RSI 72: overbought", "price above SMA50 and SMA200"). Computed by this server from the exchange's adjusted daily closing prices, not published by the exchange.

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": "technical_indicators"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNewest sessions of every indicator series to return (0-250); latest values are always returned
symbolYesPersian symbol such as 'فولاد', or an insCode
adjustedNoUse prices back-adjusted for capital increases and dividends (تعدیل شده); recommended

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A3.7/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, so the safety profile is covered. The description adds genuinely new behavioral context: the values are computed by this server from the exchange's adjusted daily closing prices and are not published by the exchange — important for trusting/attributing the numbers. It does not mention cost, latency, or behavior when history is insufficient for long windows.

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-loaded with the verb and resource, then the indicator list; the enumeration is long but earns its place because there is no output schema to enumerate fields. The trailing provenance sentence is valuable and well placed. Minor density from the parenthetical Persian gloss and inline examples.

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?

With no output schema, the description carries the return-value burden and does so thoroughly, including plain-language summary examples. What remains thin is edge-case behavior — minimum history required for SMA200/52-week metrics and whether short-history symbols error or return partial results.

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 three parameters (symbol, days, adjusted) are already self-documenting, which sets the baseline at 3. The description reinforces that everything derives from daily adjusted closes and that indicators are daily-series based, but adds no new detail on the days truncation behavior or symbol identifiers beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource — technical indicators for one symbol — and enumerates exactly which indicators are computed (SMA, EMA, RSI Wilder, MACD, Bollinger, ATR, stochastic, OBV, 52-week distance, support/resistance, crosses). This makes it clearly distinguishable from raw-price siblings like price_history or quote, although no sibling is named explicitly.

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 only implied: an agent can infer it should call this when it wants derived analytics rather than raw daily closes. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g. price_history for raw candles), and no mention of data prerequisites such as needing sufficient history for SMA200.

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