Skip to main content
Glama
SZhukovWork
by SZhukovWork

resolve_city

Read-onlyIdempotent

Find the Citilink city ID and delivery area for a city name, enabling accurate city-specific product data queries.

Instructions

Look up Citilink city ids by name (Citilink's own directory, cached for a week).

Use an id as city in the other tools. delivery_area is Citilink's area the city belongs to (stores and stock are shared inside an area).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCity name, optionally with region after a comma: 'Березовский, Свердловская'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare this as read-only, idempotent, and non-destructive. The description adds meaningful behavioral context by mentioning the one-week cache and by explaining the `delivery_area` semantics, which helps the agent interpret results correctly.

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 compact, front-loaded with the core lookup purpose, and every sentence earns its place. It avoids repetition of schema details and annotations while still providing useful workflow context.

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?

Given a single documented parameter, an output schema, and rich annotations, the description covers everything needed: caching behavior, output field semantics, and how the result should be used downstream. Nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the name parameter already has a clear example. The description adds value by clarifying that the returned id is meant to be used as `city` in other tools, which goes beyond the schema and helps the agent connect the tool to the broader workflow.

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 states a specific action ('Look up Citilink city ids by name') and identifies the resource (Citilink's own directory). It also orients the agent toward how the result is used, clearly differentiating this lookup from the non-city sibling tools.

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 explicitly tells the agent to use the returned id as the `city` parameter in other tools, which is strong usage guidance. It does not explicitly state when not to use the tool, but the sibling tools are clearly unrelated and no alternative city-resolution tool exists, so the guidance is sufficient.

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