Skip to main content
Glama

CountryStateCity (Unofficial)

Country State City List Countries

country_state_city_list_countries
Read-onlyIdempotent

List all countries with ISO codes, capitals, phone codes, currencies, and regions. Returns ~250 countries. Useful for building dropdowns or validating country data.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "_apiKey": "your-country-state-city-api-key"
    },
    "name": "country_state_city_list_countries"
  }
}

Input Schema

NameRequiredDescriptionDefault
_apiKeyYesCountryStateCity API key

Output Schema

NameRequiredDescriptionDefault
countYesTotal number of countries returned
countriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered. The description adds one genuinely useful behavioral fact — the ~250-row result size, implying the whole list returns in one call with no pagination — but says nothing about rate limits, caching, or whether the data is static.

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?

Three short sentences, front-loaded with the capability, with zero boilerplate. The 'Returns ~250 countries' sentence slightly overlaps with 'List all countries', but that redundancy buys useful cardinality 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?

An output schema exists, so the description need not explain return values, and the tool is a simple single-parameter read. Card count is given, but the description could have noted whether the catalogue is static or refreshed, which matters for a reference-data tool.

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?

There is a single parameter (_apiKey) with 100% schema description coverage, so the schema already explains it fully. The description adds no extra meaning about the key (e.g., where to obtain it or rate limits tied to it), 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 opens with a specific verb and resource ('List all countries') and enumerates the payload fields (ISO codes, capitals, phone codes, currencies, regions), so an agent knows exactly what comes back. It does not explicitly contrast with the sibling country_state_city_get_states, but the top-level scope is clear from 'all countries'.

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?

'Useful for building dropdowns or validating country data' implies when to reach for it, but there is no explicit when-not guidance and no named alternative (e.g., use the states tool for a narrower lookup). Usage is inferred rather than directed.

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.