Skip to main content
Glama
Danish Energy Regulation MCP

Danish Energy Regulation MCP

dk_energy_get_grid_code

Retrieves the full text of a specific Energinet grid code by its database ID, enabling lookup of Danish energy grid regulations from search results.

Instructions

Get a specific Energinet grid code document by its database ID. Returns full text.

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": {
      "document_id": "<document_id>"
    },
    "name": "dk_energy_get_grid_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYesGrid code document ID (from search results)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose the return payload ('Returns full text'), which matters given there is no output schema, but it says nothing about behavior for an invalid or missing ID, the potentially large size of 'full text', or any rate/permission constraints.

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?

Two short sentences, zero waste, and the resource and identifier requirement are front-loaded before the return-value note. Nothing could be trimmed without losing information.

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?

For a one-parameter lookup with no output schema, the description covers what the tool takes and what it gives back. It falls short only on edge behavior (unknown ID, oversized documents), which is a modest gap for a simple read tool.

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 the single document_id parameter is already documented, including 'from search results'. The description restates 'database ID' but adds no format, type constraints, or example values beyond the schema, so the 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?

States a specific verb and resource: 'Get a specific Energinet grid code document by its database ID.' The 'by its database ID' qualifier implicitly distinguishes it from the ID-less search sibling, but it never names the alternative outright, leaving the differentiation one inference short of a 5.

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 phrase 'by its database ID' implies this is a follow-up call made after obtaining an ID elsewhere, but there is no explicit when-to-use statement, no mention of dk_energy_search_grid_codes as the way to obtain an ID, and no exclusion guidance. Usage is implied rather than stated.

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