Skip to main content
Glama

discovery_reference_localities_json_gz_retrieve

Every city and town with id, name, coordinates, and its region and country. Gzipped JSON array of every row, with an ETag: send If-None-Match to get a 304 when nothing changed. Meant for clients that cache the whole table; to look up a few values, discovery_localities_list is lighter.

Method: GET /api/v1/discovery/reference/localities.json.gz

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses gzip encoding, ETag-based conditional requests with `If-None-Match` returning 304, and that the payload is the full table. It omits auth requirements, payload size, and rate limits, which keeps it short of a 5 for a bulk-download endpoint.

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?

Two dense sentences plus a method line; the payload contents, caching contract, and alternative are all front-loaded with no filler. Every clause carries information an agent needs.

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?

No output schema exists, and the description compensates by enumerating the returned fields and the transport format (gzipped JSON array). Combined with the caching semantics, an agent has everything needed to decide and call correctly.

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?

The schema has zero parameters, so the baseline is 4. The description goes slightly beyond by documenting the `If-None-Match` request header and its 304 outcome, which is an implicit input not represented in the schema.

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 resource and payload shape: every city and town with `id`, `name`, coordinates, region, and country, returned as a gzipped JSON array. It also names a sibling (`discovery_localities_list`) as the lighter alternative, so an agent can distinguish the two without opening either schema.

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 frames the intended use case (clients that cache the whole table) and the condition that selects the alternative (looking up a few values). Both the when and the when-not are present, with the alternative named.

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.