Skip to main content
Glama

PESEL/NIP/REGON Validator

Server Details

Validates Polish PESEL, NIP, and REGON checksums; PESEL also decodes birth date and sex.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.2/5 across 3 of 3 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool targets a distinct Polish identification number type (NIP, PESEL, REGON) with no functional overlap. The descriptions clearly differentiate their validation logic and outputs.

Naming Consistency5/5

All tool names follow a consistent pattern: the identifier type in lowercase plus '_validate'. This uniform verb_noun structure makes the tool purpose immediately clear.

Tool Count5/5

Three tools perfectly scope the server's purpose as a focused Polish ID validator. Each tool serves a distinct, well-defined function without redundancy.

Completeness5/5

The server covers all three primary Polish identification numbers (NIP, PESEL, REGON) that commonly require validation. There are no obvious missing identifiers for this specific domain.

Available Tools

3 tools
nip_validateAInspect

Validates the checksum of a 10-digit Polish tax identification number (NIP). Checksum uses weights 6 5 7 2 3 4 5 6 7 over the first 9 digits; sum mod 11 must equal the 10th digit. A sum mod 11 of 10 is itself invalid.

ParametersJSON Schema
NameRequiredDescriptionDefault
valueYesdigits-only identifier to validate (no spaces or dashes)

Output Schema

ParametersJSON Schema
NameRequiredDescription
validYes
reasonNo
Behavior4/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It fully reveals the checksum algorithm and input format constraints, but stops short of stating whether the tool throws exceptions or returns a boolean, which would be ideal for a validation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences, each earning its place: purpose, algorithm, and an edge-case. No superfluous words.

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?

Given the simple tool (1 parameter, no nested objects, single purpose) and the presence of an output schema (which would document return type), the description is complete and leaves minimal ambiguity for the agent.

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% with one well-described parameter. The description adds value by specifying 'digits-only' and 'no spaces or dashes' beyond the schema, but baseline is 3 per guidelines since schema already covers the parameter well.

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?

Uses specific verb 'validates' and resource '10-digit Polish tax identification number (NIP)', clearly distinguishing it from sibling tools like pesel_validate and regon_validate.

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?

Description explicitly covers when to use (validating a NIP), and sibling tools provide context for alternatives (PESEL, REGON). The algorithm details help the agent reason about correctness.

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

pesel_validateAInspect

Validates the checksum of an 11-digit Polish national identification number (PESEL). Checksum uses weights 1 3 7 9 1 3 7 9 1 3 over the first 10 digits; control digit is (10 - sum mod 10) mod 10. On success also decodes the date of birth and sex embedded in the number; a checksum-valid number with an impossible calendar date (e.g. Feb 30) is still reported invalid.

ParametersJSON Schema
NameRequiredDescriptionDefault
valueYesdigits-only identifier to validate (no spaces or dashes)

Output Schema

ParametersJSON Schema
NameRequiredDescription
sexNo
validYes
reasonNo
birthDateNo
Behavior4/5

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

No annotations exist, so the description carries the full burden. It discloses the checksum algorithm, date-of-birth and sex decoding on success, and the special invalid-date condition. However, it omits other behavioral aspects like what happens with incorrect length or non-digit inputs, or whether it checks real assignment.

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 relatively concise—one dense sentence covering purpose, algorithm, and outcomes. It could be improved by splitting into shorter sentences for readability, but it wastes no words and front-loads the core function.

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?

Given it has only one parameter and an output schema (implied by mention of decoded data), the description covers validation logic, success behavior, and an edge case (invalid date). It is missing details on input length validation and what errors are returned for malformed inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema parameter description states 'digits-only identifier'. The tool description enriches this by specifying the context (Polish national ID), required length (11 digits), and the exact validation logic, adding significant meaning beyond the schema.

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 explicitly names the resource (PESEL) and action (validates checksum), specifies it's an 11-digit Polish national ID, and details the algorithm. This clearly distinguishes from siblings (nip_validate, regon_validate) by function and context.

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

Usage Guidelines3/5

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

The description implies use for PESEL numbers, but provides no explicit guidance on when to use this tool versus the sibling tools for NIP or REGON. No when-not conditions or alternatives are mentioned.

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

regon_validateAInspect

Validates the checksum of a 9- or 14-digit Polish business registry number (REGON). 9-digit: weights 8 9 2 3 4 5 6 7 over the first 8 digits, sum mod 11 (10 mapped to 0) must equal the 9th digit. 14-digit: the first 9 digits must themselves be a valid 9-digit REGON, and weights 2 4 8 5 0 9 7 3 6 1 2 4 8 over the first 13 digits (sum mod 11, 10 mapped to 0) must equal the 14th digit.

ParametersJSON Schema
NameRequiredDescriptionDefault
valueYesdigits-only identifier to validate (no spaces or dashes)

Output Schema

ParametersJSON Schema
NameRequiredDescription
validYes
reasonNo
Behavior4/5

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

No annotations are provided, so the description must carry the full burden. It fully discloses the checksum algorithm for both 9- and 14-digit numbers, including weight sequences, modulo arithmetic, and how remainder 10 is handled. This is detailed, transparent, and gives the agent full understanding of the validation logic.

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 concise—two sentences—and front-loads the core purpose before detailing the algorithm. It could be slightly more efficient by omitting the algorithm details or moving them elsewhere, but for a validation tool, including the algorithm is justified and well-structured.

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?

Given that there is no output schema referenced (though context says 'Has output schema: true', no details are provided), the description adequately explains input validation logic. However, it does not mention what the output looks like (e.g., returns a boolean or error message), which would be helpful for completeness.

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% and there is only one parameter, already described as 'digits-only identifier to validate (no spaces or dashes)' in the schema. The description adds no extra semantic meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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 clearly states that it validates the checksum of a Polish business registry number (REGON). It specifies the exact digit lengths (9 or 14), unlike siblings nip_validate or pesel_validate, making it well differentiated.

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

Usage Guidelines3/5

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

The description explains what the tool does but offers no guidance on when to use it versus nip_validate or pesel_validate. For example, it could mention that this is for business entities, while PESEL is for individuals and NIP is for tax identification, but it does not.

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

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables real-time verification of Polish NIP (Tax Identification Numbers) using the official Ministry of Finance API. Also supports checking if a bank account belongs to a specific NIP.
    2
    13
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides clean, typed access to the Polish REGON business register (GUS BIR1), enabling AI assistants to look up companies by NIP, REGON, or KRS and retrieve structured data like name, address, and legal form.
    6
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides a Luhn check-digit validation tool for numeric strings such as credit cards, IMEI, and national IDs.
    10
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server that provides AI agents with Polish business data tools: identifier validation (NIP, PESEL, REGON, KRS, IBAN), VAT whitelist checks, EU VIES lookups, and NBP exchange rates.
    5
    15
    MIT

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources