Skip to main content
Glama

find_city

Find city IDs by name for update_profile, defaulting to your country when no country ID is provided.

Instructions

City ids for update_profile (defaults to your country).

Input Schema

NameRequiredDescriptionDefault
nameYes
country_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses only one behavioral trait ('defaults to your country'); it says nothing about matching semantics (exact vs. partial name), result cardinality, or permissions/auth needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the return value, but it is a telegraphic fragment rather than a complete sentence, and the brevity comes at the cost of the usage and matching details an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a lookup tool with no annotations and no output schema, the description should say what comes back (id only? id plus label?) and how name matching works. Neither is covered, leaving real gaps before 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 description coverage is 0%, so the description must compensate. It partially does: 'defaults to your country' explains what a null country_id actually does, which the schema's bare default:null does not convey. The 'name' parameter's matching semantics remain unstated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'City ids' implies a lookup that resolves city names to ids, and 'for update_profile' hints at the downstream use. However, there is no explicit verb (find/search/list) and no statement of what a match returns, so the purpose is inferable rather than stated.

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?

'for update_profile' implies the when-to-use context — the agent needs a city id before calling update_profile — and it notes the default behavior of scoping to the user's country. There is no explicit guidance on alternatives or on what to do when multiple cities share a name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.