Skip to main content
Glama

AnyBanQ — Sri Lankan banking products and card offers

Exchange rates (CBSL)

exchange_rates
Read-onlyIdempotent

The Central Bank of Sri Lanka's daily indicative exchange rates, in LKR per unit of foreign currency. Optionally converts an amount. Banks' own buying and selling rates differ from these.

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

Input Schema

NameRequiredDescriptionDefault
amountNoAmount to convert
directionNoto-lkr: amount is in the foreign currency; from-lkr: amount is in LKRto-lkr
currenciesNoISO codes, e.g. ['USD','GBP']. Leave out for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive behavior, so the safety profile is covered. The description adds genuinely useful data-semantics context (official indicative rates vs. bank rates), but says nothing about freshness, caching, or error behavior when a currency code is unknown. The addition beyond annotations is real but modest.

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?

Two compact sentences with the resource and unit front-loaded, followed by the conversion option and the bank-rate caveat. No filler, though the caveat sentence could be folded in more tightly.

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?

For a simple read-only lookup with zero required parameters and full schema coverage, the description covers what the data is, its unit, and the optional conversion. With no output schema, a brief note on response shape (e.g., per-currency map) would have closed the last gap.

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 coverage is 100%, so the baseline is 3. The description contributes the framing that results are "in LKR per unit of foreign currency," which clarifies the default direction, but adds no detail on amount limits, currency code validation, or conversion rounding beyond what the schema states.

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?

States a specific resource (CBSL daily indicative exchange rates), its unit semantics (LKR per unit of foreign currency), and an optional conversion mode. It distinguishes itself from bank buying/selling rates, though it does not explicitly route against named siblings like fd_rates.

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?

The caveat that "Banks' own buying and selling rates differ from these" implicitly tells the agent when NOT to rely on this tool for actual transaction rates, and "optionally converts an amount" hints at the conversion use case. However, there is no explicit when-to-use guidance or naming of an alternative tool for bank-specific rates.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources