Skip to main content
Glama

x402_flags_get_v1_w80_code

Fetch a country flag image as SVG or PNG by ISO country code at 80px width for locale, profile, or address displays.

Instructions

flags — FlagCDN country flag images: SVG or PNG at standard sizes by ISO country code. Free, no key. [GET /v1/w80/{code}] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/w80/br

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_flags_get_v1_w80_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose valuable behavior — the HTTP verb/path, the price ($0.005 USDC), and the accepted payment networks (eip155:8453/137/42161/480) — but it also self-contradicts by calling the service 'Free, no key' in the same breath as quoting a per-call price, which leaves an agent unsure whether payment or authentication is actually required.

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?

A single dense line that front-loads the resource, then adds cost, endpoint, and example — no filler sentences. The packed bracket/pricing notation is terse but readable.

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 simple image-fetch with no output schema and no annotations, the definition covers format, size, key, price, and endpoint. The one unresolved gap is the free-vs-paid ambiguity and the exact meaning of 'w80' (presumably 80px width), which an agent may want confirmed before committing a paid call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the four generic parameters (body, query, restart, operationId) are documented and the baseline is 3. However, the actual lookup key `code` is not a schema property at all — it appears only as a path segment — and the description is the only thing that explains it as an ISO country code with a worked example (/v1/w80/br), which is genuine added meaning.

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?

States a specific verb+resource (fetch country flag images) with the provider (FlagCDN), format (SVG/PNG), size bucket (w80), and lookup key (ISO country code). The example path /v1/w80/br pins down the shape. It does not explicitly distinguish itself from the sibling x402_flags_get_v1_svg_code, so an agent must infer that this one is the raster/size-specific variant.

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 rather than stated: when you need a flag image for an ISO country code at width 80. There is no explicit when-to-use versus the svg sibling or when-not to use it, and no guidance on how the cost interacts with the claim that the service is 'free, no key'.

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