Skip to main content
Glama
Swedish Energy Regulation MCP

Swedish Energy Regulation MCP

se_energy_get_grid_code

Retrieve a specific Svenska kraftnät grid code document by its database ID and return the full text.

Instructions

Get a specific Svenska kraftnat 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": "se_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.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that the full document text is returned (implying potentially large payloads) and that lookup is by database key, but says nothing about missing-ID behavior, permissions, or response size limits.

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 short sentences, front-loaded with the verb and resource, with the return behavior stated last. No filler, though the phrase "by its database ID" is slightly redundant with the schema.

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 single-parameter read tool with no output schema and no annotations, the description covers what it does and what comes back (full text). Only error/permission behavior is unaddressed, which is a minor gap at this complexity level.

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 document_id field is already described as the grid code document ID from search results; the description only restates that the argument is a database ID, adding no format or sourcing detail beyond the schema.

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?

"Get a specific Svenska kraftnat grid code document by its database ID" names a concrete verb and resource, and the retrieval-by-ID framing distinguishes it from the sibling search tool without naming it explicitly.

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?

Usage is only implied: "by its database ID" plus the schema hint "from search results" suggests this is a follow-up to se_energy_search_grid_codes, but the description never states when to choose this over that search tool or what to do if the ID is unknown.

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