Skip to main content
Glama

Available Boundary Levels For Country

geoboundaries.boundary.available_levels
Read-onlyIdempotent

Check which administrative levels (ADM0 through ADM5) exist for a given country, with the local admin name and unit count at each available level (e.g. Kenya has ADM0-ADM2 only; France has ADM0-ADM4). Call this before geoboundaries.boundary.detail to avoid requesting a level that does not exist for that country. Data: geoBoundaries (William & Mary geoLab), no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryYesISO 3166-1 alpha-3 country code, uppercase (e.g. "USA", "KEN", "FRA"). ISO2 codes and country names are not accepted by the upstream API.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the operation as read-only, idempotent, non-destructive, and open-world. The description goes beyond these by adding that no auth is required, identifying the data source (geoBoundaries, William & Mary geoLab), and specifying that the result includes local admin names and unit counts. It contradicts no annotations.

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?

The description is three sentences with no filler. It front-loads the core purpose and return payload, then gives a precise usage guideline, then a brief data-source and auth note. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, read-only tool with a rich output schema, the description fully equips an agent to call it correctly: it specifies what to pass in spirit (country), what it returns, when to use it relative to a sibling, and the auth position. No critical guidance is missing.

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 the schema already documents the single country parameter thoroughly, including format, length, and the exclusion of ISO2 codes and country names. The description adds no additional parameter-level semantics beyond the generic phrase 'for a given country,' so the baseline of 3 is appropriate.

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?

States a specific verb ('Check'), a clear resource (administrative levels for a country), and the scope (ADM0-ADM5 with local admin name and unit count). It also distinguishes itself from the sibling geoboundaries.boundary.detail by naming the preflight role, so an agent can immediately tell what this tool does and how it differs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs the agent to call this tool before geoboundaries.boundary.detail to avoid requesting a non-existent level. This gives a clear when-to-use rule and names the relevant alternative, leaving no ambiguity about how this tool fits into a workflow.

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.