Skip to main content
Glama

Poland Court & Business Gazette API – MSiG Announcements

polish-company-announcements-msig
Read-onlyIdempotent

Lists Polish Court and Business Gazette (MSiG) notices for companies and legal entities by date, kind, keyword, or KRS, covering bankruptcy, restructuring, liquidation, mergers, and creditor calls.

Instructions

Lists Monitor Sądowy i Gospodarczy (Polish Court and Business Gazette) notices about companies and other legal entities: bankruptcy, restructuring, liquidation, mergers, demergers, transformations, dissolutions and creditor calls, with KRS and court when the notice header has them. Notices about natural persons are never returned. Filter by lastDays (default 1 is today's issue), an inclusive dateFrom and dateTo, announcementKinds, keywords or KRS numbers. fullText is off by default; when on, the notice body can name liquidators, shareholders and other people, so leave it off unless there is a legal basis to store that text. Use it for gazette notices about a company; for newly registered companies use polish-new-companies-krs, and to look up a known NIP, REGON or KRS use polish-company-lookup-regon. Read-only: it only queries the public source and never writes to the registry; onlyNew merely keeps a stateKey memory in your own Apify account. Each call needs the APIFY_TOKEN env var and starts one paid run of the Apify Actor enterprising_hamster/polish-company-announcements-msig on your Apify account, billed pay-per-event per delivered announcement 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-company-announcements-msig"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToNoInclusive ISO date (YYYY-MM-DD). When set, lastDays is ignored.
onlyNewNoSkip ids stored under stateKey in the polish-msig-seen key-value store (50,000 ids per key).
dateFromNoInclusive ISO date (YYYY-MM-DD). When set, lastDays is ignored.
fullTextNoOff by default. When on, fullText is the notice body and can name liquidators, shareholders, and other people. Turn it on only when you have a legal basis to store that text. Notices about natural persons are never returned.
keywordsNoMatched against the entity name, the legal form, the chapter line, the subsection line, the kind, and KRS. The notice body is not searched.
lastDaysNoKeep issues whose cover date is on or after today minus N-1 days. Ignored when dateFrom or dateTo is set. Default 1 is today's issue only.
maxItemsNoStop pushing once this many legal-entity rows are saved.
stateKeyNoKey in the seen store when onlyNew is true. Use a unique name per alert task.
krsNumbersNoOptional. Keep notices whose header KRS matches (6-10 digits, padded to 10).
announcementKindsNoOptional. Keep only these kinds. Empty means every legal-entity notice.
maxRequestsPerSecondNoMinimum spacing between GetFiles and PDF download requests to the Ministry site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, and the description goes further: it explains that onlyNew merely keeps a stateKey memory in your own Apify account (rather than mutating the source), requires the APIFY_TOKEN env var, starts a paid pay-per-event Actor run, and blocks up to 300 s. It stops short of detailing failure/retry behavior or partial-run outcomes, so it is not exhaustive.

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 and resource come first, followed by filters, then privacy caveat, then sibling routing, then operational/auth/billing facts — a sensible front-loading. It is dense and slightly repetitive (fullText privacy appears in both description and schema), but nearly every sentence carries distinct information.

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 an 11-parameter, zero-required, no-output-schema tool, the description covers auth, cost, runtime ceiling, and the response envelope ({items, truncated}, maxItems cap, 256 KiB), so an agent knows both preconditions and result shape. Nothing material for correct invocation is missing.

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 coverage is 100%, so the baseline is 3; the description adds value by naming the filters, clarifying that lastDays default 1 means today's issue only, that dateFrom/dateTo are inclusive, and that fullText is off by default for a privacy reason and can surface named liquidators and shareholders. It does not restate enum values or the maxItems cap details beyond the 100 limit.

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 the specific verb ('Lists') and resource ('Monitor Sądowy i Gospodarczy notices about companies and other legal entities') and enumerates covered announcement kinds, plus an explicit scope exclusion ('Notices about natural persons are never returned'). It names two siblings and the conditions distinguishing them, so an agent can identify it without opening schemas.

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

Usage Guidelines5/5

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

Gives explicit routing: 'Use it for gazette notices about a company; for newly registered companies use polish-new-companies-krs, and to look up a known NIP, REGON or KRS use polish-company-lookup-regon.' It also states when-not guidance for fullText ('leave it off unless there is a legal basis to store that text').

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