Skip to main content
Glama

Prawnet — Polish case law & legislation

Dane spółki z KRS

firma_krs
Read-onlyIdempotent

Firma po jednym z: numer KRS, NIP, numer VAT UE. Podmiot z KRS (Otwarte API KRS, odpis aktualny, bufor 24 h): nazwa, forma prawna, NIP, REGON, siedziba, kapitał, PKD, status wpisu (wpisany / wykreslony; postępowania osobno), link do odpisu. Osobne bloki ze źródłem i datą: vat (wykaz podatników VAT MF: status, daty, liczba rachunków na liście, requestId), vies (ważność numeru VAT UE). Bez osób fizycznych; dla działalności jednoosobowej tylko status VAT.

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

Input Schema

NameRequiredDescriptionDefault
krsNoNumer KRS (podaj dokładnie jedno z: krs, nip, vat_ue)
nipNoNIP, 10 cyfr
vat_ueNoNumer VAT UE z prefiksem kraju, np. PL5260251049, DE811128135

Output Schema

NameRequiredDescriptionDefault
statusNo
citationsNo
wersja_danychNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / krs / description
      Previous value: -"Numer KRS (podaj dokładnie jedno z: krs, nip, regon, vat_ue)"New value: +"Numer KRS (podaj dokładnie jedno z: krs, nip, vat_ue)"
    • removedInput schema / properties / regon
      Removed value: -{
      -  "description": "REGON, 9 lub 14 cyfr (wyszukiwanie wymaga klucza GUS po stronie serwera)",
      -  "type": "string"
      -}
  2. Changed4 schema fields changed
    • changedInput schema / properties / krs / description
      Previous value: -"Numer KRS"New value: +"Numer KRS (podaj dokładnie jedno z: krs, nip, regon, vat_ue)"
    • changedInput schema / properties / nip / description
      Previous value: -"NIP"New value: +"NIP, 10 cyfr"
    • addedInput schema / properties / regon
      Added value: +{
      +  "description": "REGON, 9 lub 14 cyfr (wyszukiwanie wymaga klucza GUS po stronie serwera)",
      +  "type": "string"
      +}
    • addedInput schema / properties / vat_ue
      Added value: +{
      +  "description": "Numer VAT UE z prefiksem kraju, np. PL5260251049, DE811128135",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, so the description rightly focuses on behavior the annotations cannot convey: the upstream source (Otwarte API KRS), a 24-hour cache buffer that affects data freshness, entry status semantics (active vs. struck off, with proceedings reported separately), and per-block source-and-date stamping for VAT/VIES data. Missing only failure/not-found behavior and any rate-limit context.

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?

Front-loaded and dense — identifiers first, returned fields second, source blocks third, exclusions last. The colon-and-parenthesis style is compact but occasionally cryptic (e.g. 'postępowania osobno', 'requestId'), costing a bit of readability without much waste.

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 an output schema present, the field enumeration is somewhat redundant, but the description supplies the pieces the schema cannot: data provenance, the 24h staleness window, the separation of registry status from pending proceedings, and the explicit scope limit excluding individuals. Complete enough for an agent to decide and call; only negative-path behavior is unaddressed.

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 coverage is 100%, and each parameter already documents format and the 'exactly one of' rule, so the schema does the heavy lifting. The description restates the exclusivity in its opening clause but adds no syntax or example beyond what the schema gives (the schema even supplies a concrete VAT UE example). Baseline 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (company data from the KRS registry) and the three accepted identifiers (KRS, NIP, VAT UE), then enumerates exactly what comes back (name, legal form, NIP, REGON, seat, capital, PKD, entry status, link to the filing). This is specific enough to distinguish it from the legal-analysis siblings, though the verb is implicit ('Firma po jednym z...') rather than stated directly.

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 makes clear the tool is keyed on exactly one of three identifiers, and it adds a real exclusion: no natural persons, and for sole proprietorships only VAT status is returned. What it does not do is name a sibling alternative or state the fallback when a lookup fails, so routing guidance is contextual rather than explicit.

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