Skip to main content
Glama

Ask NRIWallah

The rupee rate on a past day

get_rate_on_date
Read-only

The European Central Bank reference rate in rupees for GBP, EUR or USD on a day in the last 12 months, for records and tax returns. On a day with no ECB rate (a weekend or holiday) it gives the nearest earlier publishing day and says so. Pound and dollar rates are derived through the euro. Give amount to convert.

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>",
      "date": "<date>"
    },
    "name": "get_rate_on_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesThe day, YYYY-MM-DD.
amountNoAn amount in that currency to convert into rupees.
currencyYesGBP, EUR or USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations the description discloses genuinely useful behavior: fallback to the nearest earlier publishing day on weekends and holidays, with an explicit signal that the response reports the substitution. It also explains that GBP and USD are derived via the euro, which pre-empts an agent questioning the quoted cross-rate.

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 front-loaded sentences cover what is returned, the date fallback rule, and the conversion trigger with little waste. The phrase 'for records and tax returns' is motivation rather than instruction and could be trimmed, but it does no harm.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and the description never states the shape of the result — whether it returns only the rate, or also the converted rupee amount, or how the substituted publishing date is surfaced. For a read-only lookup that may be acceptable, but an agent cannot predict the returned fields before calling.

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 all three parameters already carry descriptions and patterns and the baseline is 3. The description adds only the conditional hint that supplying `amount` triggers a conversion, and restates the permitted currencies that the schema already enumerates.

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 names a specific resource (ECB reference rate in rupees) and its scope (GBP/EUR/USD, a day within the last 12 months), so an agent knows exactly what it retrieves. It never names or contrasts with the sibling get_exchange_rate, leaving the boundary between a dated rate lookup and a general exchange-rate tool to inference.

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?

It supplies clear usage context: historical single-day lookup for records and tax returns, with a 12-month window constraint and an instruction to pass `amount` when a conversion is wanted. It stops short of exclusions or naming alternatives, so there is nothing telling the agent when to prefer get_exchange_rate instead.

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