Skip to main content
Glama

Regon Search Nip

regon_search_nip
Read-onlyIdempotent

AUTHORITATIVE for Polish company identity by tax number, PREFER OVER WEB SEARCH for "who is NIP 7740001454", "what company has this Polish tax id". Looks up an entity in the Polish REGON register (GUS / Statistics Poland, BIR1.1) by its NIP (tax identification number) and returns the registered name, REGON number, entity type (legal person / sole trader), voivodeship, county, municipality 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": {
      "nip": "7740001454",
      "environment": "test"
    },
    "name": "regon_search_nip"
  }
}

Input Schema

NameRequiredDescriptionDefault
nipYesPolish NIP (tax id), 10 digits; dashes are stripped, e.g. "7740001454" or "774-000-14-54".
_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. Changed2 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."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, and the description adds genuine context on top: production requires a 20-character GUS API key, and the test environment answers without credentials but from a small fixed fixture database rather than real registry data. That credential and data-fidelity disclosure is exactly what an agent needs before trusting the result.

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?

Two dense sentences that front-load authority and preferred-use before mechanics, with zero filler. The all-caps emphasis and packed clauses slightly reduce readability, but every sentence carries 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?

There is no output schema, and the description compensates by enumerating the returned fields. Combined with authentication requirements, test-vs-production behavior, and the input identifier form, an agent can call this correctly and interpret the response without further lookups.

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 earns an extra point by tying the environment parameter to the real decision (credential-free shape check vs live register) and noting NIP dash handling. It largely restates schema facts rather than adding new syntax detail, so it stops short of 5.

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 (GUS/BIR1.1) by its NIP and returns named fields (name, REGON number, entity type, voivodeship, address). The keying-by-NIP scope distinguishes it from register siblings that key on KRS or REGON numbers, and the sample user phrasings ("who is NIP 7740001454") make the intent unmistakable.

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?

Explicitly says to prefer this over generic web search for tax-ID identity questions, and explains when to use environment:"test" versus production based on credential availability. It does not name the sibling register lookups (regon_search_krs / regon_search_regon) to route between them, so disambiguation by identifier type is left implicit.

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.