Skip to main content
Glama

Poland New Companies API – KRS Registrations Feed

polish-new-companies-krs
Read-onlyIdempotent

Fetch new and changed Polish companies from the official KRS register, filtered by PKD, region, legal form and share capital, for lead lists and KYC/CRM monitoring.

Instructions

Returns new and changed Polish companies from the official KRS register of entrepreneurs (Krajowy Rejestr Sądowy, rejestr przedsiębiorców) via the Ministry of Justice KRS API: for each KRS number on the daily bulletin in the date window (empty dates mean yesterday, at most 31 days) one item with name, KRS, NIP, REGON, legal form, seat address, main and other PKD codes, share capital, registration and last-entry dates and eventType new or changed. Filter by events, PKD code prefixes, voivodeships, counties (powiat names, case-insensitive), legal forms and minimum share capital; company-level fields only, no personal data such as board members or shareholders. Use it for new-company lead lists, KYC and CRM monitoring; for healthcare providers use polish-healthcare-facilities-rpwdl. Read-only: it only queries the public source and never writes to the registry. Each call needs the APIFY_TOKEN env var and starts one paid run of the Apify Actor enterprising_hamster/polish-new-companies-krs on your Apify account, billed pay-per-event per delivered company plus any Apify platform usage; the server waits up to 300 s for the run and returns JSON {items, truncated} with at most maxItems (max 100) items and 256 KiB.

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": "polish-new-companies-krs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pkdNoMatch full PKD codes or prefixes (e.g. 93 matches 93.29.B). Empty = any activity.
dateToNoLast bulletin day (inclusive). Must be used together with dateFrom. At most 31 days in the range.
eventsNoNew = registration date in the window. Changed = appeared on the bulletin but registered earlier. Last-entry date does not reclassify.
countiesNoRegistered seat powiat must match one of these names, ignoring case. Empty = any county.
dateFromNoFirst bulletin day (YYYY-MM-DD, Europe/Warsaw). Empty with dateTo empty means yesterday. One day when only dateFrom is set.
maxItemsNoStop after this many companies are saved (default keeps Start runs cheap).
legalFormsNoExact forma prawna strings after trimming. Empty = any form.
voivodeshipsNoRegistered seat must be in one of these voivodeships. Empty = whole country.
minShareCapitalNoCompanies without share capital fail this filter when set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.6
    • addedInput schema / properties / counties
      Added value: +{
      +  "default": [],
      +  "description": "Registered seat powiat must match one of these names, ignoring case. Empty = any county.",
      +  "editor": "stringList",
      +  "title": "Counties",
      +  "type": "array"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent and open-world, and the description adds material context beyond them: a paid Apify Actor run billed per delivered company, the APIFY_TOKEN requirement, a 300 s server wait, the 31-day window cap, absence of personal data, and the {items, truncated} response envelope with a 256 KiB ceiling.

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?

Purpose, output fields, filtering, use cases, cost and response shape all appear, with the core identity front-loaded. The opening sentence is a long run-on with an embedded field list, which slightly slows scanning, but no sentence is filler.

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?

For a nine-parameter tool with no output schema, the description supplies the missing pieces an agent needs: the response envelope, item cap, truncation flag, date-window limits, cost/auth preconditions and the no-personal-data constraint. Nothing essential to a correct call is absent.

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 all nine parameters, their defaults and the PKD prefix matching rules are already documented in the schema. The description restates the filter set and the 'empty dates mean yesterday, at most 31 days' default, which is convenient but adds no syntax or edge-case detail 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?

States a specific verb and resource — returns new and changed Polish companies from the KRS register via the Ministry of Justice API — and enumerates the returned fields (name, KRS, NIP, REGON, legal form, seat, PKD codes, share capital, dates, eventType). That is far more specific than the title and clearly separates it from registry-lookup siblings.

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?

Gives concrete intended uses (new-company lead lists, KYC, CRM monitoring) and routes one adjacent case away explicitly: 'for healthcare providers use polish-healthcare-facilities-rpwdl'. It does not spell out when to prefer it over company-lookup or sole-proprietorship siblings, but the stated scope makes those distinctions largely inferable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.