Skip to main content
Glama

Get Pharmacies and Schools Run by Company

get_company_facilities
Read-onlyIdempotent

Get pharmacies (Polish Pharmacy Register) and schools, kindergartens and other educational institutions (RSPO) run by the company — name, type, town, address, operating status, opening date, number of students. Identify company by name, KRS, or NIP.

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

Input Schema

NameRequiredDescriptionDefault
krsNoKRS registry number.
nipNoNIP tax number (preferred).
nameNoCompany name when KRS/NIP is unknown.
limitNoMax facilities (default 100, max 300).
active_onlyNoOnly currently operating facilities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds that results are merged from two separate registers, but it omits behavior an agent would want: what happens when all identifiers are omitted (they are all optional), and how the 100/300 limit truncation surfaces.

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?

One dense sentence, front-loaded with the resources and registers, then the returned fields, then the identifier options. No filler, though the comma-heavy field list is slightly hard to parse at a glance.

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 no output schema, the description steps in by listing returned attributes (name, type, town, address, operating status, opening date, student count), which is exactly the needed compensation. It falls short only on the all-optional-identifier edge case and on how the two register result sets are combined or distinguished.

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 krs, nip, name, limit and active_only are already documented, including the default/max on limit and the NIP preference. The description restates the three identifier options without adding precedence or format guidance, so it neither adds nor detracts much beyond the schema.

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?

Names a specific verb plus two concrete resources (pharmacies from the Polish Pharmacy Register, schools/kindergartens from RSPO) and enumerates the returned fields. This clearly separates it from generic siblings like get_company, and it states the three identifier inputs, so an agent can tell exactly what it retrieves.

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

Usage Guidelines3/5

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

The description explains HOW to identify the company (name, KRS, NIP) but never says WHEN to pick this tool over alternatives or when the facility-registry data is not the right source. Usage is only implied by the dataset description; there are no exclusions or siblings named.

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.