Skip to main content
Glama

mechacut

validate_country

ISO 3166-1 lookup as ONE call: alpha-2 -> alpha-3, numeric, official name, ISO-4217 currency + decimal places, calling code. Codes outside the shipped subset get an honest edge-of-table verdict, never a fake invalid. Free.

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": {
      "code": "<code>"
    },
    "name": "validate_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With zero annotations the description carries the full burden, and it does disclose two non-obvious traits: coverage is a 'shipped subset' rather than all of ISO 3166-1, and out-of-subset codes produce an 'edge-of-table verdict' rather than a false 'invalid'. It also states there is no cost. It stops short of saying whether input is case-insensitive or whether bad input throws versus returns a verdict, and the structural shape of that verdict is undefined without an output schema.

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?

Front-loaded with the payload ('lookup as ONE call') and then a compact field list; no filler sentences. It is dense to the point of being cryptic — 'edge-of-table verdict' and the trailing 'Free.' require interpretation — which costs a point.

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 one-parameter, no-annotation, no-output-schema tool, the description covers purpose, output fields, the coverage limitation, and failure semantics. The remaining gaps are input-format tolerance and the concrete return shape, but the essentials for a correct call are present.

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?

There is one required parameter ('code') with 0% schema description coverage. The description implies the input is an alpha-2 code ('alpha-2 -> alpha-3'), but it does not state whether alpha-3, numeric, or names are also accepted as input, which is the single most important semantic question here.

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?

Names the exact standard (ISO 3166-1), the operation (lookup/validation of a country code), and enumerates the return fields (alpha-3, numeric, official name, ISO-4217 currency + decimals, calling code). That specificity alone separates it from the surrounding validate_* family, which targets email, IBAN, phone, postal, and tax IDs.

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 by the domain: pass a country code, get enriched country data. There is no explicit when-to-use or when-not-to-use statement, no mention of how this relates to address_parse or other geo-ish siblings, and no statement about which input forms are acceptable.

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.