Skip to main content
Glama

convert_currency

Convert between currencies using real-time rates

Input Schema

NameRequiredDescriptionDefault
toYesTarget currency code e.g. EUR
from_YesSource currency code e.g. USD
amountYesAmount to convert

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedInput schema / properties / amount / default
      Removed value: -1
    • addedInput schema / properties / amount / description
      Added value: +"Amount to convert"
    • removedInput schema / properties / amount / title
      Removed value: -"Amount"
    • removedInput schema / properties / from_ / default
      Removed value: -"USD"
    • addedInput schema / properties / from_ / description
      Added value: +"Source currency code e.g. USD"
    • removedInput schema / properties / from_ / title
      Removed value: -"From"
    • removedInput schema / properties / to / default
      Removed value: -"GBP"
    • addedInput schema / properties / to / description
      Added value: +"Target currency code e.g. EUR"
    • removedInput schema / properties / to / title
      Removed value: -"To"
    • addedInput schema / required
      Added value: +[
      +  "from_",
      +  "to",
      +  "amount"
      +]
    • removedInput schema / title
      Removed value: -"convert_currencyArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "convert_currencyOutput",
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose that rates are real-time, which implies an external rate feed and values that vary by request time — useful context beyond the schema. It says nothing about handling of invalid/unsupported currency codes, rate freshness/timestamp, or fees.

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?

A single sentence with no filler, and the key behavior ('real-time rates') is front-loaded. It is appropriately sized, though the brevity leaves nothing for the other five dimensions to draw on.

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

Completeness2/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 is responsible for describing what comes back (converted amount, applied rate, timestamp). It never mentions the return shape, and with no annotations it also omits error behavior for invalid currency codes — a meaningful gap for a 3-required-param tool.

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 description coverage is 100%, so all three parameters (from_, to, amount) are already documented with examples like 'USD' and 'EUR'. The description adds no parameter-level detail, so the baseline 3 applies.

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 verb ('Convert') and resource ('currencies'), and adds the source of truth ('real-time rates'). However, it does not distinguish itself from near-neighbor siblings like convert_units, convert_number_base, convert_timestamp, or convert_timezone, so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use, when-not-to-use, or alternative guidance is given. With several sibling 'convert_*' tools present, the description provides no routing signal about which conversion tool applies to a given input.

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