Skip to main content
Glama

discovery_reference_regions_json_gz_retrieve

Every region (state, province) with id, name and country_id. 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_regions_list is lighter.

Method: GET /api/v1/discovery/reference/regions.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_regions_json_gz_retrieve"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the transport encoding (gzip), the fact that the response is the entire table rather than a page, and ETag/304 cache-validation semantics that an agent would otherwise not anticipate. It stops short of stating payload size, auth requirements, or whether the ETag is per-row or per-table, which are the remaining behavioral gaps.

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 short sentences plus a method line, front-loaded with what the resource is before the caching advice. The only minor waste is the near-duplication between 'Every region ... with id, name and country_id' and 'JSON array of every row'.

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?

There is no output schema, so the description must cover return values, and it does: encoding, array-of-all-rows shape, and the field list. Combined with the conditional-request behavior and the sibling comparison, an agent has everything needed to call this correctly and interpret the response.

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 input schema has zero parameters, so the baseline is 4. The description goes slightly beyond by documenting the out-of-schema If-None-Match request header and its 304 effect, which is meaningful semantics an agent must know to use caching correctly.

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?

The description names the exact resource (regions/states/provinces), the exact payload shape (gzipped JSON array of every row), and the fields returned (id, name, country_id). It also explicitly contrasts itself with discovery_regions_list, so an agent can tell the bulk-export tool from the lookup tool without inspecting 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?

It gives an explicit when-to-use ('clients that cache the whole table') and an explicit alternative for the other case ('to look up a few values, discovery_regions_list is lighter'). It also states the conditional-request workflow, so the agent knows to send If-None-Match and expect a 304.

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.