Skip to main content
Glama

Spain Red Electrica REE Power Grid MCP

Get Spain cross-border exchanges

get_spain_cross_border_exchanges
Read-onlyIdempotent

Fetch physical cross-border electricity exchanges across all Spanish interconnectors 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_cross_border_exchanges"
  }
}

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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds the data source (Red Electrica) and the all-interconnectors scope, but says nothing about units, flow direction (import vs export sign convention), or return shape.

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?

A single front-loaded sentence with no filler; the verb, resource and scope arrive immediately. It is perhaps too terse for the amount of implied behavior, but nothing is wasted.

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?

A simple read-only tool with full schema coverage and rich annotations, so most needs are met. However, with no output schema and no description of what a record looks like (units, direction of flow), the agent cannot fully anticipate the response.

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 each of the three parameters documented including defaults and the time_trunc enum, so the baseline of 3 applies. The description adds no syntax or format details beyond what the schema already states.

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?

States a specific verb (Fetch) and resource (physical cross-border electricity exchanges) with scope (all Spanish interconnectors) and source (Red Electrica). The resource is clearly distinct from the sibling tools' topics, 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?

No when-to-use guidance and no alternatives or exclusions are given; the agent must infer usage from the resource name alone. The temporal defaults are only documented in the schema, not in the description.

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.