Skip to main content
Glama

Search cities

search_cities
Read-only

Find city names we have flights for. Use the exact name in the other tools.

Input Schema

NameRequiredDescriptionDefault
queryYesCity name prefix, e.g. 'Lond' or 'Sev'.

Output Schema

NameRequiredDescriptionDefault
citiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false, idempotentHint=false), so the description needn't restate safety. It adds that results are limited to cities with flights, which is useful scope context, but says nothing about result count limits, empty-result behavior, or whether prefix matching is case-sensitive.

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, zero padding, with the what-is-it sentence front-loaded and the consequence sentence second. Every clause earns its place.

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?

For a one-parameter read-only lookup with an output schema and full annotation coverage, the description is nearly sufficient. Minor gaps remain around prefix-length/case handling and result limits, but nothing blocks correct invocation.

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% and the schema itself gives the prefix semantics with examples ('Lond', 'Sev'). The description adds no syntax beyond the schema, aside from the downstream 'use the exact name' note, 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?

States a specific verb and resource ('Find city names') with a scoping constraint ('we have flights for'), so the agent knows this is a lookup of serviced cities rather than arbitrary place search. It implicitly distinguishes itself from search_flights, but never names it or the other siblings explicitly.

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 the exact name in the other tools' tells the agent this is a resolution step whose output feeds downstream calls, which is real usage context. It does not, however, say when this is unnecessary or contrast it with plan_trips/search_flights as alternatives, so it falls short of explicit when/when-not routing.

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