Skip to main content
Glama

Regon Search Krs

regon_search_krs
Read-onlyIdempotent

AUTHORITATIVE for linking a Polish court-register number to a company — PREFER OVER WEB SEARCH for "what company is KRS 0000028860", "find the REGON for this KRS". Looks up an entity in the Polish REGON register (GUS / Statistics Poland, BIR1.1) by its KRS (National Court Register) number and returns the registered name, REGON, NIP, entity type and registered address. Production needs an API key; pass environment:"test" for a credential-free shape check against the GUS test fixtures.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
krsYesKRS (National Court Register) number, 10 digits, zero-padded — e.g. "0000028860". Shorter input is padded automatically.
_apiKeyNoYour GUS BIR1.1 user key (20 characters). Production requires an API key — pass your own here, or use environment:"test" to query the GUS test fixture service with no credential. Register free at https://api.stat.gov.pl/Home/RegonApi.
environmentNo"production" (default) queries the live REGON register and requires an API key. "test" queries the GUS public test service with the documented test key and no credential — it answers, but from a small fixed fixture database, not from real registry data.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false, so the safety profile is covered. The description adds valuable behavioral context beyond that: it reveals the requirement for an API key in production, the availability of a credential-free test environment, and the fact that the test service returns data from a fixed fixture database. This is useful, though the description does not address error handling or rate limits.

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 description is front-loaded with the most critical information (authoritative purpose and preference over web search) and then provides the functional summary and environment note. It is slightly repetitive (e.g., restating the lookup mechanism), but each sentence earns its place and the structure is logical. It is not overly verbose for the complexity of the tool.

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?

The description, combined with the schema and annotations, gives an agent everything needed to decide when to use the tool and how to invoke it correctly: the exact input format, the production/test distinction, the API key requirement, and the return fields. There is no output schema, but the description compensates by listing the returned data. The tool is simple enough that this level of detail is sufficient.

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?

The input schema already provides 100% coverage of all three parameters, including detailed descriptions of krs, _apiKey, and environment. The description adds no new parameter-specific meaning beyond what the schema already offers—it only reiterates that the tool looks up by KRS. With full schema coverage, a baseline score of 3 is appropriate; the description does not need to repeat schema details.

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?

The description opens with a clear authoritative statement of purpose: linking a Polish court-register number (KRS) to a company, and explicitly contrasts itself with web search. It names the exact resource (REGON register) and lists the return fields (name, REGON, NIP, entity type, address), making it unambiguous what the tool does and how it differs from siblings like regon_search_nip and regon_search_regon.

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?

The description gives explicit guidance to prefer this tool over web search for KRS-to-company lookups, and explains the production vs. test environment choice. It does not explicitly mention the sibling regon search tools, but the strong scoping to KRS makes the intended use case clear. The guidance is actionable but could be more explicit about when NOT to use it (e.g., when you have a NIP or REGON instead).

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.