Skip to main content
Glama

Lookup City

lookup_city
Read-onlyIdempotent

Get all postal codes (ZIP codes) for a city, given its country and state or province. Country and state may be written as names or codes — "California" and "CA" both work, as do "United States" and "US".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYesCity name, e.g. "beverly hills". Spaces are fine — pass the name as written.
stateYesState, province or UK region, by name or abbreviation — "California" or "CA", "Ontario" or "ON", "England" or "eng".
countryYesCountry name or ISO 3166-1 alpha-2 code — "United States", "US", "Germany", "DE" all work.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesState or province name
placesYesList of postal codes in the city
countryYesFull country name
state_abbreviationYesState or province abbreviation
country_abbreviationYesISO 3166-1 alpha-2 country code

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, covering safety and side-effect profile. The description adds input flexibility (names or codes) but does not disclose additional behavioral traits like rate limits, pagination, or error handling. Given the strong annotation coverage, the description provides some value but not substantial behavioral context, warranting a baseline 3.

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, efficient sentence that immediately states the tool's purpose and includes valuable input flexibility examples. It is front-loaded with the verb and resource, and every phrase earns its place. No fluff or redundant details.

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

Completeness5/5

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

For a simple read-only lookup tool with a comprehensive input schema and an output schema, the description is complete enough. It clearly indicates required inputs, provides formatting examples, and the annotations cover safety and idempotency. There are no missing critical details for selecting and invoking the tool correctly.

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 has 100% description coverage with detailed descriptions for each parameter (e.g., state: 'by name or abbreviation'), and the description includes examples like 'California'/'CA' and 'United States'/'US'. However, the description largely reiterates what the schema already states, adding no new semantic meaning beyond the schema. Thus, the baseline of 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 clearly states the tool's function: 'Get all postal codes (ZIP codes) for a city, given its country and state or province.' It uses a specific verb ('get') and resource ('postal codes'), but does not explicitly differentiate from the sibling tool 'lookup_zipcode', which might be the reverse operation. Therefore, it meets the criteria for a clear purpose without sibling differentiation.

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?

The description implies when to use the tool (when you need postal codes for a city given country and state), and provides input flexibility guidance ('Country and state may be written as names or codes'). However, it does not mention alternatives or when not to use this tool, such as pointing to 'lookup_zipcode' for the reverse lookup. Thus, usage context is implied but no explicit exclusions or alternatives are given.

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.

TDQS

A3.8/5.0
Disambiguation2/5

Several tools have overlapping purposes: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, validate_claim, and bet_research all route questions to the same underlying engine, and ask_pipeworx_beta is explicitly identical to ask_pipeworx right now. The polymarket_* family also has many closely-related entry points, though descriptions do help differentiate them.

Naming Consistency4/5

Names consistently use snake_case with descriptive verb-first patterns (ask_, lookup_, scan_, validate_, resolve_, subscribe) and a clear polymarket_ family prefix. Minor inconsistency exists between lookup_city/lookup_zipcode and resolve_entity, and between noun-style names like entity_profile vs verb-style names like compare_entities, but the overall style is predictable.

Tool Count2/5

33 tools is heavy for a single server, and multiple could be consolidated: the ask_pipeworx variants and deep_research largely overlap, and the memory/subscription categories could be collapsed. For a data-platform gateway the breadth is arguably justified, but the visible redundancy makes the surface feel bloated rather than well-scoped.

Completeness4/5

The core domains are well covered: question answering has multiple modes, entity lookup has resolution and profiling, prediction markets have research/edge/arb/fill-risk coverage, and the memory (remember/recall/forget) and subscription (subscribe/list/unsubscribe/recent_alerts) lifecycles are complete. Minor gaps exist such as no direct tool to fetch a pipeworx:// record by URI, relying instead on MCP resources.