Skip to main content
Glama
sepehr071

tsetmc-mcp

by sepehr071

Market movers

ts_market_movers
Read-onlyIdempotent

Retrieve today's top traded instruments in Tehran Stock Exchange or Iran Fara Bourse, ranked by gain, loss, volume, value, or trade count, with daily price-limit status.

Instructions

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.

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (30 keeps the reply under 15 KB).
marketNobourse = Tehran Stock Exchange shares, farabourse = Iran Fara Bourse shares, rights = rights issues, bonds.bourse
sort_byNogain/loss = biggest last-trade change vs yesterday, volume = shares traded, value = Rial traded, trades = trade count.gain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint, so safety is covered. The description adds genuine domain context the annotations can't: only instruments that traded are listed, limit_up/limit_down flags mark a price stuck at its daily limit, and prices are denominated in Rial. It doesn't mention ordering/page behavior beyond limit, but the added semantics are substantive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the core purpose, followed by the traded-only constraint, the limit flag semantics, currency units, and the sibling hand-off. No filler or repetition of schema fields.

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 supplies exactly the row-level semantics an agent needs (traded-only listing, limit_up/limit_down flags, Rial pricing) and tells it how to drill down via siblings. A note on row ordering/pagination or the columns returned would make it fully complete.

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 the schema already defines limit, market enum values, and sort_by semantics. The description's phrase 'ranked by gain, loss, volume, value or trade count' restates the sort_by enum without adding format or constraint detail, so 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?

States a specific verb and resource ('Top traded instruments of a market today') plus the ranking dimensions, so the agent knows this is a ranked leaderboard endpoint. Sibling tools like ts_indices and ts_price_history cover different resources, and the description's 'top traded instruments of a market' scope is clearly distinct from a single-symbol quote lookup.

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

Usage Guidelines4/5

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

The description implies the discovery use case and explicitly routes follow-up work: 'Pass a row's `symbol` to ts_get_quote or ts_order_book.' It doesn't state when NOT to use this (e.g. use ts_price_history for a time series), but the context is clear enough for correct selection.

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