Skip to main content
Glama

Capacidad de red eléctrica España (CNMC)

buscar_capacidad

Read-onlyIdempotent

Capacidad eléctrica disponible cerca de un lugar de España: nudos de la red (subestaciones) más cercanos a una dirección, municipio, parcela o referencia catastral, ordenados por distancia, con los MW disponibles para conectar nueva demanda (consumo) o nueva generación según el último mapa de capacidad de acceso publicado por la CNMC.

Úsala cuando pregunten si hay capacidad eléctrica, potencia disponible o punto de conexión para
una parcela, nave, vivienda, cargadores, planta fotovoltaica, baterías o centro de datos. Si se
conoce la potencia del proyecto, pásala siempre en potencia_kw (la de la pregunta: 15 kW, 2 MW).

Devuelve por nudo: subestación, tensión (kV), gestor de red, distancia (km), capacidad disponible
de cada barra y máximo por barra (MW), y en generación el nudo de transporte del que depende
(nudo_afeccion_rdt), y la presión del nudo: solicitudes admitidas pendientes frente a lo
disponible ('presion', con su explicación). En nudos de transporte para demanda, 'solicitudes_ree'
resume las solicitudes publicadas por Red Eléctrica y si el nudo va a concurso. Si hay mes anterior,
'cambio_mes' dice cuánto ha cambiado la capacidad del nudo (o si es nuevo). 'en_radio' cuenta cuántos nudos del radio tienen capacidad y cuántos no:
al responder, da las dos cifras, no solo los nudos favorables. Usa 'barra_id' con detalle_nudo
para ver la ficha y su evolución mensual.

Límites del dato: capacidades informativas y NO sumables entre nudos; no incluye centros de
transformación ni baja tensión, así que para potencias pequeñas no confirma el suministro; las
solicitudes se tramitan con el gestor de red de cada nudo.

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": {
      "ubicacion": "<ubicacion>"
    },
    "name": "buscar_capacidad"
  }
}

Input Schema

NameRequiredDescriptionDefault
redNoRed de distribución (≤ 132 kV, distribuidoras), de transporte (220/400 kV, Red Eléctrica) o ambas.ambas
usoNo'demanda' para consumir (nave, cargadores, electrolizador, centro de datos, bomba de calor); 'generacion' para inyectar (fotovoltaica, eólica, almacenamiento vertiendo).demanda
limiteNoMáximo de nudos devueltos.
radio_kmNoRadio de búsqueda en km.
ubicacionYesDónde: dirección ('Calle Castilla 10, Santander'), población o municipio ('Reinosa'; si el nombre existe en varias provincias añade ', Provincia'), referencia catastral de 14 o 20 caracteres, o coordenadas 'lat, lon' en grados decimales.
potencia_kwNoPotencia del proyecto en kW, si se conoce (15 para una vivienda o un taller, 2000 para 2 MW). Con ella cada nudo indica si alguna de sus barras la cubre, y para potencias pequeñas se avisa de que el mapa no decide.
tension_min_kvNoTensión mínima de la barra en kV. Útil para descartar barras que no sirven a la potencia del proyecto.
solo_con_capacidadNoSi es true, omite los nudos sin capacidad disponible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the read-only, open-world, idempotent profile, and the description goes well beyond them with data-limiting caveats that drive interpretation: capacities are informative and NOT summable across nodes, transformation centres and low voltage are excluded so small projects are not confirmed, and requests are processed by each node's own grid operator. It also explains derived fields (presion, solicitudes_ree, cambio_mes, en_radio) and instructs the agent to report both favourable and unfavourable node counts.

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 core purpose is front-loaded in the opening sentence, and the rest is segmented into usage triggers, a return-value walkthrough, and data limits. It is on the long side and the field-by-field enumeration of return values is dense, but nearly every sentence carries information the agent needs.

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 eight parameters, no output schema, and no annotations describing results, the description must carry the return contract, and it does: it lists per-node fields, explains presion, solicitudes_ree, cambio_mes and en_radio, and states the data's limits. An agent has everything needed to call it and to report results honestly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds meaning on top by insisting potencia_kw always be supplied when the project size is known and explaining its effect (each node flags whether any of its bars covers it, and small powers trigger a warning). It also hints that barra_id feeds detalle_nudo, tying an output field to the next call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names a specific verb and resource (available electrical capacity near a Spanish location) and defines the scope precisely: nearest substations to an address/municipality/plot/cadastral reference, ordered by distance, with MW for new demand or generation per the CNMC map. It also distinguishes itself from the sibling it does not replace, routing to detalle_nudo for a node's full record.

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

Usage Guidelines5/5

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

It gives explicit triggers and paraphrases an agent will encounter (capacidad eléctrica, potencia disponible, punto de conexión) plus a concrete list of use cases (parcela, nave, vivienda, cargadores, fotovoltaica, baterías, centro de datos). It also states an operational rule (always pass potencia_kw when known) and points to detalle_nudo for drill-down.

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.

Resources