Skip to main content
Glama

actor_tsetmc-scraper

Barchin actor 'tsetmc-scraper' (finance). شش نوع داده از سرویس رسمی بورس تهران: وضعیت لحظه‌ای یک نماد، تاریخچه‌ی روزانه‌ی تعدیل‌شده، خرید و فروش حقیقی و حقوقی، عمق بازار، شاخص و دیده‌بان کل بازار. نماد فارسی خودش به insCode تبدیل می‌شود. ⚠️ همه‌ی قیمت‌ها به ریال است. ⚠️ خارج از ساعت معاملات، مقادیر لحظه‌ای صفر می‌شوند؛ اکتور در این حالت آخر… Base fee 8 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "actor_tsetmc-scraper"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToNoفقط روزهای تا این تاریخ. شمسی یا میلادی، مثل ۱۴۰۵/۰۷/۰۱.
marketsNoفقط برای «دیده‌بان کل بازار»: bourse (بورس)، farabourse (فرابورس) یا base (بازار پایه). خالی یعنی همه‌ی تابلو.
symbolsNoنماد فارسی همان‌طور که در تابلو نوشته می‌شود، مثل «فولاد» یا «خودرو»، یا insCode ۱۷ رقمی (رزولوشن نماد را حذف می‌کند و یک درخواست کمتر می‌زند). حداکثر 50 نماد؛ سقف «حداکثر تعداد ردیف» بین نمادهای «تاریخچه» و «حقیقی و حقوقی» به‌طور مساوی تقسیم می‌شود، نه اینکه اولی همه را ببلعد. برای «شاخص» شناسه‌ی شاخص را بدهید (خالی یعنی شاخص کل)؛ برای «دیده‌بان کل بازار» لازم نیست.
adjustedNoروشن: فقط آخرین روز با قیمت تعدیل‌شده (با احتساب افزایش سرمایه و سود نقدی) — endpoint تعدیل‌شده‌ی خودِ TSETMC آرشیو تاریخی ندارد و همیشه دقیقاً همین یک ردیف را می‌دهد؛ این محدودیت خودِ سایت است. خاموش (پیش‌فرض): آرشیو کامل قیمت خام روزانه از اولین روز معامله‌ی نماد. برای «تاریخچه‌ی روزانه» با بیش از یک ردیف، خاموش بگذارید.
dataTypeNoچه چیزی برگردد: وضعیت لحظه‌ای کامل هر نماد با نام و ISIN و صنعت (۴ درخواست به‌ازای هر نماد، ~۶۰ کردیت روی پروکسی مسکونی)، قیمت لحظه‌ای سبک بدون اطلاعات شرکت برای پایش پرتکرار (۲ درخواست به‌ازای هر نماد)، تاریخچه‌ی روزانه (یک ردیف برای هر روز)، خرید و فروش حقیقی و حقوقی به تفکیک روز، عمق بازار (مظنه‌های برتر)، مقدار شاخص، یا دیده‌بان کل بازار (همه‌ی نمادها با یک درخواست، بدون نیاز به نماد). نمادی که پیدا نشود به‌جای حذف بی‌صدا، ردیفی با itemType=notFound برمی‌گرداند.snapshot
dateFromNoبرای تاریخچه، حقیقی و حقوقی و شاخص: فقط روزهای از این تاریخ. شمسی (۱۴۰۴/۰۷/۰۱) یا میلادی (2025-09-23)؛ خودکار تشخیص داده می‌شود.
maxItemsNoسقف ردیف‌های خروجی این اجرا. هر چه بیشتر، صفحات بیشتری باز و کردیت بیشتری کسر می‌شود؛ برآورد هزینه را زیر فرم ببینید. حداکثر 1000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that all prices are in Rial, warns that intraday values read zero outside trading hours, and explains the credit model (8-credit base fee plus per-page proxy tier pricing that scales with maxItems). The trading-hours warning is truncated mid-sentence and no auth/rate-limit context is given, keeping it short of a 5.

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

Conciseness3/5

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

Purpose and the six data types are front-loaded, which is good, but the body is a dense run-on mixing Persian domain text with auto-generated English boilerplate, and one warning is cut off ('اکتور در این حالت آخر…'). It is informative but not tightly edited.

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?

For a 7-parameter, no-required, no-output-schema scraper with no annotations, the description covers data domain, pricing, and an important data-freshness caveat, and the schema supplies per-parameter detail. The truncated caveat and absence of any mention of failure/empty-result behavior (beyond the schema's itemType=notFound note) leave small gaps.

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 fully documents all 7 parameters (including Persian examples, enum meanings, and defaults). The description adds only a general cost implication tied to volume, so the baseline 3 is appropriate.

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 verb+resource (scraping the official TSETMC service) and enumerates the six distinct data types it returns (snapshot, adjusted history, real/legal trading, orderbook, index, market watch), so an agent knows exactly what data domain this covers. Sibling differentiation exists but lives mostly in the schema description (routing Codal announcements to codal-scraper and fund NAV to fipiran-funds-scraper), not in the tool description itself.

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 enumerated data types and the cost/pricing note, and the schema description does route two adjacent needs to other actors. However, the description never states when an agent should pick this actor over the generic run_actor/list_actors siblings, nor any prerequisite workflow beyond 'Call list_actors for the full input schema'.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.