Skip to main content
Glama

Population by country: total, growth and urban share (World Bank)

econ_population
Read-only

Population of any country from World Bank data: total population, annual population growth in % and the urban share of the population in %, for the last 1-10 years with the newest year first. Country by ISO code (SE, SWE) or English name. Read from a committed World Bank Open Data snapshot (CC BY 4.0), so every call answers at once; the snapshot date is in the answer. Use for market sizing, per-capita figures and demographics. Example: country=SE. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "country": "<country>"
    },
    "name": "econ_population"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoYears of history to return, 1-10 (default 5)
countryYesISO 3166 code (SE, SWE) or English country name (Sweden)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / years / maximum
      Previous value: -9007199254740991New value: +10
    • changedInput schema / properties / years / minimum
      Previous value: --9007199254740991New value: +1
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only cover safety/read semantics; the description adds substantive context beyond them — a committed snapshot with no live network dependency, the snapshot date surfaced in the answer, per-call pricing with a free tier and free failures, and an explicit warning that repeats are billed. That also explains why idempotentHint is false, so there is no contradiction.

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 resource and metrics, then scope, then behavior and pricing; nearly every sentence carries information. The billing/pricing sentence is the longest and slightly padded, but it earns its place given economic implications of repeat calls.

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 2-parameter read tool with no output schema, the description covers source, metrics, ordering, and cost, which is what an agent needs to call it correctly. Minor gaps remain: no mention of missing-data behavior or handling of an unrecognized country value.

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% and the schema already documents both the ISO/English-name formats and the 1-10 default of 5. The description restates the country format and adds a worked example (country=SE), but adds no new meaning to the years parameter.

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?

States a specific verb+resource (population of any country from World Bank data) and enumerates exactly the three metrics returned, the 1-10 year window, and the newest-first ordering. Distinguishable from sibling econ_* tools at a glance.

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?

Names concrete use cases (market sizing, per-capita figures, demographics), which gives clear positive guidance. It does not name any alternative tool or state when NOT to use it, so it stops short of full routing guidance.

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