Skip to main content
Glama

World Bank Macro, Finance & ESG Indicators MCP

Search World Bank countries and regions

wb_search_countries
Read-onlyIdempotent

Search and filter 200+ World Bank economies and regional/income aggregates by name, ISO2/ISO3 code, geographic region, or World Bank income level (HIC, UMC, LMC, LIC).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum countries to return (1 to 50). Default 20.
queryNoCountry name, capital, or ISO code filter (e.g. "Germany", "ASEAN", "SG").
regionNoRegion name or code filter (e.g. "Europe", "East Asia", "North America", "LCN").
income_levelNoIncome classification filter: "HIC" (High income), "UMC" (Upper middle income), "LMC" (Lower middle income), or "LIC" (Low income).
include_aggregatesNoWhen true, include World Bank regional and income aggregates (e.g. WLD, EUU, OED). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds useful scope context — the result universe includes both economies and regional/income aggregates — but says nothing about return fields, whether results are paged beyond the limit, or matching behavior (prefix vs substring, case sensitivity) despite openWorldHint implying live lookup.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single well-formed sentence with the scope and the four filter axes front-loaded. No filler, no redundant restatement of the title, and it terminates as soon as the useful information is delivered.

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 zero-required-parameter read-only search with a fully documented schema and no output schema, this is close to sufficient. The one gap is the absence of any indication of what a result contains (name, ISO codes, region, income level), which matters because there is no output schema to fall back on.

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 five parameters are already documented with examples and defaults. The description's mention of the filter axes largely restates the schema, adding no new syntax, combination rules, or precedence information (e.g., how query and region interact).

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 pair (search and filter) and a precisely scoped resource: 200+ World Bank economies plus regional/income aggregates, enumerable by name, ISO code, region, or income level. This clearly separates it from data-retrieval siblings like wb_country_macro or wb_indicator_series, though it never names those siblings explicitly.

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 implied rather than stated: the enumeration of filter axes signals this is a lookup/discovery tool for resolving countries and codes. There is no explicit 'use this when…, use X instead' guidance, no mention of prerequisites, and no statement that this returns identifiers rather than indicator data.

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.