Skip to main content
Glama
sepehr071

tsetmc-mcp

by sepehr071

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TSETMC_MCP_PROXYNoOptional HTTP proxy URL for tsetmc.com requests; system proxy settings are ignored. A comma-separated list is used one at a time: the next proxy takes over when one is blocked or cannot connect.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ts_search_symbolsA

Find Tehran Stock Exchange instruments (shares, funds, rights, bonds) by ticker or name.

Use first when you only have a name. Pass a result's symbol (or ins_code) to the other ts_ tools. An empty list means no match: retry with a shorter name or the other spelling.

ts_get_quoteA

Latest price, daily range, volume and key facts of one instrument on the Tehran Stock Exchange.

last is the last trade, close the closing (volume-weighted) price; change_pct is last vs yesterday's close. Prices are in Rial. Use ts_order_book for bids and asks, ts_price_history for earlier days.

ts_market_moversA

Top traded instruments of a market today, ranked by gain, loss, volume, value or trade count.

Only instruments that traded are listed. limit_up/limit_down marks a price stuck at its daily limit. Prices are in Rial. Pass a row's symbol to ts_get_quote or ts_order_book.

ts_order_bookA

Best five bid and ask levels (price, volume, order count) of one instrument.

Empty outside trading hours. A level with ask price 0 means a buy queue (no sellers), bid price 0 a sell queue. Prices are in Rial.

ts_price_historyA

Daily open, high, low, close, volume, trades and value of one instrument for its latest trading days, newest first.

Prices are in Rial and not adjusted for capital increases or dividends; dates are Gregorian.

ts_real_legalA

Buy and sell volume, value and buyer/seller counts split by real (individual) and legal (institutional) traders per day.

net_real_volume > 0 means individuals bought more than they sold (money flowing in from real investors). Newest day first. Volumes are in shares, values in Rial.

ts_indicesA

TSE total index, market state and trading totals, plus every sector and market index with its change.

Use to see which sectors lead or lag today. Pass an index name to ts_index_history for its past values.

ts_index_historyA

Daily close, high, low and percent change of a TSE index (total, equal-weight, sector...), newest first.

Find index names with ts_indices.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a distinct data shape: symbol search, single-instrument quote, market leaderboard, order book, daily history, real/legal flow split, index snapshot, and index history. Descriptions explicitly cross-reference each other (e.g. ts_get_quote defers to ts_order_book and ts_price_history), leaving no meaningful overlap.

Naming Consistency4/5

All names share the ts_ prefix and snake_case, which is highly predictable. However, only ts_search_symbols and ts_get_quote use a verb_noun form; the rest are bare resource nouns (ts_order_book, ts_price_history, ts_indices), so the verb convention is not uniform.

Tool Count5/5

Eight tools is well-scoped for a market-data server, with one tool per core data need (search, quote, movers, order book, history, flows, indices). No tool appears redundant or padded.

Completeness4/5

The surface covers the main read paths: discovery, pricing, order book, historical series, retail/institutional flow, and index tracking, with clear handoffs between tools. Gaps are minor but real: no intraday/time-and-sales data, no fundamentals or shareholder info, and no market-wide history beyond indices.

Maintenance

ActivityMaintained
ResponsivenessNo issues