Skip to main content
Glama
nordic-registry-mcp-server

nordic-registry-mcp-server

by olgasafonova

denmark_get_by_pnumber

Read-only

Retrieve the parent company for a Danish production unit by its 10-digit P-number, returning the owner's CVR number, name, address, and status.

Instructions

Get parent company for a production unit P-number. USE WHEN: you have a P-number and need the owning company. P-number is 10 digits (e.g., 1012345678), obtainable from denmark_get_production_units. Returns the parent company's CVR number, name, address, and status. FAILS WHEN: P-number not found.

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": {
      "p_number": "<p_number>"
    },
    "name": "denmark_get_by_pnumber"
  }
}

Input Schema

NameRequiredDescriptionDefault
p_numberYes10-digit Danish production unit number (P-number) whose parent company should be returned, e.g. 1012345678. Obtain one from denmark_get_production_units

Output Schema

NameRequiredDescriptionDefault
foundYes
companyNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.1
    • changedInput schema / properties / p_number / description
      Previous value: -"required"New value: +"10-digit Danish production unit number (P-number) whose parent company should be returned, e.g. 1012345678. Obtain one from denmark_get_production_units"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine value beyond that with the failure mode (P-number not found) and the fields returned, which an agent cannot infer from the hints alone.

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 purpose sentence followed by clearly delimited USE WHEN and FAILS WHEN clauses, with no filler. Slight redundancy with the schema's parameter description costs it a point.

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 one-parameter lookup with an output schema and read-only annotations, the definition covers purpose, prerequisites, failure behavior, and return contents. Nothing an agent needs to invoke it correctly is missing.

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% and the single parameter already documents the 10-digit format, the example, and the source tool. The description largely restates that same information rather than adding new meaning, so the baseline of 3 applies.

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?

Specific verb and resource: 'Get parent company for a production unit P-number.' It also distinguishes itself by naming denmark_get_production_units as the source of the P-number, so an agent can place it in the workflow without opening schemas.

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?

'USE WHEN: you have a P-number and need the owning company' gives an explicit triggering condition, and 'FAILS WHEN: P-number not found' sets the boundary. It also points at denmark_get_production_units as the way to obtain the input.

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