Skip to main content
Glama

Spain Red Electrica REE Power Grid MCP

Get Spain power demand evolution

get_spain_power_demand_evolution
Read-onlyIdempotent

Fetch Spanish national electricity demand evolution in MWh from Red Electrica REData.

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": "get_spain_power_demand_evolution"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoEnd date (YYYY-MM-DD or YYYY-MM-DDTHH:MM). Defaults to yesterday.
start_dateNoStart date (YYYY-MM-DD or YYYY-MM-DDTHH:MM). Defaults to 5 days ago.
time_truncNoAggregation granularity (default "day").

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, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds the source system (REData) and the unit (MWh), but says nothing about pagination, response shape, upstream availability/rate limits, or that it depends on a live external API.

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?

A single front-loaded sentence with no filler; verb, scope, unit and data source all appear immediately and nothing is repeated from structured fields unnecessarily.

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?

All three parameters are fully documented and annotations carry the safety/idempotency profile, so little more is required. For a tool with no output schema, a brief hint about the returned time series would round it out, but the unit and source make it callable as-is.

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% with three well-documented parameters including an enum, so the baseline is 3. The description contributes one extra fact beyond the schema – the demand values are in MWh – but no detail on date-range semantics or granularity trade-offs.

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 pairs a specific verb ("Fetch") with a precise resource ("Spanish national electricity demand evolution in MWh") and names the upstream source (Red Electrica REData). That resource is distinct from the sibling tools (cross-border exchanges, generation mix, prices, renewable share), so an agent can route on the noun alone, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives among the sibling tools. Usage must be inferred entirely from the resource name.

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.