Skip to main content
Glama
iran-bourse-mcp

iran-bourse-mcp

by msmahdinejad

search_symbol

Read-onlyIdempotent

Find an instrument by symbol or name fragment and return its symbol, name, market, board, and insCode for market data lookup.

Instructions

Find instruments by symbol or name fragment; returns symbol, name, market, board, insCode (جستجوی نماد).

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": {
      "query": "<query>"
    },
    "name": "search_symbol"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return (1-50); the server rejects larger values
queryYes

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-50); 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 readOnly=true, idempotent=true, openWorld=true, destructive=false, so the safety profile is fully covered. The description adds the response shape, which is useful given there is no output schema. It omits matching behavior (prefix vs substring, case sensitivity, Persian vs English input) and whether results are ranked or capped beyond the schema's limit.

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?

A single front-loaded sentence with the return fields appended; nothing is padded. The parenthetical Persian alias (جستجوی نماد) is arguably redundant given the English text, but it is short and may aid non-English query framing.

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 simple two-parameter read tool, this covers purpose, inputs and return fields, which is what an agent needs to call it and interpret results absent an output schema. The remaining gap is match/ranking behavior, which matters for deciding whether results must be post-filtered.

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 50%: 'limit' is documented in the schema, 'query' is bare. The description partially compensates by explaining that query accepts a symbol OR a name fragment, which is real added meaning the schema does not convey. It still says nothing about matching semantics or minimum fragment length, so it does not fully close the gap.

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?

Specific verb+resource: 'Find instruments by symbol or name fragment', plus an explicit enumeration of return fields (symbol, name, market, board, insCode). It is clearly a lookup/search tool, distinguishable from detail siblings like quote or symbol_overview, though it never names those siblings or states the boundary explicitly.

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: an agent can infer this is the resolver to call when it has a partial name/symbol before calling quote or symbol_overview. There is no explicit when-to-use, no when-not-to-use, and no mention of what to do if zero or many matches are returned.

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