Skip to main content
Glama

carbon_intensity

Read-onlyIdempotent

Current GB grid carbon intensity, nationally or for a postcode region, with generation mix. (cost: 1 credit)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "carbon_intensity"
  }
}

Input Schema

NameRequiredDescriptionDefault
postcodeNostring

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world behaviour, so the safety profile is covered. The description adds genuinely new facts beyond them: the cost is 1 credit and the response includes generation mix, which matters for budgeting calls and knowing what data comes back. It stops short of stating freshness/caching or rate limits.

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?

Two compact clauses with the resource first, scope second, return content third, and cost in parentheses. No filler and nothing is buried.

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?

For a single-optional-parameter read tool with full annotations and no output schema, the description covers what is returned (intensity figure plus generation mix) and the cost. Missing only edge-case behaviour, such as handling of malformed or non-GB postcodes.

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% and there is only one optional parameter, so the baseline would be 3. The phrase 'nationally or for a postcode region' adds meaning the bare schema does not: omitting postcode yields national data rather than an error, which materially changes how the agent calls it.

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 resource (GB grid carbon intensity), a temporal qualifier (current), and the two supported scopes (national or postcode region), plus the payload (generation mix). An agent knows exactly what it retrieves; no sibling tool covers this domain, so explicit differentiation isn't needed.

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?

'nationally or for a postcode region' implies the optional-postcode usage implicitly, but there is no explicit when-to-use/when-not guidance, no mention of alternatives (e.g. weather or postcode_lookup), and no statement of what happens on invalid postcodes.

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