Skip to main content
Glama

qm_data_country

Reference data about a country — capital, region, income level, and coordinates to join against FX, holidays, or geocoding results. Price: $0.01 USDC on Base via x402 (the live 402 challenge is authoritative). Payment follows the x402 two-phase exchange: unpaid calls receive the payment requirements (payTo, amount, accepted networks), and calls carrying a valid payment receive the data in the tool result. The tool itself makes no payments, handles no private keys, and holds no funds. Resale of the data output is permitted at the reseller's own price.

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": "qm_data_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo2-3 letter ISO code. Example: US.
nameNoCountry name, resolved to ISO. Example: United States.
paymentNoBase64-encoded x402 v1 payment payload (the signed ExactEvmPayload JSON). Absent on the first call, which receives the payment requirements; present on the follow-up call, after signing in the caller's own wallet / x402 client. The server only forwards it to the rail — it never signs, never holds funds, never touches private keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment / description
      Previous value: -"Base64-encoded x402 v1 payment payload (the signed ExactEvmPayload JSON). Omit on the first call to receive the payment requirements; sign in your own wallet / x402 client, then re-call with this set. The server only forwards it to the rail — it never signs, never holds funds, never touches private keys."New value: +"Base64-encoded x402 v1 payment payload (the signed ExactEvmPayload JSON). Absent on the first call, which receives the payment requirements; present on the follow-up call, after signing in the caller's own wallet / x402 client. The server only forwards it to the rail — it never signs, never holds funds, never touches private keys."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the price, the x402 challenge as authoritative, the unpaid-vs-paid response behavior, that the tool holds no keys or funds, and that output resale is permitted. It omits return-shape and error semantics, but the payment and custody behavior — the highest-risk traits here — are fully surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The data purpose is correctly front-loaded in the first sentence, but roughly two-thirds of the text is payment-rail boilerplate. The resale-permission sentence and the repeated 'no private keys / no funds' phrasing are marginal for an agent deciding whether and how to call the tool, and dilute the core lookup guidance.

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 three-parameter, no-output-schema lookup tool with 100% schema coverage, this covers the essentials: what data comes back, how to address a country, and how the paid call sequence works. The remaining gap is behavioral edge cases (no match found, ambiguous name resolution) that an agent would need to plan retries or fallbacks.

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 code, name, and payment are already documented with examples and the payment payload's base64/ExactEvmPayload format. The description adds nothing to those definitions beyond restating the two-phase payment concept, so baseline 3 applies. It also never clarifies whether `code` and `name` are mutually exclusive or one takes precedence.

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 names a specific resource and enumerates its payload (capital, region, income level, coordinates) and even states its intended role as a join key for FX, holidays, and geocoding. It stops short of naming which sibling to use instead, but the resource itself is unambiguous against generic siblings like qm_data_fx or qm_data_geocode.

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?

Usage context is clear: this is reference/dimension data to enrich results from FX, holidays, or geocoding calls. The two-phase payment flow is also spelled out as a call sequence (first call gets requirements, second call gets data). What's missing is any exclusion or failure guidance — e.g., what to do if both code and name are supplied, or if the lookup misses.

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.