Skip to main content
Glama

levelsfyi_cities

Read-only

Returns matching cities with their id, country id and flag, display name, coordinates and the DMA market id and name they belong to. Use it to find a city-level location, or to read the DMA market name whose slug form identifies the wider region a region-scoped pay distribution is keyed by. The source returns at most 15 matches per query, ranked itself; a query that matches nothing is an empty result rather than an error.

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": {
      "query": "<query>"
    },
    "name": "levelsfyi_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesCity name or prefix to search, for example seattle

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly/openWorld/idempotent=false), the description discloses that results are capped at 15 per query, that the source ranks matches itself, and that a non-matching query yields an empty result rather than an error. Those are exactly the operational facts an agent needs to avoid misreading an empty response as a failure or assuming it can page past 15.

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?

Two sentences, front-loaded with the return shape and the limits, with no filler. The second sentence is dense and slightly convoluted in its DMA/slug phrasing, which costs a point but does not obscure the core meaning.

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 an output schema present and annotations covering safety, the description only needed to supply scope, result limits, and empty-result behavior, and it does. The one remaining gap is that it does not say how city results relate to region- or country-level lookups beyond the oblique DMA reference.

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 description coverage is 100%, and the single parameter already documents "City name or prefix to search, for example seattle." The description adds no format, casing, or prefix-vs-exact semantics beyond that, so the baseline 3 applies.

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 opens with a specific verb and resource ("Returns matching cities") and enumerates the returned fields, including id, country id/flag, display name, coordinates, and DMA market id/name. That is enough to know it is a city lookup, but it never names a sibling (e.g., a broader locations tool) to distinguish itself from, so it stops short of a 5.

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

Usage Guidelines4/5

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

"Use it to find a city-level location, or to read the DMA market name..." gives two concrete reasons to call it, which is real when-to-use guidance. There is no when-not-to-use clause or named alternative, so it does not reach the 5 tier.

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.