Skip to main content
Glama

Get country

get_country
Read-onlyIdempotent

One country: names, calling codes, currencies, languages, timezones, levels with coverage. Works without a key within a daily free quota.

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": {
      "cc": "<cc>"
    },
    "name": "get_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccYesISO 3166-1 alpha-2 country code, e.g. TR.
langNoComma-separated BCP 47 tags (max 5), e.g. en,de. Adds `names`; null means we do not have that language.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / cc / description
      Added value: +"ISO 3166-1 alpha-2 country code, e.g. TR."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely new operational context not present in structured fields: it works without an API key and is bounded by a daily free quota, which tells the agent about auth and rate limits.

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 short sentences with the resource and its payload front-loaded, and the quota caveat placed last where it belongs. The final clause 'levels with coverage' is somewhat telegraphic and could be clearer, but nothing is wasted.

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?

There is no output schema, so the description carries the burden of describing return values; it does so by listing the field groups, which is helpful. However it is silent on error/not-found behavior and on what the 'levels with coverage' figures mean, leaving gaps for a lookup tool with no output schema.

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 both parameters (cc and lang) are already fully documented with patterns, examples and null semantics. The description adds only the indirect hint that 'names' is the language-affected field, which the schema already states, so it meets but does not exceed the baseline.

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?

Names a specific resource and scope ('One country') and enumerates the returned content (names, calling codes, currencies, languages, timezones, levels with coverage), which clearly separates it from a bulk listing tool. It stops short of naming list_countries as the contrasting sibling, so differentiation must be inferred from 'One country'.

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 phrase 'One country' implies a single-record lookup and contrasts implicitly with the sibling list_countries, but there is no explicit when-to-use or when-not-to-use statement, and no mention of what to do when the code is unknown or when the language is unavailable (beyond the schema's null note).

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