Skip to main content
Glama

FX Reference Rates

macro_rank

Read-only

Country ranking: sort all economies by one World Development Indicator for a year (default: each country's latest value), highest first or lowest first, optionally filtered by World Bank region or income group. Aggregates (World, regions) excluded unless requested. CC BY 4.0. Costs $0.02 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
yearNoyear; default latest available per country
limitNo1-300, default 50
orderNodesc (default) or asc
incomeNoincome group substring, e.g. High income, Lower middle
regionNoWorld Bank region substring, e.g. Latin America, Sub-Saharan
indicatorYesindicator key from /macro/indicators
aggregatesNotrue to include regional/income aggregates

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious context: the default year resolution and sort direction, aggregate exclusion, and especially the paid x402/$0.02 USDC cost on Base, which the agent must know before invoking.

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?

The core behavior is front-loaded in a single dense sentence, followed by a compact licensing/cost line. Nearly every clause carries information; the 'CC BY 4.0' clause is the only marginal element.

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 read-only ranking tool with full schema coverage and no output schema, the description covers defaults, filtering, aggregate handling, and payment. Return shape and pagination behavior are left implicit, a minor gap given the parameters already imply limits.

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 seven parameters are already documented, and the description largely restates those defaults (latest year, desc, aggregates excluded). It adds the interpretation of 'order' as highest/lowest first and confirms filter targeting, but does not go beyond the schema in any material way.

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?

The description gives a concrete verb and resource ('Country ranking: sort all economies by one World Development Indicator for a year') and specifies scope (all economies, one indicator, one year). It is clearly distinguishable from the sibling macro_indicator (indicator lookup) and macro_country (single-country profile).

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 states the default behavior (each country's latest value, descending order) and when aggregates appear ('excluded unless requested'), plus optional region/income filtering. It stops short of explicitly naming alternatives for the single-country or indicator-lookup cases, which is the only gap.

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