Skip to main content
Glama

Alomo: Lookups

Country facts: currency, calling code, capital, languages

country_facts
Read-onlyIdempotent

Facts for a country by name or ISO code (alpha-2 or alpha-3): official name, capital, region, currencies (code, name, symbol), international calling codes, languages, internet domain, landlocked, neighbouring countries, area, flag emoji, independence and UN membership. 250 countries and territories. Driving side and plug types aren't included.

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": {
      "country": "<country>"
    },
    "name": "country_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesCountry name or ISO code, e.g. 'Japan', 'JP' or 'JPN'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds real value beyond that: total coverage (250 countries and territories) and explicit data gaps (no driving side, no plug types). It doesn't mention lookup failure behavior for unknown countries, which is the remaining gap.

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?

One sentence, front-loaded with purpose, followed by scope and exclusions in a logical order with no filler. The long field enumeration is dense but each item is a distinct return value the agent needs given there is no output schema.

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?

With no output schema, the description carries the full burden of describing return values and does so field by field, including nested detail such as currency code/name/symbol. Scope size and known exclusions are also stated, leaving nothing essential unclear for a single-parameter lookup.

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 already documents name or ISO code with examples. The description adds only the alpha-2/alpha-3 distinction and nothing about casing, whitespace, or ambiguous names, so baseline 3 is appropriate.

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 resource and verb ('Facts for a country') and then enumerates exactly which facts are returned plus the accepted identifier forms. An agent knows precisely what it gets and for how many entities (250 countries and territories); sibling tools are unrelated utilities, so no differentiation is needed.

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?

Accepts a country name or alpha-2/alpha-3 ISO code, which tells the agent how to call it in different contexts, and explicitly excludes driving side and plug types so the agent won't expect those. There is no statement of when a different tool would be preferable, but no sibling overlaps here.

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