Skip to main content
Glama
iran-bourse-mcp

iran-bourse-mcp

by msmahdinejad

index_contributors

Read-onlyIdempotent

Rank stocks by their contribution to Tehran Stock Exchange index movement in index points, showing which push it up or down, with a configurable row limit.

Instructions

Stocks pushing the total index up or down the most, in index points (بیشترین تاثیر بر شاخص).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum 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 / limit / description
      Added value: +"Maximum rows to return (1-60); the server rejects larger values"
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this a safe, read-only, idempotent, open-world query, so the description does not need to cover safety. It does add the meaningful unit of measurement (index points) rather than percent change, but it omits which index, what time window, and whether both positive and negative contributors are returned together.

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 sentence, front-loaded with the core meaning and free of filler. The Persian parenthetical is slightly extraneous for an English-speaking agent but may aid matching and costs little.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with no output schema this is close to adequate, but the missing index identity and time period are gaps an agent would need to resolve before trusting the output. The description should state which index and over what period contributions are measured.

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% and the single limit parameter is fully documented in the schema with its 1-60 bounds. The description adds nothing about the parameter, so the baseline of 3 applies.

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?

The description names a clear resource and verb-like action: stocks that push the total index up or down the most. The added 'in index points' distinguishes it from a plain price-movement tool like market_watch or top_movers, though it never names a sibling explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to pick this tool over top_movers, top_lists, index_constituents, or market_snapshot. An agent must infer that this is the index-contribution list from the phrase 'in index points' alone.

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