Skip to main content
Glama

UK Carbon Intensity — Generation Mix

carbonintensity.energy.generation
Read-onlyIdempotent

Get the current UK national electricity generation mix by fuel source from the National Grid ESO. Returns the percentage contribution of each fuel type: biomass, coal, imports, gas, nuclear, other, hydro, solar, and wind. Data is updated every 30 minutes. Useful for understanding real-time renewable vs fossil fuel share, carbon-aware computing, and energy transition analysis. CC BY 4.0, no upstream cost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoReserved for future use. Omit for standard response.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark the call read-only, idempotent, and non-destructive, so the description only needs to add context; it does so by noting the 30-minute update cadence, the National Grid ESO source, and the percentage-format output. The licensing and cost note is also useful behavioral context. No statement contradicts the annotations.

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?

Four tightly scoped sentences cover action, output content, freshness, and use cases plus cost without filler. The fuel-type enumeration is long but earns its place by making the return value concrete.

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?

For a zero-required-parameter read-only tool with an output schema, the description provides all operational context: data source, geographic scope, update frequency, output semantics, and licensing/cost. An agent can decide whether this tool fits and call it correctly without further research.

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?

The only parameter, locale, is fully documented in the schema as reserved and to be omitted, so there is little for the description to add. The description focuses on output semantics rather than parameters, which is acceptable given 100% schema coverage and zero required parameters.

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?

Opens with a concrete action and object: get the current UK national electricity generation mix by fuel source. The explicit fuel-type list makes the output unmistakable, and 'generation mix' separates it from the current/forecast/regional carbon-intensity siblings.

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

Usage Guidelines3/5

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

The description gives intended use cases such as renewable vs fossil share, carbon-aware computing, and energy transition analysis, and the 'current national' scope implies a selection boundary. However, it does not explicitly name sibling tools or state when to prefer generation over current, forecast, or regional alternatives, so guidance is implied rather than explicit.

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.