Skip to main content
Glama

country

country
Read-only

3 free MCP calls per day (all tools together), then $0.0025 USDC via x402 or card credits (paid in-band: params._meta["x402/payment"]). Country reference lookup by ISO2/ISO3/name: capital, population, area, continent, currency, phone prefix, TLD, languages, neighbours, time zones with current UTC offset and local time. When to use: Use country for ISO codes, capitals, currencies, calling codes and time zones.

Input Schema

NameRequiredDescriptionDefault
qYesISO2, ISO3 or country name

Output Schema

NameRequiredDescriptionDefault
tldNo
iso2No
iso3No
nameNo
capitalNo
sourcesNo
area_km2No
continentNo
languagesNo
timezonesNo
neighboursNo
populationNo
iso_numericNo
phone_prefixNo
currency_codeNo
currency_nameNo
has_holiday_dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / description
      Previous value: -"Inferred from a real response captured on 2026-10-24; extra fields may appear, null-valued fields are untyped."New value: +"Inferred from a real response captured on 2026-10-26; extra fields may appear, null-valued fields are untyped."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Inferred from a real response captured on 2026-10-24; extra fields may appear, null-valued fields are untyped.",
      +  "properties": {
      +    "area_km2": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "capital": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "continent": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "currency_code": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "currency_name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "has_holiday_data": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "iso2": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "iso3": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "iso_numeric": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "languages": {
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "neighbours": {
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "phone_prefix": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "population": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "sources": {
      +      "items": {
      +        "properties": {
      +          "license": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "snapshot": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "timezones": {
      +      "items": {
      +        "properties": {
      +          "local_time_now": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "timezone": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "utc_offset_now": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "tld": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations by disclosing the commercial model: 3 free calls per day across all tools, then $0.0025 USDC via x402 or card credits, with the exact in-band payment location params._meta["x402/payment"]. Free-tier quota and payment mechanics are exactly the kind of behavior an agent must know before calling.

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?

Two dense sentences with no filler; the pricing clause leads and the capability and usage follow. Slight deduction only because the payment mechanics precede the statement of what the tool actually does, delaying the agent's primary identification of the tool.

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 return values needn't be enumerated, and the description still previews the covered fields. For a one-parameter, read-only lookup this is nearly complete; only error handling for unmatched country strings is unaddressed.

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 single parameter q is already documented as 'ISO2, ISO3 or country name'. The description restates that same set without adding format examples or failure behavior for invalid codes, so baseline 3 applies.

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 and resource — 'Country reference lookup by ISO2/ISO3/name' — and enumerates the exact payload (capital, population, area, continent, currency, phone prefix, TLD, languages, neighbours, time zones). An agent can distinguish it from lookalike siblings such as geocode, currency and holidays without opening the schema.

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 'When to use' sentence gives a positive trigger list (ISO codes, capitals, currencies, calling codes, time zones), which is clear context. However it names no alternatives or exclusions, even though currency and geocode sit among the siblings and could plausibly be confused with this tool.

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.

Resources