Skip to main content
Glama

Get World Bank Country

worldbank_get_country
Read-onlyIdempotent

Fetches full metadata for a specific country or aggregate entity: region, income level, capital, coordinates, and lending type. Accepts ISO2 codes (US, DE), ISO3 codes (USA, DEU), or World Bank aggregate codes (EAS, HIC, WLD).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
country_codeYesCountry code. Accepts ISO2 (US), ISO3 (USA), or aggregate code (EAS, HIC, WLD). Use worldbank_list_countries to browse valid codes.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoCountry or aggregate ID.
iso2NoISO2 country code.
nameNoCountry or aggregate name.
errorNoPresent when the call failed. Absent on success.
regionNoWorld Bank region this country belongs to.
latitudeNoCapital latitude (empty for aggregates).
longitudeNoCapital longitude (empty for aggregates).
capitalCityNoCapital city name (empty for aggregates).
incomeLevelNoWorld Bank income classification.
isAggregateNoTrue when this entry is a regional or income-group aggregate.
lendingTypeNoWorld Bank lending type classification.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the tool as read-only and idempotent. The description adds behavioral context by specifying the accepted code formats (ISO2, ISO3, aggregates) and the list of metadata fields returned, which are not specified in annotations. This informs the agent about acceptable inputs and expected output content.

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?

Two concise sentences with no filler. The first sentence states the action and outputs, the second clarifies input formats. Information is front-loaded and every word contributes.

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 simple single-parameter lookup tool with annotations covering safety and a full output schema, the description is complete. It specifies accepted inputs, lists the fields returned, and is consistent with the read-only nature. Nothing an agent needs to call it correctly is missing.

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?

The input schema description already fully documents the parameter, including accepted code types and a pointer to browse valid codes. The description repeats these code types without adding new information, providing no additional semantic value beyond the schema.

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?

The description clearly states the verb 'fetches' and the resource 'full metadata for a specific country or aggregate entity', listing the types of data returned (region, income level, capital, coordinates, lending type). This distinguishes it from sibling tools that handle time-series data or search operations.

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?

The description implies usage for fetching country metadata but does not explicitly contrast with alternatives like worldbank_get_data or worldbank_search_indicators. It mentions accepted code formats, but does not directly state when to use this tool versus others. The schema suggests using worldbank_list_countries to browse codes, but that is not in the description.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: metadata retrieval (worldbank_get_country, worldbank_get_indicator, worldbank_list_countries, worldbank_list_sources, worldbank_list_topics), data querying (worldbank_get_data, worldbank_get_poverty), and searching (worldbank_search_indicators, worldbank_search_projects). No two tools overlap in function; even search_indicators vs get_indicator are complementary (search returns IDs, get fetches details).

Naming Consistency5/5

All tools follow a uniform pattern: the 'worldbank_' prefix followed by a consistent verb_noun structure (get_country, get_data, list_sources, search_indicators). The convention is applied uniformly across all 9 tools, with no mixed styles or deviating verbs.

Tool Count5/5

9 tools is well-scoped for a World Bank data server. It covers metadata, discovery, data access, and project search without redundancy. The number is neither too sparse nor overwhelming, and each tool serves a clear role in the domain.

Completeness5/5

The tool surface covers the core workflows: browsing the catalog (topics, sources, indicators), fetching metadata, retrieving time-series data, accessing poverty/inequality data, and exploring the lending portfolio. There are no obvious gaps; the inclusion of pagination and clear chaining (e.g., search → get) makes the set comprehensive.