Skip to main content
Glama

Produktionsenheder (P-enheder)

produktionsenheder
Read-onlyIdempotent

Virksomhedens produktionsenheder (P-enheder, fx butikker, filialer og afdelinger): P-nummer, navn, adresse, branche, ansatte og start- og slutdato, aktive først. Brug det til "hvor har X afdelinger?" og "hvor mange butikker har X?". Adressen er skjult for virksomheder med adressebeskyttet indehaver (adresse_skjult: true). Eksempel: {"cvr": "10150817"}. Tæller 1 opslag.

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": {
      "cvr": "<cvr>"
    },
    "name": "produktionsenheder"
  }
}

Input Schema

NameRequiredDescriptionDefault
cvrYesCVR-nummer med 8 cifre, fx "10150817". Kender du kun navnet, så brug soeg_virksomhed først.
graenseNoHøjst så mange enheder (1-200, standard 25).
kun_aktiveNoKun enheder, der ikke er ophørt (standard true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, closed-world, non-destructive) the description adds real behavior: results are sorted active-first, addresses are masked when the owner is address-protected (adresse_skjult: true), and a call costs one lookup against a quota. It does not say what happens when the graense limit truncates results, so it stops short of full disclosure.

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?

One dense paragraph front-loads what the tool returns, then usage questions, then the caveat and an example call, with no filler. Every clause carries information (fields, sorting, masking, quota).

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?

With no output schema, the description carries the return-value burden itself and does so by listing the fields returned and the sort order. Combined with a complete parameter schema and strong annotations, an agent has everything needed to call this correctly.

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%, so cvr, graense and kun_aktive are already documented, including the tip to use soeg_virksomhed when only a name is known. The description adds only an example call and no extra meaning for the limit or active-filter parameters, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource precisely (produktionsenheder / P-numre) and enumerates the returned fields: P-nummer, navn, adresse, branche, ansatte, start- og slutdato. It is unambiguous what the tool returns, but it never contrasts itself with related siblings such as hent_virksomhed or ejendomme, so the agent must infer the boundary.

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?

Concrete usage questions are given in quotes ("hvor har X afdelinger?", "hvor mange butikker har X?"), which makes the triggering intent clear. No explicit when-not-to-use or named alternative appears in the description itself; the pointer to soeg_virksomhed lives only in the schema text for cvr.

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.

Resources