Skip to main content
Glama
fipiran-mcp

fipiran-mcp

by sepehr071

Stock quote

fp_stock
Read-onlyIdempotent

Retrieve complete details for a listed Iranian share, including last trade, price range, order book, buyers and sellers, period returns, industry data, and optional recent OHLC history.

Instructions

Get one listed share in full: last trade, range, order book, buyers and sellers, period returns, industry.

Prices are rial. Order book and retail vs institutional counts are the last published. history_days adds OHLC rows, newest first.

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

Input Schema

NameRequiredDescriptionDefault
symbolYesTicker, Persian (e.g. 'فولاد'), or ins_code.
history_daysNoLatest trading days of OHLC rows to add (0 none).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / history_days / description
      Previous value: -"Also return this many latest trading days of OHLC rows (0 for none)."New value: +"Latest trading days of OHLC rows to add (0 none)."
    • changedInput schema / properties / symbol / description
      Previous value: -"Ticker, Persian, e.g. 'فولاد', or the ins_code from fp_stocks."New value: +"Ticker, Persian (e.g. 'فولاد'), or ins_code."
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description rightly focuses on data semantics instead: prices are in rial, order book and retail/institutional counts are the last published (freshness caveat), and history rows are newest-first. Those are traits an agent cannot derive from the annotations, though there is no mention of rate limits or empty-result behavior for an invalid symbol.

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?

Three short sentences, front-loaded with the resource and its full payload, then the ancillary facts (currency, staleness, ordering). Every clause carries information; nothing is padding or restatement of 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 responsibility for describing returns and does so at section level, plus currency units and freshness. It stops short of stating what happens when a symbol is unknown or ambiguous, which matters for a lookup keyed on ticker or ins_code.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds the row ordering ('newest first') for history_days, which the schema does not state, and reinforces that history_days is optional augmentation rather than a filter. It adds nothing for symbol beyond the schema's Persian/ins_code guidance.

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 uses a specific verb ('Get') and resource ('one listed share') and enumerates exactly what comes back: last trade, range, order book, buyers/sellers, period returns, industry. That enumeration distinguishes it in practice from the list-oriented fp_stocks and the time-series fp_history, though no sibling is named 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?

Single-symbol scope is implied by 'one listed share', so an agent can infer it is the per-ticker detail call rather than a screener. However, there is no explicit statement of when to prefer it over fp_stocks, fp_history, or fp_compare, and no prerequisites or exclusions are given.

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