Skip to main content
Glama

Country Boundaries

CountryBoundaries
Read-only

Country Boundaries: Country Boundaries retrieves GeoJSON border outlines for any country by its two-letter ISO code. Each response includes the country name, geometry type, and boundary coordinate pairs ready for mapping layers. (Cost: 10 credits)

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": {
      "country": "<country>"
    },
    "name": "CountryBoundaries"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesThe Country 2 Letter ISO code (e.g., CA)

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description still adds value by disclosing the output format (GeoJSON), the fields returned (country name, geometry type, coordinate pairs), and a concrete cost of 10 credits — the cost signal in particular is not derivable from structured fields.

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?

Three sentences, front-loaded with the capability and ending with the cost caveat. The only waste is the redundant 'Country Boundaries: Country Boundaries retrieves' opening that repeats the title twice.

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 single-parameter read tool with an output schema and full annotation coverage, the description supplies what's needed: format, payload shape, and cost. The missing piece is disambiguation from the near-identical CountryBorders sibling, which is the one thing an agent could get wrong here.

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?

With one parameter at 100% schema description coverage, the schema already documents the ISO code and gives an example ('CA'). The description restates 'two-letter ISO code' without adding format, case-handling, or fallback behavior, so it neither helps nor hurts beyond the baseline.

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 and resource ('retrieves GeoJSON border outlines for any country') plus the keying mechanism (two-letter ISO code), so the agent knows exactly what it gets. It fails to differentiate from the very similar sibling CountryBorders (and StateBoundaries), leaving the agent to guess which boundary tool to pick.

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 phrasing 'for any country by its two-letter ISO code', but there is no explicit when-to-use/when-not guidance and no mention of CountryBorders or StateBoundaries as alternatives. For a tool sitting in a large family of geography lookups, this is a real gap.

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.