Skip to main content
Glama
UK carbon intensity grid MCP

UK carbon intensity grid MCP

Get UK carbon intensity by postcode

get_intensity_by_postcode
Read-onlyIdempotent

Look up regional grid carbon intensity and fuel generation mix using a UK outward postcode to assess electricity carbon impact by area.

Instructions

Look up regional grid carbon intensity and fuel generation mix for a UK outward postcode (e.g. "SW1A", "EC2N", "M1", "EH1").

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": {
      "postcode": "<postcode>"
    },
    "name": "get_intensity_by_postcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
postcodeYesUK outward postcode (e.g. "SW1A", "EC2N", "M1", "EH1").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/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. Beyond that the description adds almost nothing: it does not say whether the returned intensity is a current reading or a forecast (critical given the sibling get_intensity_forecast_48h), no units, no data freshness or update cadence, and no behavior for unknown/invalid postcodes despite openWorldHint implying external data.

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 embedded example list duplicates the schema's own examples, so it is slightly redundant, but the sentence is otherwise tight and readable.

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?

For a simple one-parameter read tool with rich annotations, the description covers what the tool returns at a high level, which partly compensates for the absent output schema. It is still missing two things an agent needs: whether results are current or forecast values, and the units or shape of the returned mix.

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% and the single parameter is documented with examples in the schema itself. The description merely repeats the same example list ('SW1A', 'EC2N', 'M1', 'EH1'), adding no new meaning such as accepted length, case sensitivity, or validation behavior. Baseline 3 applies when the schema already does the work.

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 and resource: 'Look up regional grid carbon intensity and fuel generation mix' scoped to a UK outward postcode. That is clear enough to distinguish it from get_generation_mix and get_regional_intensity in broad shape, but the description never actually says how it differs from those two siblings, which overlap heavily in subject matter.

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?

Usage is only implied: an agent can infer it should call this when it has a UK outward postcode. There is no when-not guidance, no mention of the sibling tools that also return intensity or generation mix, and no indication of when a postcode-based lookup is preferable to a region- or generation-level one.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.