Skip to main content
Glama

search_city

Search for a city by name in any of six languages to obtain its coordinates, IANA timezone, and elevation for use with other vitamin D tools.

Instructions

Find a city in the app's database by name (any of the app's six languages works) and get its coordinates, IANA timezone and elevation — feed those into the other tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesCity name, e.g. 'Madrid', 'London', 'Nueva York'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4.2/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. It explicitly discloses the tool's behavior: accepts city names in any of six languages and returns coordinates, timezone, and elevation. It does not describe error cases or read-only guarantees, but for a search tool this is adequate. No contradictions with annotations (none present).

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?

The description is a single, focused sentence. It front-loads the verb and resource, then provides essential output details and usage context. Every clause is informative and no redundant wording is present.

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?

Given the tool's simplicity (one parameter, no output schema), the description is complete for an agent to understand its role and output. It mentions the return values and integration with other tools. It could optionally detail return format or failure behavior, but those are handled by schema and reasonable inference. Overall, sufficient.

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?

The input schema already has 100% description coverage with a clear example and format. The tool description adds the multilingual aspect ('any of the app's six languages works') and the purpose of the query, which enhances understanding but doesn't add significant syntax details beyond the schema. Baseline 3 is appropriate.

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 clearly states the verb 'find' and the resource 'city in the app's database', and specifies the output (coordinates, IANA timezone, elevation). It distinguishes itself from sibling tools focused on sun/vitamin D by being the city lookup utility. The phrase 'feed those into the other tools' confirms its role as a prerequisite lookup.

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?

The description implies when to use this tool: to obtain city data needed by other tools. It doesn't explicitly state exclusions or alternatives, but the context is clear given the sibling list. The instruction 'feed those into the other tools' provides practical usage direction.

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