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.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "krs": "0000028860",
      "environment": "test"
    },
    "name": "regon_search_krs"
  }
}

Input 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. Changed3 schema fields changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Your 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."New value: +"Your 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."
    • changedInput schema / properties / environment / description
      Previous value: -"\"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."New value: +"\"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."
    • changedInput schema / properties / krs / description
      Previous value: -"KRS (National Court Register) number, 10 digits, zero-padded — e.g. \"0000028860\". Shorter input is padded automatically."New value: +"KRS (National Court Register) number, 10 digits, zero-padded, e.g. \"0000028860\". Shorter input is padded automatically."
  2. First observed

TDQS

A4.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 genuinely non-obvious behavior: production requires an API key, and environment:"test" answers from a small fixed fixture database rather than real registry data — a critical caveat an agent could otherwise misread as real results. It stops short of describing rate limits or error behavior.

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 with the authoritative/prefer-over-web-search directive, then the lookup semantics, then the credential caveat. Dense but every sentence carries information; the return-field list is slightly listy but useful given no output schema.

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 3-parameter read-only lookup with no output schema, the description covers purpose, routing, return fields, and the credential/test-fixture caveat. Nothing an agent needs to call it correctly 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 baseline is 3, but the description adds real meaning: it explains the production-vs-test tradeoff and that test mode is credential-free, which is the key decision an agent must make about the environment parameter. The krs padding behavior is left to the schema, which already documents it.

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 ('Looks up an entity in the Polish REGON register by its KRS number') and enumerates the returned fields. It also distinguishes itself from the NIP/REGON siblings by naming the KRS key explicitly, so an agent can route correctly without opening a schema.

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?

Explicitly says to PREFER this over web search and gives concrete example queries ('what company is KRS 0000028860', 'find the REGON for this KRS'). The when-to-use condition (you have a KRS number) is unambiguous, and the alternative (web search) is named.

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.