Skip to main content
Glama

energy_uk_carbon_forecast

Read-only

Cleanest time to run a job on the GB grid (48h carbon forecast) — Carbon-aware scheduling: give the job length in hours (0.5-12) and get the cleanest upcoming window in the next 48h of the Great Britain grid forecast (start, end, average gCO2/kWh), the start-now and worst windows, the % carbon saved by waiting, a recommendation, and the half-hourly forecast series. Optional postcode= (e.g. RG10) for a regional forecast, within= to limit the search horizon in hours (1-48). Times are UTC. Data: Carbon Intensity API by the National Energy System Operator, CC BY 4.0. Price: $0.004 USDC (Base, via x402).

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": {
      "hours": "<hours>"
    },
    "name": "energy_uk_carbon_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursYes3

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, yet the description adds real context: upstream data provenance (Carbon Intensity API / NESO, CC BY 4.0), pricing ($0.004 USDC via x402), and the timezone convention (UTC). It also enumerates the returned content (start/end/average gCO2/kWh, start-now and worst windows, percent saved, recommendation, half-hourly series), which matters because there is no output schema.

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?

Front-loaded with the core purpose, then layered with inputs, outputs, data provenance and price; every clause carries information. It is a single dense sentence-chunk, though, and the opening phrase duplicates the annotation title, adding a little redundancy.

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?

With no output schema, the description correctly explains what comes back, plus timezone, data source, license and cost — enough for an agent to call and interpret results. The remaining gap is the schema/description mismatch on the optional parameters and the string-typed 'hours' field, which a caller would need resolved.

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?

The description carries the real semantic load: 'hours' is constrained to 0.5-12, postcode takes a UK format (e.g. RG10), 'within' ranges 1-48 hours, and all times are UTC — none of which the schema communicates (its 'hours' description is literally '3' and typed as a string). It loses a point because it advertises optional 'postcode' and 'within' parameters that do not appear in the input schema, which could lead an agent to send arguments the tool rejects.

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?

Names a specific verb+resource+scope: 'Cleanest time to run a job on the GB grid (48h carbon forecast)'. The scheduling framing (find the cleanest upcoming window for a job of N hours) is clearly distinct from the intensity and history siblings implied by the naming, so an agent can route without opening the schema.

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

Usage Guidelines4/5

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

Gives concrete invocation context: supply job length in hours (0.5-12) and receive the cleanest window in the next 48h, optionally scoped by postcode or a shorter horizon. It does not explicitly name which sibling to use for a plain current-intensity lookup or a historical series, so the exclusions are implied rather than stated.

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