Skip to main content
Glama
sepehr071

ifb-mcp

by sepehr071

Index history

ifb_index_history
Read-onlyIdempotent

Retrieve daily, weekly, or monthly history for Fara Bourse indices since 2009, including latest values and percentage changes across 1, 5, 21, and 250 trading days.

Instructions

Get the daily history of a Fara Bourse index since 2009, with change over a day, week, month and year.

Use it for "how has the Fara Bourse index done this year" (days=250) or a long trend (days=2000, step="monthly"). latest is the newest value; changes_pct compares it with 1, 5, 21 and 250 trading days before; points are newest first. For today's intraday index and turnover call ifb_market_summary.

Input Schema

NameRequiredDescriptionDefault
daysNoHow many of the latest trading days to cover (1-5000; all history is about 4,100).
stepNoKeep every day, or every 5th or 21st trading day (use for long ranges).daily
indexNototal = Fara Bourse total index (شاخص کل); equal_weight = total equal-weight index; price = price index; equal_weight_price = equal-weight price index; sukuk = weighted sukuk index.total

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, so the safety profile is covered; the description adds genuinely new behavioral detail about the response shape — `latest` is the newest value, `changes_pct` compares against 1, 5, 21 and 250 trading days back, and `points` are newest-first. It stops short of stating limits such as rate limits or behavior when days exceeds available history (~4,100), which is why it is not 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.

Conciseness5/5

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

Three sentences, front-loaded with the core capability, then usage examples, then a compact field glossary. Every sentence carries distinct information and the sibling hand-off is placed last where it belongs.

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

Completeness5/5

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

No output schema exists, and the description compensates by explaining the three return fields and their ordering. Combined with the fully documented 3-parameter schema and the annotation set, an agent has everything needed to call this correctly.

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 baseline is 3; the description earns above baseline by pairing parameters with concrete call patterns (days=250, days=2000 + step="monthly") that show how the knobs interact. It doesn't add index-selection semantics beyond the enum, so it stays below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get the daily history of a Fara Bourse index since 2009") plus the scope of what is returned (day/week/month/year change). It distinguishes itself from siblings by routing intraday/turnover needs to ifb_market_summary, so an agent can separate it from ifb_market_summary or ifb_history without opening a schema.

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

Usage Guidelines5/5

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

Gives two concrete usage scenarios with actual parameter values (days=250 for a year-to-date question, days=2000 with step="monthly" for a long trend) and names the explicit alternative (ifb_market_summary) for the intraday case. When-to-use and when-not-to-use are both covered.

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