Skip to main content
Glama

Countries compared

compare_countries
Read-onlyIdempotent

GDP growth, inflation, unemployment and GDP per person for the G20 countries and the EU, with the year of each figure, from the World Bank. Use it to compare economies or put one country's figures in context. Actual published values only (World Development Indicators, CC BY 4.0), updated daily; never a projection. Optional: one indicator and a list of countries.

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

Input Schema

NameRequiredDescriptionDefault
countriesNoOptional: country names or codes separated by commas, for example 'Canada, Japan, Germany'. Leave empty for the whole G20.
indicatorNoOptional: 'gdp growth', 'inflation', 'unemployment' or 'gdp per person'. Leave empty for all four.

Output Schema

NameRequiredDescriptionDefault
noticeYes
sourceNo
countriesYes
indicatorsYes
refreshedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: provenance (World Development Indicators, CC BY 4.0), daily refresh, and the guarantee that values are published actuals and never projections, which materially affects how an agent should present the numbers.

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?

Front-loaded with the data covered and scope, followed by usage intent and provenance; three sentences, little padding. The final "Optional: one indicator and a list of countries" duplicates what the fully documented schema already says and is the one line that does not earn its place.

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?

An output schema exists, annotations are rich, and the description supplies the remaining essentials: coverage scope, defaults when arguments are omitted, data vintage, and the no-projections caveat. Only minor gaps remain, such as behavior for unrecognized country names.

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% and both parameters already document their formats and empty-value defaults in detail. The description's closing sentence only restates that one indicator and a country list are optional, adding no syntax or edge-case meaning beyond the schema, 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?

Names the exact resource and scope: GDP growth, inflation, unemployment and GDP per person for the G20 plus the EU, sourced from the World Bank, including the reference year of each figure. That is far more specific than a restated name, though it never contrasts itself with near neighbors such as economy_snapshot or official_figures.

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?

"Use it to compare economies or put one country's figures in context" states an explicit use case, which is more than an implied one. It stops short of exclusions or naming an alternative tool for narrower lookups, so a 4 rather than a 5.

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.