Skip to main content
Glama

World Bank Country Profiles MCP

Get World Bank country profile by ISO code

get_country_profile
Read-onlyIdempotent

Fetch official World Bank country metadata by ISO-2 or ISO-3 code, including region, income level, lending type, capital city, and capital coordinates.

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": {
      "code": "<code>"
    },
    "name": "get_country_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesISO-2 or ISO-3 country code (e.g. "DE", "DEU", "US", "BRA", "JP").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish that this is a safe, idempotent read operation against external World Bank data. The description adds useful behavioral context by identifying the data source and enumerating the returned metadata fields, which matters because there is no output schema. It does not cover error behavior or rate limits, but the annotations carry the safety profile.

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?

The description is a single front-loaded sentence with no filler. It starts with the action and resource, then efficiently lists the returned fields.

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 simple one-parameter lookup, the description is largely complete: it states the source, accepted code format, and returned metadata fields. The only meaningful gaps are invalid-code behavior and explicit routing versus search_countries, which are minor against the annotations and complete parameter schema.

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 the single 'code' parameter as an ISO-2 or ISO-3 country code with examples. The description restates that same accepted-code semantics without adding new constraints, error handling, or normalization rules, so the baseline of 3 applies.

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 specific verb and resource: 'Fetch official World Bank country metadata by ISO-2 or ISO-3 code.' It also names the returned fields, making the scope clear. However, it does not explicitly contrast this lookup by code with sibling tools such as search_countries or list_regions.

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 phrase 'by ISO-2 or ISO-3 code' implies this tool is for retrieving a country profile when an ISO code is already known. It does not state when to prefer this over search_countries or the list_* siblings, nor does it give exclusions or prerequisites beyond the input format.

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.