Skip to main content
Glama

Get NFZ Waiting Lists (Terminy leczenia)

get_company_nfz_queues
Read-onlyIdempotent

Get NFZ (National Health Fund) waiting lists of a healthcare provider — every NFZ-funded service (specialist clinics, diagnostics such as MRI/CT, procedures, rehabilitation, hospital wards) it runs a waiting list for, per location: NFZ forecast waiting time for stable and urgent cases, people waiting, average wait, address, phone, whether children are seen and accessibility. Sorted by shortest wait. Optional filters: service (e.g. 'okulist', 'rezonans') and town. Data from the NFZ 'Terminy leczenia' API; the forecast is not a booking. Keyed by NIP. Identify company by name, KRS, or NIP.

Input Schema

NameRequiredDescriptionDefault
krsNoKRS registry number.
nipNoNIP tax number (preferred for NFZ).
nameNoCompany name when KRS/NIP is unknown.
townNoOptional filter: town or district, e.g. 'Poznań'.
limitNoMax rows (default 50, max 400).
serviceNoOptional filter: fragment of the service name, e.g. 'okulist', 'ortoped', 'rezonans'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the API source, the default sort by shortest wait, the caveat that forecasts are not bookings, and the keying by NIP. It does not mention rate limits or paging behavior beyond the limit parameter.

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 single dense paragraph puts the core purpose first, then the returned fields, then the filters and data source. It is appropriately sized for a tool with six parameters. The middle sentence that lists result attributes is long, but each item it lists is meaningful.

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?

There is no output schema, so the burden is on the description; this description fully covers it by listing the returned attributes (forecast for stable and urgent cases, people waiting, average wait, address, phone, pediatric accessibility). It also notes that the data is keyed by NIP and sorted by shortest wait, which leaves no material gap for correct invocation.

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 coverage sets the baseline at 3. The description still adds meaning: it explains the 'service' filter with example fragments and describes the town filter and the preference for NIP. It also explains how to identify the company when KRS or NIP is unknown, going beyond what the schema already provides.

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 gives a specific verb and resource ('Get NFZ waiting lists of a healthcare provider') and enumerates the covered service types and per-location data fields. It is clearly distinguishable from the sibling get_company_nfz_contracts, which covers contracts rather than waiting lists.

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 states the data source ('NFZ Terminy leczenia API'), which is useful for trust, and the warning that 'the forecast is not a booking' defines the intended use. It also says that a company can be identified by name, KRS, or NIP. However, it does not explicitly exclude any scenario or name a sibling tool as the alternative when waiting-list data is unavailable.

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.