Skip to main content
Glama

Licensed exchange offices

rk_exchange_offices
Read-onlyIdempotent

List licensed currency exchange offices published by Iran's Central Bank in the Official Gazette, filtering by province and city to find local office contact details.

Instructions

List the licensed currency exchange offices (صرافی مجاز) the Central Bank published in the Official Gazette (rrk.ir).

Filter by province and city (an unknown province is an error that lists the valid ones). Returns total, more and up to 50 offices (location, phone, address; no names are published).

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

Input Schema

NameRequiredDescriptionDefault
cityNoCity name, e.g. 'قم'. Empty = whole province.
pageNoPage number, 50 per page.
provinceNoProvince name, e.g. 'تهران'. Empty = all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / city / description
      Previous value: -"City name as on the site, e.g. 'قم', 'سلفچگان'. Empty = whole province."New value: +"City name, e.g. 'قم'. Empty = whole province."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, 50 offices per page."New value: +"Page number, 50 per page."
    • changedInput schema / properties / province / description
      Previous value: -"Province name as on the site, e.g. 'تهران', 'قم'. Empty = all."New value: +"Province name, e.g. 'تهران'. Empty = all."
  2. First observedv0.1.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, so the description's added value is its disclosure of result shape (total, more, up to 50 offices with location/phone/address) and the notable constraint that no names are published, which rules out name-based searching. It also documents the failure mode for an unknown province, which goes beyond the annotations, though it says nothing about rate limits or the 'more' flag's exact semantics.

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 tight sentences: purpose and source first, filtering and error behavior second, return shape last. No filler, and the most decision-relevant facts are front-loaded.

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?

With no output schema, the description compensates by naming the return fields and the page size, and it flags the missing-names constraint an agent could otherwise mis-plan around. For a 3-parameter lookup tool, an agent has everything needed to call it correctly on the first try.

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 would be 3; the description earns extra credit by explaining the error contract for `province` (an unknown value fails and returns the valid list) and confirming the 50-per-page cap referenced by `page`. The city/province empty-string defaults are left to the schema, which handles them well.

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+resource ('List the licensed currency exchange offices') plus the authoritative source (Central Bank, Official Gazette, rrk.ir). Siblings are all law-oriented tools (rk_search_laws, rk_law_text, etc.), so the resource here is unmistakably distinct; no agent would confuse the two families.

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: the description tells you the tool browses a published registry and that you can narrow by province/city, but it never says when to reach for this versus another tool or when not to. Given no sibling overlaps in resource, the risk is low, so implied guidance is adequate rather than harmful.

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