Skip to main content
Glama
iran-bourse-mcp

iran-bourse-mcp

by msmahdinejad

trade_summary

Read-onlyIdempotent

Aggregates a day's ticks for a symbol into intraday bars, VWAP, biggest trades, volume by price, tick-rule pressure, and a completeness check against official totals.

Instructions

Aggregate a day's ticks: intraday bars, VWAP, biggest trades, volume by price level, tick-rule pressure estimate, and a completeness check against official totals.

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

Input Schema

NameRequiredDescriptionDefault
dateNoGregorian 2026-11-03 / 20261103 or Jalali 1405/08/12. Omit for the latest trading day.
symbolYesPersian symbol such as 'فولاد', or an insCode
to_timeNoHH:MM[:SS]
from_timeNoHH:MM[:SS]
interval_minutesNoMaximum rows to return (1-60); the server rejects larger values

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • addedInput schema / properties / interval_minutes / description
      Added value: +"Maximum rows to return (1-60); the server rejects larger values"
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so safety is covered. The description adds genuine context by listing what is computed, including a tick-rule pressure 'estimate' and a completeness check against official totals — a useful caveat about data fidelity. It stops short of disclosing cost, latency, or behavior on symbols with no trades.

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?

One dense sentence, front-loaded with the verb and scope, and every listed output earns its place by telling the agent what comes back. The enumeration is long but carries real information rather than restating the name.

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 burden of describing return contents, and the output enumeration does that well. What is missing is param-level nuance (timezone, trading-day boundaries, the interval_minutes semantics) and any statement of response size for a full-day aggregation.

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 documents date formats, symbol conventions, time bounds, and interval. The description only implies the default scope ('a day's') and adds nothing about the oddly described interval_minutes parameter, whose schema text talks about maximum rows rather than bar width.

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 ('Aggregate') and resource ('a day's ticks') and enumerates the concrete outputs, so an agent knows this is a computed daily summary rather than raw data. It does not name the siblings it is distinguished from (trades, price_history), so the differentiation is implied by the output list rather than stated.

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: 'a day's ticks' plus 'completeness check against official totals' suggests end-of-day analysis, but there is no explicit when-to-use or when-not-to-use guidance. It never states that raw tick retrieval should go to the trades tool or that multi-day series should go to price_history.

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