Skip to main content
Glama

Kildeverk

Electricity by price area

electricity_price_areas
Read-onlyIdempotent

Electricity consumption and production in the five price areas (NO1-NO5) from Elhub: MWh per day and for the period, consumption by households, cabins and industry, production by hydro, wind, solar and thermal, and the balance; a Norway total with all five. Up to 31 days since 2021; default the last seven full days. Not prices.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "electricity_price_areas"
  }
}

Input Schema

NameRequiredDescriptionDefault
areasNoElectricity price areas; with all five, a total for Norway is added.
to_dateNoLast day, inclusive; at most 31 days from from_date.
from_dateNoFirst day, in Norwegian time, from 2021-01-01. Leave out both dates for the last seven full days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish that this is a safe, idempotent, non-destructive read, so the bar is lower, and the description still adds real context: the 31-day maximum window, the earliest allowed date (2021), the default seven-day lookback, and the behavior of appending a Norway total when all five areas are requested. It does not mention pagination, rate limits, or response shape, which are the remaining behavioral gaps.

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?

The critical scoping facts, the five areas and the source, are front-loaded, and the two follow-on sentences carry the time limits and default. The opening sentence is a long, comma-chained enumeration of breakdowns that is dense to parse but each element conveys genuine content.

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 must convey the return shape, and it does: MWh per day and for the period, plus category-level breakdowns and a balance figure. Combined with the date-window rules and default behavior, an agent has everything needed to call it correctly without guessing.

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 every parameter (areas, from_date, to_date) is already documented, including the enum values and the Norway-total behavior. The description largely restates those constraints rather than adding format or edge-case detail beyond the schema, 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 names the exact resource (electricity consumption and production by price area NO1-NO5, sourced from Elhub) and enumerates the breakdowns returned: households, cabins, industry, hydro, wind, solar, thermal, and balance. The closing 'Not prices' usefully guards against a misread of the tool name, but the description never contrasts price areas with the sibling electricity_grid_area, so differentiation is conceptual rather than explicit.

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?

'Up to 31 days since 2021; default the last seven full days' gives concrete conditions for calling it and states the no-argument default. The only exclusion is the terse 'Not prices,' which steers an agent away from price data without naming where prices should be fetched, so no alternative is routed to.

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.