Skip to main content
Glama

Ask NRIWallah

Today's exchange rate against the rupee

get_exchange_rate
Read-only

Rupees per unit of a currency (GBP, USD, EUR, CAD, AUD, AED, SAR, QAR, KWD, OMR, BHD, SGD, MYR, NZD, SEK or JPY) as of the time shown, with the change since the day before. A mid-market reference rate, not a provider's rate. Give amount to convert into rupees, or inr to convert rupees into the currency.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "currency": "<currency>"
    },
    "name": "get_exchange_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
inrNoAn amount in rupees to convert into that currency.
amountNoAn amount in that currency to convert into rupees.
currencyYesThree-letter code, e.g. GBP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuinely new behavioral context by disclosing that the returned figure is a mid-market reference rate rather than a provider's rate and that it includes change since the prior day. This preempts a realistic misuse (treating it as a quotable bank rate). It stops short of describing response shape or rounding, which keeps it from 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 tight sentences: what the number means first, then the mid-market caveat, then the optional conversion parameters. Nothing is redundant and the most important qualifier (mid-market, not provider rate) is placed prominently.

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 no output schema and no annotations beyond read-only, the description carries the return-value burden and does so reasonably: the rate, its timestamp, and the day-over-day change are all named. The only gap is behavior when both amount and inr are supplied, and whether the change is signed or absolute, which an agent must discover by calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description still earns credit: the currency parameter has no enum, and the description enumerates the 16 accepted codes, which is the only place that constraint appears. It also restates the two conversion directions in plain terms, making the amount/inr choice unambiguous at a glance.

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?

The description gives a precise verb+resource: rupees per unit of a named currency as of the current time, plus the change since the previous day, and explicitly characterizes it as a mid-market reference rather than a provider rate. The currency list and 'as of the time shown' framing implicitly separate it from the historical sibling get_rate_on_date, but no sibling is named, so differentiation must be inferred from the title.

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 guidance is limited to the conversion modes ('give amount to convert into rupees, or inr to convert rupees into the currency'), which tells an agent how to shape a call but not when to pick this tool over get_rate_on_date or other rate tools. There are no exclusions or prerequisites. Adequate for a simple lookup tool, but nothing steers selection among siblings.

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