Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

Bonds and sukuk

br_bonds
Read-onlyIdempotent

List exchange-traded bonds, sukuk, and treasury bills with maturity, coupon, price, and yield to maturity; filter by bond type, symbol, days to maturity, and traded status.

Instructions

List exchange-traded bonds, sukuk and treasury bills with maturity, coupon, price and yield to maturity.

Source: Mofid only; bonds are not in br_search. Prices are Rial per 1,000,000 par. ytm is percent per year; coupon_rate is a fraction (0.18 = 18%).

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

Input Schema

NameRequiredDescriptionDefault
sortNoytm = yield to maturity of the last closing trade, highest first.ytm
groupNoTreasuryBills = T-bills, GAMBills = Gam, CouponBonds = coupon sukuk/bonds, NonCouponBonds.
limitNoRows to return.
queryNoPart of the symbol or name.
min_daysNoHide bonds maturing in fewer days (very short bills show absurd yields).
traded_onlyNoHide bonds without a price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.0
    • removedInput schema / properties / group / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "TreasuryBills",
      -      "GAMBills",
      -      "CouponBonds",
      -      "NonCouponBonds"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / group / description
      Previous value: -"TreasuryBills = government T-bills, GAMBills = Gam, CouponBonds = coupon sukuk/bonds, NonCouponBonds."New value: +"TreasuryBills = T-bills, GAMBills = Gam, CouponBonds = coupon sukuk/bonds, NonCouponBonds."
    • addedInput schema / properties / group / enum
      Added value: +[
      +  "TreasuryBills",
      +  "GAMBills",
      +  "CouponBonds",
      +  "NonCouponBonds",
      +  null
      +]
    • addedInput schema / properties / group / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / query / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely useful interpretation context the annotations cannot carry: prices are Rial per 1,000,000 par, ytm is percent per year, and coupon_rate is a fraction. It stops short of describing ordering guarantees beyond the sort enum or any rate limits.

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?

Two compact sentences, front-loaded with what the tool lists, followed by source and unit conventions. No filler or restatement of the title.

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 six optional parameters and no output schema, the description compensates by naming the returned fields and their units, which is the main risk for misreading financial data. It does not cover default ordering semantics in detail or result-size behavior, but the schema handles defaults and limits.

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%, including enum explanations for sort and group, so the schema does the heavy lifting and baseline 3 applies. The description's unit notes mostly clarify output fields rather than parameter behavior, adding only marginal meaning beyond the schema.

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 ('List exchange-traded bonds, sukuk and treasury bills') and enumerates the fields returned (maturity, coupon, price, YTM). It also distinguishes itself from a named sibling ('bonds are not in br_search'), so an agent can route correctly without opening the schema.

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

Usage Guidelines4/5

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

Gives an explicit source constraint ('Source: Mofid only') and rules out br_search as an alternative, which is the most likely mis-route. It does not address other plausible siblings such as br_screener, br_etfs, or br_rates, so guidance is clear but not exhaustive.

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