Skip to main content
Glama

get_cities

Search the CDEK city directory by name, code, postal code, region, or country to support delivery cost calculations and order management.

Instructions

Получить список городов из справочника СДЭК

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoНазвание города для поиска
codeNoКод города СДЭК
pageNoНомер страницы
sizeNoКоличество на странице
postal_codeNoПочтовый индекс
region_codeNoКод региона
country_codesNoКоды стран через запятую (ISO 3166-1 alpha-2)RU

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and discloses almost nothing. It does not say that results are paginated, that filters combine, that all parameters are optional, or what shape the response takes. For a 7-parameter lookup with zero annotation coverage, this is a substantial gap.

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

Conciseness4/5

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

A single front-loaded sentence with zero filler, so nothing needs trimming. However, the brevity is under-specification rather than efficiency; there is no structure to guide an agent beyond the bare purpose.

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?

With seven optional filter parameters, no annotations, and no output schema, the definition should explain pagination behavior, how filters combine, and roughly what a city record contains. None of that is present, leaving the agent to discover the result shape and paging semantics empirically.

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 100%, so every parameter (city, code, page, size, postal_code, region_code, country_codes) is already documented in the schema, including the default page size of 100 and the default country of RU. The description adds no meaning beyond that, which is the expected baseline of 3.

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 names a specific verb and resource in one phrase ('get a list of cities') and identifies the data source (the CDEK reference directory), which is enough to tell it apart from get_regions and get_pickup_points. It stops short of explicitly naming those siblings, so a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says whether this is the lookup to run before create_order to resolve a city code, nor when get_regions should be used instead. The agent must infer the workflow entirely from the tool name and its sibling list.

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