Skip to main content
Glama
GeoSphere MCP Server

GeoSphere MCP Server

by Singh-Akesh

get_exchange_rates

Retrieve current or historical exchange rates for a chosen base currency against all supported currencies to convert or compare monetary values.

Instructions

    Get exchange rates for a base currency against all supported currencies.

    Args:
        base_currency: Base currency ISO 4217 code (e.g. "USD", "EUR"). Defaults to "USD".
        date:          "latest" for today's rates (default), or YYYY-MM-DD for historical rates.

    Returns:
        Exchange rates for the base currency against all available currencies, with the rate date.
    

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

Input Schema

NameRequiredDescriptionDefault
dateNolatest
base_currencyNoUSD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that results are scoped to a single base currency, that rates cover all supported currencies, and that the response carries a rate date, which is good. It says nothing about update cadence, data source, failure behavior for unsupported codes or future dates, or whether the call is read-only/paid — relevant gaps for an unannotated tool.

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?

Front-loaded purpose sentence followed by a compact Args/Returns block where every line adds information the schema does not already convey. No redundancy or filler.

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 two-parameter read tool with no output schema, the definition covers purpose, parameter formats, defaults, and return shape including the rate date. Only edge-case behavior and sibling disambiguation are absent, which is a modest gap rather than a blocking one.

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 description coverage is 0%, so the description must compensate and largely does: it gives the ISO 4217 format with examples for base_currency, the default 'USD', and the accepted sentinel 'latest' versus YYYY-MM-DD for date. What it lacks is behavior for invalid codes, future dates, or non-trading days.

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 and resource: 'Get exchange rates for a base currency against all supported currencies.' The scope ('all supported currencies') is explicit, though it never mentions the sibling convert_currency, which is the most likely confusion point for an agent choosing between fetching rates and performing a conversion.

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?

Useful invocation guidance is embedded per parameter: 'latest' for today's rates (default) versus YYYY-MM-DD for historical. However, there is no when/when-not framing and nothing telling the agent to prefer convert_currency when it actually needs a computed conversion, so the agent must infer the boundary from names alone.

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