Skip to main content
Glama

Abstract API MCP by usefulapi

Get exchange rates

abstractapi_get_exchange_rates
Read-onlyIdempotent

Latest foreign-exchange and cryptocurrency rates for a base currency against one or more targets (all supported currencies if none is given). Exchange Rates API. Spends 1 credit of your Exchange Rates plan per request (a failed request counts too); needs the Exchange Rates API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYesBase currency, ISO 4217 code, e.g. USD.
targetNoTarget currencies separated by commas, e.g. EUR,GBP,JPY. Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful operational context the annotations cannot: a per-request credit cost, that failed requests also bill, and that an Exchange Rates API key is required.

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?

Three tightly packed sentences with the core purpose front-loaded, followed by billing and auth constraints. No filler, though the trailing 'Exchange Rates API' fragment is slightly redundant.

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 full schema coverage and no output schema, the description covers purpose, default behavior, cost, and auth. Return-value shape is unaddressed, but that is acceptable for a simple rates endpoint.

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 both parameters (base, target) are already fully documented with ISO codes and comma-separated format. The description only restates the 'all supported currencies if none is given' default, which the schema already conveys with 'Omit for all.' Baseline 3.

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 specific verb and resource: fetching latest foreign-exchange and cryptocurrency rates for a base currency against targets. The word 'Latest' implicitly separates it from get_historical_rates, but no sibling is named explicitly, so the differentiation is left 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 Guidelines3/5

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

Usage is only implied — it is a rates-fetching tool and the default-all-targets behavior is stated. There is no explicit guidance on when to choose this over convert_currency or get_historical_rates, which is the main ambiguity an agent faces here.

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.