Skip to main content
Glama

get_entity

Read-onlyIdempotent

Fetch a current KRS extract by KRS number to retrieve entity details, management, representation rules, PKD, status, and citation links for KYC/AML checks.

Instructions

Pobiera ODPIS AKTUALNY z Krajowego Rejestru Sadowego po numerze KRS. Zwraca pelne dane podmiotu: nazwa, forma prawna, NIP, REGON, adres, kapital zakladowy, reprezentacja (zarzad + sposob reprezentacji), prokurenci, glowny PKD, status (aktywny/likwidacja/upadlosc) + URL do wyszukiwarki KRS. Numer KRS uzupelnij zerami wiodacymi (lub podaj krotszy - zostanie wyrównany do 10 cyfr).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "krs": "<krs>"
    },
    "name": "get_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
krsYesNumer KRS (1-10 cyfr, np. '28860' -> automatyczne '0000028860').
rejestrNoRejestr: 'P' = przedsiebiorcow (domyslnie), 'S' = stowarzyszen/fundacji/SPZOZ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real context beyond that: this is the CURRENT extract (not a historical one), the exact field set returned, that status distinguishes active/liquidation/bankruptcy, and that a KRS search URL is appended. It does not mention auth needs, rate limits, or behavior when an entity is not found.

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 purpose is front-loaded in the first sentence, followed by the field list and the formatting note. The mid-sentence field enumeration is long but each item is informative; only minor redundancy between the description and schema on KRS padding.

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?

With no output schema, the description compensates by enumerating the return payload in detail (name, legal form, NIP, REGON, address, capital, representation, PKD, status, URL). Combined with the formatting rule and annotation-covered safety profile, an agent has enough to call it correctly.

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 the schema already documents both parameters, making 3 the baseline. The description restates the zero-padding rule for 'krs' and never mentions the 'rejestr' (P/S) parameter at all, so it adds little beyond the schema.

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?

States a specific verb and resource: retrieves the current extract ('ODPIS AKTUALNY') from the National Court Register by KRS number, and enumerates the returned fields. It does not differentiate itself from the sibling get_entity_full, and 'Zwraca pelne dane podmiotu' (returns full entity data) could blur the line with a tool whose name suggests a fuller variant.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus get_entity_full or get_board, and no exclusions or prerequisites are stated. The only usage-shaped content is the KRS number formatting rule, which is parameter advice rather than tool-selection guidance.

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

Deploy Server

Other Tools