Skip to main content
Glama

Cash-service.pl

Kody pocztowe

kod_pocztowy
Read-onlyIdempotent

Kod pocztowy dla adresu (miejscowość, ulica) albo miejscowości i ulice dla kodu pocztowego; dla miast - zakresy kodów. Używaj do pytań „jaki kod pocztowy ma ul. X w Y" i „jaka miejscowość ma kod 00-000".

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

Input Schema

NameRequiredDescriptionDefault
kodNoKod pocztowy 00-000 (tryb: co jest pod kodem)
gminaNoGmina (opcjonalnie, gdy nazwa miejscowości się powtarza)
limitNoMaks. liczba wyników (1–100)
ulicaNoNazwa ulicy bez numeru (opcjonalnie, zawęża wynik w dużych miastach)
miejscowoscNoMiejscowość (tryb: jaki kod)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world lookup, so the safety profile needs no restating. The description adds genuine behavioral context by disclosing that city queries return code ranges rather than a single code, but says nothing about result limits, empty-result behavior, or what happens when mode-defining parameters are combined.

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?

Two compact sentences separated by a semicolon, front-loading the two lookup directions before the example questions. Every clause carries information; nothing is redundant with the title or annotations.

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

Completeness3/5

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

For a five-parameter lookup with no output schema and no required parameters, the description covers the two primary modes well and defers parameter detail to a fully documented schema. The notable gap is the absence of any statement about what happens when no parameters are supplied, or how precedence works when both kod and miejscowosc are given.

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 coverage is 100% and the schema already labels the two modes ('tryb: co jest pod kodem' vs 'tryb: jaki kod'), so the description cannot add much beyond reinforcing the same distinction. It does not clarify how gmina or ulica interact with the mode selection, nor what an empty call (0 required parameters) returns.

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 states the tool's dual nature explicitly: postal code from an address (miejscowość, ulica) and streets from a postal code, plus code ranges for cities. That is a specific resource with clear modes, though it is phrased as a noun clause rather than a verb and does not explicitly contrast itself with any sibling.

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?

It gives concrete when-to-use guidance by quoting the two question shapes it serves ("jaki kod pocztowy ma ul. X w Y" and "jaka miejscowość ma kod 00-000"), which maps directly onto the two lookup directions. It stops short of stating exclusions or naming an alternative for cases this tool does not cover.

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