Skip to main content
Glama

World Bank Country Profiles MCP

Filter World Bank countries by region, income, or lending type

search_countries
Read-onlyIdempotent

Filter World Bank countries and economies by geographic region code, income level, lending type, or name/capital search.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax countries to return (default 20).
regionNoWorld Bank region code (e.g. "ECS", "EAS", "LCN", "MEA", "NAC", "SAS", "SSF").
name_queryNoOptional substring filter matching country name, ISO code, or capital city.
income_levelNoIncome level code: HIC, UMC, LMC, LIC, or INX.
lending_typeNoLending type code: IBD (IBRD), IDB (Blend), IDX (IDA), or LNX.
include_aggregatesNoInclude regional/global aggregates (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds nothing beyond that and the schema: no mention of result ordering, pagination, or how aggregates interact with filters. It largely restates the filter dimensions already enumerated in the schema.

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?

A single front-loaded sentence with no filler. It is efficient, though it spends its words restating schema fields rather than adding new information.

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

Completeness3/5

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

For a six-parameter read-only filter tool with no output schema, the definition leaves the return shape and result ordering unspecified. An agent knows what it can filter on but not what a result record contains or how limits behave across pages.

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%, so every parameter including enum values and defaults is already documented. The description only echoes the filter dimensions without adding format or interaction details, so the baseline 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?

States a specific verb (filter) and resource (World Bank countries and economies) plus the four filter dimensions. It is distinguishable from get_country_profile and list_regions, though it never names a sibling to contrast with.

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 only implied: an agent can infer this is the lookup tool for narrowing the country list. There is no explicit when-to-use versus list_regions or get_country_profile, and no note that list_regions supplies valid region codes.

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.