Skip to main content
Glama

List covered states and cities

list_locations
Read-onlyIdempotent

Store counts by state/province, or by city within one state/province. Use to check coverage or suggest nearby cities.

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

Input Schema

NameRequiredDescriptionDefault
regionNoTwo-letter state or province code to list its cities.

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?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description adds the important behavioral fact that this returns aggregated counts rather than location records. It does not cover ordering, limits, or what an empty result means, so it falls short of a 5.

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 short sentences with zero filler; the primary behavior (what is returned and at which granularity) is front-loaded, and the usage hint follows.

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?

With a single optional parameter and no output schema, the definition supplies what an agent needs: the two result granularities, the parameter's role, and the aggregation nature of the response. Minor gaps are pagination/limits and what units the counts are in, but nothing blocking.

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?

Schema coverage is 100% and the region field is already documented, but the description adds meaning beyond it: omitting region yields state/province-level counts, while supplying region yields city-level counts within that one region. That dual-mode semantics is the key thing an agent needs and is not stated in the schema.

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?

The description names the resource (states/provinces and their cities) and the payload (store counts), and it implicitly distinguishes the two modes via 'or by city within one state/province'. The verb 'list' from the name is only implied by the phrasing, so it stops just short of a fully explicit verb+resource+scope statement.

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?

'Use to check coverage or suggest nearby cities' gives two concrete use cases, which is real guidance for an agent deciding whether to call it. However, no exclusion or routing is offered — it does not say to use find_stores/search when actual store records are needed rather than aggregate counts.

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.

Resources