Skip to main content
Glama

Electricity Maps

Electricitymaps Carbon Forecast

electricitymaps_carbon_forecast
Read-onlyIdempotent

Carbon-intensity forecast for a zone, upcoming hourly gCO2/kWh predictions, useful for scheduling loads when the grid is cleanest. Requires a paid Electricity Maps plan. Pass a zone code (e.g. "US-CAL-CISO", "DE", "FR", "GB"). Example: electricitymaps_carbon_forecast({ zone: "GB", _apiKey: "your-key" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "zone": "GB",
      "_apiKey": "your-electricity-maps-api-key"
    },
    "name": "electricitymaps_carbon_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneYesGrid zone code, e.g. "US-CAL-CISO" (California ISO), "DE" (Germany), "FR" (France), "GB" (Great Britain). Alternatively pass lat + lon.
_apiKeyYesElectricity Maps API key (forecast requires a paid plan)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/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 still contributes beyond that by disclosing the paid-plan requirement, the forecast horizon ('upcoming hourly'), and the returned unit (gCO2/kWh). It does not say how far ahead the forecast extends or how failures appear on non-paid keys.

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 purpose, use case, prerequisite and parameter hint are front-loaded in three tight sentences. The example call duplicates the schema's own examples, which is mildly redundant but not costly.

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 simple two-parameter read tool with full annotation coverage and no output schema, the description supplies everything an agent needs: what it returns, the unit, the access requirement and valid zone formatting. Return-value detail is unnecessary since the output shape is described in prose.

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%, so both parameters are already documented, including the lat/lon alternative. The description adds only illustrative zone codes and a sample invocation, and notably omits the lat/lon alternative that the schema mentions.

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 uses a specific verb and resource ('Carbon-intensity forecast for a zone, upcoming hourly gCO2/kWh predictions') and names the unit of measure. It implicitly separates itself from the sibling electricitymaps_carbon_intensity by emphasizing forecasts rather than current values, though it never names that sibling explicitly.

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?

It gives a concrete use case ('scheduling loads when the grid is cleanest') and a hard prerequisite ('Requires a paid Electricity Maps plan'). It stops short of stating when-not to use it or pointing at the non-forecast sibling for current-intensity needs.

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.