Skip to main content
Glama

currency_convert

Read-only

Converts an amount between RUB, USD, EUR and CNY at the Bank of Russia rate for a date: non-business days use the last business day's rate, cross rates go via RUB, dates after tomorrow are rejected. Returns rate (units of to per 1 from) and result (the amount in to, 2 decimals).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget currency
dateNoRate date, YYYY-MM-DD; defaults to today in the company's time zone
fromYesCurrency of the amount
amountYesAmount in the from currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only carry readOnlyHint=true, but the description adds the rate source (Bank of Russia), holiday/weekend fallback behavior, cross-rate routing via RUB, and an explicit error condition (future dates rejected). That is rich behavioral disclosure well beyond the annotations.

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?

Core purpose is front-loaded in the first clause, edge-case rules follow, and the return contract is stated last. No filler; every clause conveys a distinct rule or behavior.

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?

There is no output schema, so the description compensates by documenting the return shape (rate and result, with result rounded to 2 decimals). Combined with the date and error rules, an agent has everything needed to call it correctly.

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 baseline is 3, but the description adds real meaning: it defines rate as 'units of to per 1 from', removing ambiguity about rate direction, and reinforces the date fallback rule that the schema only alludes to. The 'from'/'to' enums are already in 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 (converts) and resource (an amount between RUB, USD, EUR, CNY) with the exact rate source. It is instantly distinguishable from every sibling tool, none of which touch currency.

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 concrete operating context: which currency set is supported, that non-business days fall back to the last business day, that cross rates route via RUB, and that dates after tomorrow are rejected. No sibling overlaps so no alternative needs naming, but it stops short of an explicit 'use this when...' framing.

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