Skip to main content
Glama

Find an address for an out-of-region number

find_number_address
Read-onlyIdempotent

Find a premises address in the operator's registry - the first step of ordering a number at the customer's own premises address. Fastest path: send the whole address as query (for example "Nadrazni 100, 702 00 Ostrava") and the tool drives the cascade itself - it returns either ready-made codes + a recap for order_number_from_region, or just the level (obec/cobce/ulice/cp) where the address is genuinely ambiguous, with options to choose from. Without query, drive the cascade step by step: send psc and get municipalities, add obec and get municipality parts, then cobce -> street, then street -> house number. Once cp is chosen, recap returns a human-readable address and the codes are passed on to order_number_from_region. query and the step parameters do NOT combine in one call - after an ambiguous response, continue exactly per its message (step parameters, without query). Never assemble the address yourself - only codes returned by this tool are valid. Same data as GET /v1/numbers/address-options (response schema in /openapi.json).

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": "find_number_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpNoHouse number (cislo popisne) code, exactly as returned by this tool for the chosen street or municipality part. Once chosen, recap holds the final address for order_number_from_region.
pscNoCzech postal code (PSC), 5 digits, for example 11000 (a space after the third digit is accepted). The first step of the cascade when query is not used.
obecNoMunicipality (obec) code, exactly as returned by this tool's previous response for the given psc.
cobceNoMunicipality part (cast obce) code, exactly as returned by this tool for the given obec.
queryNoFull postal address in free text, for example "Nadrazni 100, 702 00 Ostrava". Drives the whole cascade in one call; do not combine with psc, obec, cobce, ulice or cp.
uliceNoStreet (ulice) code, exactly as returned by this tool for the given cobce. Omit if the municipality part has no named streets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false), but the description adds real behavioral context: the tool drives the cascade itself, returns either ready-made codes plus a recap or a partial level with options, and warns 'Never assemble the address yourself - only codes returned by this tool are valid'. It also points to the backing endpoint and /openapi.json for the response shape.

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?

The text is front-loaded with purpose and the fastest path, then the step-by-step path, then constraints, which is a sensible order. It is dense and mostly earns its space, though the single-paragraph run-on form and slight repetition about the cascade cost some readability.

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?

With six optional parameters and no output schema, the description carries the burden of explaining return values and does so: it describes both the complete and ambiguous response shapes, the recap, and how codes flow to the ordering tool. Nothing an agent needs to invoke it correctly 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 each parameter is already well documented, so the description is not required to compensate. It still adds value by explaining the cascade ordering of the parameters (psc -> obec -> cobce -> ulice -> cp) and the mutual exclusivity with query, which the schema only states per-field.

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 opens with a specific verb and resource ('Find a premises address in the operator's registry') and immediately positions the tool as 'the first step of ordering a number at the customer's own premises address', which separates it from order_number_from_region. An agent can identify the tool's role without inspecting the schema.

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

Usage Guidelines5/5

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

It spells out two explicit usage paths (whole-address query vs. step-by-step psc/obec/cobce/ulice/cp cascade), states the exclusion rule ('query and the step parameters do NOT combine in one call'), and prescribes what to do after an ambiguous response. It also names the downstream tool that consumes the result.

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.