Skip to main content
Glama
Swedish Energy Regulation MCP

Swedish Energy Regulation MCP

se_energy_search_grid_codes

Search Svenska kraftnät grid codes, balancing rules, and ancillary service regulations by query and code type to find transmission, frequency regulation, and grid connection requirements.

Instructions

Search Svenska kraftnat grid codes, balancing rules, and ancillary service regulations. Covers electricity transmission grid rules, frequency regulation, and grid connection requirements.

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": {
      "query": "<query>"
    },
    "name": "se_energy_search_grid_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results (default 20, max 100).
queryYesSearch query (e.g., 'balansansvar', 'frekvens', 'natanslutning', 'systemdrift')
code_typeNoFilter by code type. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. It conveys that this is a topical retrieval operation over a defined corpus, which is useful, but says nothing about result ordering, pagination beyond the schema's limit, language handling (Swedish terms like 'balansansvar'), or whether results are snippets vs full texts. For a low-risk read tool this is acceptable but thin.

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 with no filler, and the primary resource is front-loaded. The second sentence largely restates the coverage of the first, adding topic detail but some redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter search tool with full schema coverage and no output schema, the definition is minimally adequate. It lacks the routing information an agent needs to choose between this, se_energy_get_grid_code, and se_energy_search_regulations, and gives no sense of result shape or corpus language.

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%: the query parameter carries examples, limit documents default 20/max 100, and code_type is a self-describing enum. The description adds no additional parameter 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.

Purpose4/5

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

The description opens with a specific verb and resource ('Search Svenska kraftnat grid codes') and enumerates the covered content types (balancing rules, ancillary service regulations, frequency regulation, grid connection requirements). This makes the tool's domain scope clear. It does not, however, distinguish itself from adjacent siblings such as se_energy_get_grid_code or se_energy_search_regulations, 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 Guidelines3/5

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

Usage is only implied by the verb 'Search'  no explicit statement of when to pick this over se_energy_get_grid_code (likely a single-document fetch) or the broader se_energy_search_regulations. The topic coverage list gives some indirect guidance about what queries belong here, but no exclusions or alternatives are named.

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