Skip to main content
Glama

Cash-service.pl

Właściwy urząd skarbowy po adresie

urzad_skarbowy
Read-onlyIdempotent

Znajduje urząd skarbowy właściwy dla adresu w Polsce (miejscowość, opcjonalnie ulica i numer) albo dla kodu pocztowego, wg rozporządzenia MF o zasięgu urzędów. Zwraca nazwę, adres, telefon, e-mail, kod urzędu i rachunki. Przy miastach z kilkoma urzędami wymaga ulicy.

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

Input Schema

NameRequiredDescriptionDefault
nrNoNumer domu (gdy ulica jest podzielona między urzędy)
kodNoKod pocztowy 00-000 (alternatywa dla adresu)
ulicaNoUlica (w miastach z wieloma urzędami)
miejscowoscNoMiejscowość (np. Kraków)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent, and closed-world behavior, so the safety profile is covered. The description adds value beyond that by stating the authoritative data source (MF rozporządzenie) and by disclosing a real prerequisite constraint that inputs must satisfy (street required in multi-office cities). It does not say what happens on no-match or ambiguous input, which is the remaining behavioral gap.

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?

Three sentences, front-loaded with the purpose, then the return contents, then the one constraint that changes how the agent must call it. No filler or repetition of the title.

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 zero required parameters and no output schema, the description carries the burden well: it enumerates the returned fields (nazwa, adres, telefon, e-mail, kod urzędu, rachunki) and explains how to disambiguate. It falls short of full completeness only in not addressing the outcome when no office matches or when inputs are insufficient.

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 description coverage is 100%, so the baseline is 3; the description adds meaning by explaining that 'kod' is an alternative path to the whole address set and that 'ulica'/'nr' become mandatory in cities split among several offices. That conditional relationship between parameters is not derivable from the schema's per-field descriptions alone.

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+resource: 'Znajduje urząd skarbowy właściwy dla adresu w Polsce', and immediately names the two accepted lookup key types (address vs. postal code), so it is distinguishable from the postal-code sibling without opening the schema. It also states the legal basis (rozporządzenie MF), which pins the resource precisely.

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 clearly frames two input modes (address or postal code) and states a selection condition for the sub-case: 'Przy miastach z kilkoma urzędami wymaga ulicy.' What it lacks is any explicit routing against the sibling tools (e.g. kod_pocztowy, sad_wlasciwy) or a note on what to do when the address is ambiguous.

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