Skip to main content
Glama

Global Trade Codes and Countries MCP

List countries by geographic region

get_countries_by_region
Read-onlyIdempotent

List countries by region (Europe, Asia, Americas, Africa, Oceania) or subregion (Western Europe, Southeast Asia).

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": {
      "region": "<region>"
    },
    "name": "get_countries_by_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum countries to return (default 60).
regionYesRegion or subregion name (e.g. "Europe", "Western Europe", "Northern America").
un_members_onlyNoRestrict to UN member states when true (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, covering the safety profile. Beyond that the description adds one genuinely useful fact the schema lacks: that region is a bounded, enumerable vocabulary (five continents plus named subregions) even though the schema exposes no enum. It says nothing about result ordering, default page size behavior, or what happens with an unrecognized region value.

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 front-loaded sentence with the verb, resource and accepted values in that order, and no filler. Nothing here could be cut without losing information.

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?

This is a simple read-only lookup with a fully documented three-parameter schema, rich annotations and no output schema to explain, so the description carries most of what an agent needs. The only real gap is edge-case behavior for invalid or ambiguous region strings, which is not covered anywhere.

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 three parameters are already documented, making 3 the baseline. The description complements the region parameter by naming the full set of valid continents rather than the schema's example-only list, but it says nothing about limit or un_members_only.

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 and resource ("List countries") plus the exact filter dimension (region or subregion), so the agent knows precisely what comes back. It does not distinguish itself from siblings like search_countries_by_name or get_countries_by_currency, but the filter axis is distinctive enough that inference is easy.

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: the description makes clear this is the region-filtered path, and the enumerated regions hint at when it applies. There is no explicit when-not guidance, no mention of when to prefer search_countries_by_name for free-text lookups, and no prerequisites stated.

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.