Skip to main content
Glama

AgentStall: Africa and global data for agents

Country income groups (World Bank FY27) and UN least developed country status (217 economies)

income_groups
Read-onlyIdempotent

Country income classification: World Bank income group (low, lower-middle, upper-middle, high) for FY27, based on 2025 GNI per capita, plus UN least developed country (LDC) status, for 217 economies incl. all 54 African countries and India. Look up one or many by ISO code. For pricing by country (purchasing power parity tiers), grant and aid eligibility, and trade preference checks. Sources: World Bank (CC BY 4.0) via Our World in Data, UN DESA LDC list. Returns JSON with asOf, count, results. Read-only; invalid input is rejected before any charge. Price: $0.001 USDC per call (x402, Base mainnet), paid only when the call succeeds.

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

Input Schema

NameRequiredDescriptionDefault
countryNoOptional 2-letter ISO country codes, comma-separated, up to 60 (default: all 217 economies)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the data vintage and basis (FY27, 2025 GNI per capita), upstream sources with license, the return envelope (asOf, count, results), and the billing model including that invalid input is rejected before any charge and payment occurs only on success. That is unusually rich disclosure for a paid endpoint.

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?

Content is front-loaded: resource and scope come first, then usage, then sources, return shape, and pricing. It is dense but nearly every clause carries decision-relevant information; the source/license sentence is the least load-bearing for tool selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-optional-parameter lookup with no output schema, the definition covers scope, default behavior, return shape, sources, and cost/charging semantics. An agent has everything needed to call it correctly and predict the response envelope.

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 the single `country` property already documents comma-separated 2-letter ISO codes, the 60-code cap, and the all-217 default. The description only reinforces 'one or many by ISO code' and the 217-economy scope, adding marginal meaning over the schema.

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 uses a precise verb ('look up') and names a specific resource: World Bank FY27 income group plus UN LDC status across 217 economies. It never names a sibling such as country_economic_indicators or country_info_lookup, so an agent must infer the boundary itself rather than being told.

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 gives three concrete use cases (PPP pricing tiers, grant/aid eligibility, trade preference checks) and the invocation pattern ('one or many by ISO code'), which is clear context for when to reach for it. It stops short of exclusions or an explicit alternative to use when you need broader economic indicators.

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