Skip to main content
Glama

Sidetrip Countries

find_country

Read-onlyIdempotent

Look up a country by common name, ISO 3166 alpha-2 or alpha-3 code, or capital city. Returns the name, codes, capital, region, population, area, languages, currencies, and flag. Use this for a single country profile. Population here is the countries.dev figure; use get_indicator with population for the World Bank series.

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": {
      "query": "<query>"
    },
    "name": "find_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchNoHow to search. auto tries an ISO code first when the query is 2 or 3 letters, otherwise a name.
queryYesCountry name, ISO code, or capital. Examples: France, FR, FRA, Paris.

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, non-destructive, so the safety profile is covered. The description adds genuinely useful context beyond them: the concrete response field set and, importantly, the data provenance (countries.dev population vs. World Bank) that affects which tool's numbers an agent should trust. No mention of auth/rate-limit behavior expected for an open-world lookup, which is the only gap.

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?

Three sentences, each earning its place: capability and accepted inputs first, return shape second, disambiguation third. No filler wording or repetition.

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?

With no output schema, the description carries the burden of describing returns and does so by enumerating the fields, plus it discloses the data source. It is nearly complete; only edge behavior (e.g., ambiguous queries matching several countries, or no-match responses) 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 coverage is 100%, so both `query` formats and the `match` enum semantics are already documented in the schema. The description restates the accepted identifier kinds (name, alpha-2, alpha-3, capital) but adds no new detail such as ambiguity handling or how `match` interacts with the query beyond what the schema says.

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 ("look up a country") and enumerates the accepted identifier forms plus the returned fields. "Use this for a single country profile" implicitly separates it from list_countries and compare_countries, and the explicit pointer to get_indicator for World Bank population data removes ambiguity with that sibling.

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?

Gives a clear scope statement (single country profile) and one explicit routing rule to an alternative (get_indicator for the World Bank population series, with the reason: this tool returns the countries.dev figure). It does not state what to do for bulk/browsing needs, where list_countries would presumably apply, so guidance is clear but not exhaustive.

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