Skip to main content
Glama
sepehr071

ifb-mcp

by sepehr071

Instrument details and coupon schedule

ifb_instrument
Read-onlyIdempotent

Fetch identifying and payout details for a Fara Bourse bond, sukuk, treasury bill, share, or fund, including coupon dates and optional live quote, price band, P/E, and peers.

Instructions

Describe one Fara Bourse instrument: name, ISIN, market, and for bonds the coupon rate, maturity, issuer, guarantor and payment schedule.

Use it after ifb_yields or ifb_search to see what a bond or treasury bill actually is and when it pays. coupon_schedule lists each payment date with the amount per paper in rial (the last row also repays the face value); next_coupon is the first one on or after today. For a share, pass live=true to get the quote, price band, P/E and industry peers in one call; otherwise call ifb_quote for the live price and order book.

Input Schema

NameRequiredDescriptionDefault
liveNoAlso include the live `quote` and, for a share or fund, the allowed price band, EPS, P/E and same-industry peers (one extra 3 MB page, slower).
couponsNoInclude the coupon (interest payment) schedule of a bond or sukuk (needs extra requests).
instrumentYesInstrument id from ifb_search or ifb_yields (digits, e.g. 33314) or an exact trading symbol (e.g. فرابورس1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare the safe read-only, idempotent profile. The description adds useful behavioral context beyond that: coupon_schedule rows contain per-paper rial amounts and the last row also repays face value, next_coupon is the first on or after today, and live=true triggers one extra 3 MB page and is slower. It does not discuss rate limits or partial-failure behavior, keeping it short of 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.

Conciseness4/5

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

The description is front-loaded with the primary purpose and then adds routing and return-format details in a compact two-paragraph form. Every sentence carries information, though the second paragraph is dense and could be slightly tighter.

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?

There is no output schema, so the description must explain return values; it does so for coupon_schedule, next_coupon, and the live-share case. It lists the basic instrument fields and covers the main edge behavior, but does not explain missing-instrument handling or other failure modes, leaving a small gap.

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 description coverage is 100%, so the baseline is 3; however, the description adds genuine meaning beyond schema: it clarifies what live=true returns for a share (quote, price band, P/E, industry peers) and ties coupons=true to the detailed row semantics of coupon_schedule. It does not fully restate every parameter's behavior, but the added output-oriented context is valuable.

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?

The description states a specific verb ('Describe one Fara Bourse instrument') and enumerates the returned fields (name, ISIN, market, coupon rate, maturity, issuer, guarantor, payment schedule). It clearly distinguishes itself from siblings like ifb_yields, ifb_search and ifb_quote by explaining when to call each.

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?

It explicitly says to use it after ifb_yields or ifb_search, and gives a concrete routing rule: pass live=true for a share to get the quote and peers in one call, otherwise call ifb_quote for live price and order book. This is exactly the kind of when-to-use and alternative-tool guidance an agent needs.

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