Skip to main content
Glama

Find a Nova Poshta city

np_find_city
Read-onlyIdempotent

Searches the Nova Poshta settlement directory by name and returns matching settlements with their city Ref, region, settlement type and number of Nova Poshta branches.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "np_find_city"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results
queryYesSettlement name, e.g. 'Київ', 'Біла Церква'
connection_idNoNova Poshta connection id from list_connections; default: the main one

Output Schema

NameRequiredDescriptionDefault
demoNo
itemsYes
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld behavior, so the safety profile is covered. The description adds genuine context beyond that: it identifies the target directory as Nova Poshta's settlement directory and discloses the shape of the result set, which helps an agent know what it is getting back.

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?

A single well-formed sentence with the scope constraint and return payload front-loaded; every clause carries information and there is no filler.

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?

With an output schema present, annotations covering safety, and full parameter documentation, the description need only establish what is searched and what is returned, which it does. Minor gaps remain around matching semantics (partial vs exact names) and result-count behavior, but nothing critical to correct invocation is missing.

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 query, limit and connection_id are already documented in the schema. The description only reinforces the 'by name' nature of the query and says nothing extra about limit behavior or how connection_id selects among multiple Nova Poshta connections, so baseline 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?

States a specific verb and resource — 'Searches the Nova Poshta settlement directory by name' — and lists exactly what comes back: city Ref, region, settlement type, branch count. It is clearly distinct from the sibling np_find_warehouse by resource type, though it never names that sibling explicitly.

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 explicit when-to-use or when-not-to-use guidance and no mention of related steps in the workflow (e.g., that the returned city Ref feeds np_find_warehouse or waybill creation). Usage is only inferable from the phrase 'searches the settlement directory by name'.

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.

Resources