Skip to main content
Glama

List supported countries

list_countries
Read-onlyIdempotent

List the ISO 3166-1 alpha-2 country codes supported for geo-targeting. Pass a model to get the codes available for that specific engine (some engines block certain countries).

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

Input Schema

NameRequiredDescriptionDefault
modelNoOptionally filter to countries supported by a specific engine.

Output Schema

NameRequiredDescriptionDefault
countriesYesISO 3166-1 alpha-2 country codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "aimode",
      -  "aioverview",
      -  "bing_aimode",
      -  "chatgpt",
      -  "gemini",
      -  "google"
      -]New value: +[
      +  "aimode",
      +  "aioverview",
      +  "bing",
      +  "bing_aimode",
      +  "chatgpt",
      +  "gemini",
      +  "google"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "aimode",
      -  "aioverview",
      -  "chatgpt",
      -  "gemini",
      -  "google"
      -]New value: +[
      +  "aimode",
      +  "aioverview",
      +  "bing_aimode",
      +  "chatgpt",
      +  "gemini",
      +  "google"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "aimode",
      -  "aioverview",
      -  "chatgpt",
      -  "copilot",
      -  "gemini",
      -  "google",
      -  "perplexity"
      -]New value: +[
      +  "aimode",
      +  "aioverview",
      +  "chatgpt",
      +  "gemini",
      +  "google"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "aimode",
      -  "aioverview",
      -  "chatgpt",
      -  "copilot",
      -  "gemini",
      -  "google",
      -  "grok",
      -  "perplexity"
      -]New value: +[
      +  "aimode",
      +  "aioverview",
      +  "chatgpt",
      +  "copilot",
      +  "gemini",
      +  "google",
      +  "perplexity"
      +]
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "countries": {
      +      "description": "ISO 3166-1 alpha-2 country codes.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "countries"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine context beyond that: results can vary by engine because some engines block specific countries. Return format is left to the output schema, which is acceptable here.

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 short sentences; the primary purpose and return format come first, and the optional parameter guidance follows. No filler or redundancy.

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?

The tool takes one optional parameter, has full schema coverage, an output schema, and complete annotations. Everything an agent needs to call it correctly — including the engine-dependent variance — is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the enum is documented, so the baseline is 3. The description still adds meaning by explaining the consequence of the filter — countries unsupported by the chosen engine are excluded — rather than merely restating that it filters.

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?

States a specific verb (list), resource (ISO 3166-1 alpha-2 country codes), and scope (supported for geo-targeting). The resource is concrete enough that it is trivially distinguishable from the sibling list_states, which returns a different unit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains the conditional path clearly: pass a model to get engine-specific codes, and states why that matters (some engines block certain countries). It gives no explicit when-not or named alternative, which keeps it just short of a 5.

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.