Skip to main content
Glama

econ_country_rank

Read-only

Rank all countries by an indicator (World Bank) — Ranks every country by a World Bank indicator (GDP, GDP per capita, growth, population, inflation, unemployment, life expectancy, debt, internet use, and more, or any indicator code) using each country latest value, with median, highest and lowest, optional region or income filter, and the rank of a focus country. Price: $0.004 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "indicator": "<indicator>"
    },
    "name": "econ_country_rank"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1-100, default 20
orderNodesc (default) | asc
incomeNooptional, e.g. high income
regionNooptional, e.g. Europe
countryNooptional ISO code or name to locate, e.g. US
indicatorYesgdp | gdp-per-capita | gdp-growth | population | inflation | unemployment | life-expectancy | govt-debt | internet | fertility ... or a World Bank code like NY.GDP.MKTP.CD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds real value beyond that with the payment model ($0.004 USDC on Base via x402), the 'each country latest value' semantics, and the statistical summary returned, but it omits pagination/limit behavior and how ties or missing data are handled.

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?

Single front-loaded sentence with the action first, then coverage, then filters, then price — every clause carries information. It is dense to the point of being a run-on, but no sentence is wasted.

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?

With no output schema, the description usefully discloses the return shape (median, highest, lowest, focus-country rank) and the cost model, which is more than most definitions of this complexity. Minor gaps remain around result-size limits and how the summary is ordered, but an agent has enough to call it correctly.

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 coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by framing `country` as a 'focus country' whose rank is reported within the full ranking, and by clarifying that `region`/`income` are filters applied to a ranked list rather than scope-defining searches.

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 (rank) plus resource (all countries by a World Bank indicator) and enumerates the indicator families covered, so the agent knows exactly what it produces. It does not name or contrast with the nearer siblings (econ_country_snapshot, econ_compare_countries, econ_worldbank), so sibling differentiation is left implicit.

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: 'Rank all countries', 'optional region or income filter', and 'the rank of a focus country' hint at the ranking use case, but there is no explicit when-to-use versus when-to-use-something-else guidance, no stated prerequisites, and no exclusion of the snapshot/compare tools.

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