Skip to main content
Glama

Spain Red Electrica REE Power Grid MCP

Get Spain real-time electricity prices

get_spain_realtime_electricity_prices
Read-onlyIdempotent

Fetch real-time Iberian electricity market prices (PVPC and spot market) in EUR/MWh from Red Electrica.

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_realtime_electricity_prices"
  }
}

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 yesterday.
time_truncNoPrice granularity: "hour" (default) or "day".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, open-world, and non-destructive behavior. The description adds useful source and unit context (Red Electrica, EUR/MWh, PVPC and spot market) but does not discuss time-range defaults, rate limits, or output format.

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?

The description is a single sentence, front-loaded with the core action and resource, with no redundant wording.

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 simple three-parameter read-only fetch tool with rich annotations and full schema coverage, the description gives sufficient identity and source context. It leaves some ambiguity about 'real-time' scope versus the date-range parameters and defaults, which are only partly resolved by the schema.

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 all three parameters documented, including defaults and the time_trunc enum. The description adds unit context but no parameter-specific semantics beyond what the schema already provides.

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 states a specific verb, 'Fetch', and a specific resource, 'real-time Iberian electricity market prices', including the market types (PVPC and spot market) and units. It does not explicitly differentiate this tool from sibling tools such as generation mix or demand evolution, but the resource is distinct.

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?

The description provides no explicit when-to-use guidance, no alternatives, and no conditions for choosing this tool. Usage is only implied by 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.