Skip to main content
Glama

Country Generator

Random country

random_country
Read-only

Pick a random country, optionally from one continent, with its capital, flag, region, population and languages.

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage for names, capitals and links.en
regionNoLimit to one continent.

Output Schema

NameRequiredDescriptionDefault
countryYesFacts about one country.
play_urlYesA page on the site to play. Share it once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that selection is random and enumerates the returned fields, but randomness is largely restated by the tool name and nothing is said about whether repeated calls can repeat results, so the added value is modest.

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?

A single front-loaded sentence with the scoping qualifier placed before the payload list; every clause conveys something and there is no filler 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 an output schema present, annotations covering safety, and two fully documented optional parameters, the description is close to sufficient. The remaining gap is sibling disambiguation, which matters given get_country and search_countries exist in the same namespace.

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% with both parameters enumerated and documented, so the schema carries the parameter semantics. The description only echoes the continent filter ('optionally from one continent') and says nothing about the locale parameter's effect on names, capitals and links, so it adds little beyond the schema.

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?

The description states a specific verb and resource ('Pick a random country') plus the optional continent scoping and the data returned, so the function is unmistakable. It stops short of differentiating from siblings like get_country or search_countries, so it is clear but not fully routed.

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?

Usage is only implied: 'optionally from one continent' hints at the filtering case, but there is no statement of when to prefer this over get_country or search_countries, and no mention of non-determinism or suitability for quizzes. An agent must infer the use case from the name.

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