Skip to main content
Glama

country_flag_url

Retrieve a country flag image URL by ISO 2-letter country code, with optional size and flat PNG or SVG style, for use in web or app interfaces.

Instructions

Get a country flag image URL by ISO 2-letter code.

Input Schema

NameRequiredDescriptionDefault
sizeNoSize: 16, 32, 48, or 64 (default 64)
styleNoflat (PNG) or svg (default flat)
country_codeYes2-letter ISO country code (e.g. US, GB, AU)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden, but for a stateless URL-builder there is little to disclose. It confirms the tool returns a URL rather than an image or file, yet says nothing about whether the URL is externally hosted, whether it requires network access, or any failure mode for invalid codes.

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 tight sentence that front-loads the action and result. No filler, no repetition of the title, nothing wasted.

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?

For a trivial URL-generator with fully documented parameters and a self-evident return value, the description is nearly complete. The only meaningful omission is a note on error behavior for invalid country codes, and no output schema is needed since the result is a single URL.

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 size, style, and country_code all documented including defaults and valid values. The description's 'ISO 2-letter code' restates the schema's own '2-letter ISO country code' without adding syntax or validation detail, so it stays at the baseline for fully-covered schemas.

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 ('Get'), a concrete resource ('country flag image URL'), and the key input constraint ('by ISO 2-letter code'). An agent can immediately tell what it produces, though it does not explicitly contrast itself against lookalike URL generators like avatar_url or robohash_url.

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 implied: supply a 2-letter ISO code to get a flag URL. There is no explicit when-to-use framing, no mention of prerequisites, and no named alternative for related needs (e.g. country_info_detail for full country data). Adequate but thin.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools