Skip to main content
Glama

Kildeverk

Grid loss and consumption in a grid area (Elhub)

electricity_grid_area
Read-onlyIdempotent

One electricity grid area (nettområde, e.g. EIDSIVA-D, BKK) from Elhub, over up to 31 days (default the last seven): grid loss in MWh and as a share of net infeed (nettap), and consumption by group (household, cabin, primary, secondary, tertiary) with shares, and its price area.

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": {
      "grid_area": "<grid_area>"
    },
    "name": "electricity_grid_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_dateNoDefault: yesterday. Up to 31 days.
from_dateNoDefault: seven days ago.
grid_areaYesThe grid area's name as Elhub gives it, e.g. 'EIDSIVA-D', 'BKK', or part of it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds context on the data source (Elhub) and the hard 31-day retrieval window, which is a genuine behavioral constraint. It does not say what happens when the grid_area string matches multiple areas, which is the main behavioral risk here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is information-dense and front-loads the resource, but it is a run-on clause chain with stacked parentheticals (Norwegian terms, the consumption group list) that makes it harder to scan than a two- or three-sentence structure would. No content is outright wasted, but the packaging is poor.

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?

With no output schema, the description usefully enumerates the return payload (loss, shares, group-level consumption, price area), which an agent needs in order to decide whether to call it. Combined with full annotation coverage and a fully documented schema, little is missing beyond ambiguity-matching behavior.

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 from_date, to_date and grid_area (including the 'or part of it' fuzzy-match hint and the EIDSIVA-D/BKK examples) are already fully documented. The description's mention of the 31-day range and default window restates what the schema already provides rather than adding new meaning. 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?

Names a specific resource (one electricity grid area from Elhub) and enumerates exactly what is returned: grid loss in MWh and as a share of net infeed, consumption by group with shares, and the price area. It implicitly distinguishes itself from siblings such as electricity_municipality and electricity_price_areas by scoping to a single grid area. It lacks an explicit verb, but the resource-and-contents framing is unambiguous.

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 default time window (last seven days) and the 31-day cap make usage conditions inferable, but there is no explicit statement of when to pick this tool over electricity_municipality or electricity_price_areas, and no prerequisites or exclusions are given. Guidance 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.