Skip to main content
Glama

UK Energy Data (tariffs, price cap, EV charging)

Ofgem energy price cap

get_ofgem_price_cap

Use this when a user asks what the current UK energy price cap is, the default tariff unit rate or standing charge in their region, or how the cap compares between direct debit, standard credit and prepayment. Returns Ofgem's default tariff cap per region, fuel and payment method for the period in force today, or for a given date via period (the next quarter is usually on file as soon as Ofgem announces it; the response note lists every period held). Values are pence per kWh and pence per day including VAT, with the Ofgem source_url and verified_at. Not for individual supplier tariffs (use get_uk_energy_tariffs).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fuelNo
periodNoA date inside the cap period you want, YYYY-MM-DD. Default today.
regionNoGB electricity region: GSP group letter A to P (no I or O), or GB for the national average. Omit to get every region.
payment_methodNo
include_historyNoReturn all stored cap periods, not just the one in force.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does a good job: it states what is returned (cap per region, fuel, payment method), units (pence per kWh and pence per day including VAT), metadata (source_url and verified_at), and the period behavior including advance availability of the next quarter. It does not explicitly state 'read-only' or discuss rate limits, but 'Returns...' makes the read nature clear enough.

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?

The description is information-dense with no filler. Every sentence earns its place: the opening sentence defines the use case, the middle sentences specify output units and period behavior, and the final sentence excludes the wrong tool. It is slightly longer than minimal but all content is directly useful to an agent.

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 read-only data lookup with five optional parameters and no output schema, the description covers the input intent, the output format, the units, the temporal behavior, and the boundary against sibling tools. Nothing an agent needs to decide whether to call it or interpret its result is missing.

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 60%, and the description adds meaningful context beyond the schema: it explains the default period behavior, that the next quarter is usually on file, the unit semantics, and that values include VAT. It also clarifies what the three payment methods refer to and ties the return values to unit rates and standing charges. It does not add much for the region parameter beyond what the schema already states, but overall it compensates well for the coverage gap.

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?

The description names a specific verb ('Use this when...'), the resource ('Ofgem default tariff cap'), and the exact scope: current UK energy price cap, unit rate, standing charge, and payment method comparisons. It also distinguishes itself from individual supplier tariffs, so an agent can reliably separate it from get_uk_energy_tariffs.

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

Usage Guidelines5/5

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

It explicitly states when to use the tool ('when a user asks what the current UK energy price cap is, the default tariff unit rate or standing charge in their region...') and explicitly excludes the alternative use case ('Not for individual supplier tariffs') while naming the sibling tool to use instead (get_uk_energy_tariffs). This is strong routing guidance.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool maps to a distinct resource: Ofgem price cap, general domestic tariffs, EV-specific home tariffs, public charging prices, a charging-session cost comparison, and dataset freshness. The descriptions actively cross-reference the two pairs that could seem similar, so an agent should not misselect.

Naming Consistency5/5

All tool names follow a clear lower_snake_case verb_noun pattern, mostly get_<domain> with compare_ev_charging_cost as a purposeful exception for a distinct comparison action. There is no mixed casing or inconsistent verb style.

Tool Count5/5

Six tools is a well-scoped size for a UK energy data server. Each tool covers a meaningful slice of the domain and none are redundant or trivial.

Completeness5/5

The set covers the advertised domain end-to-end: Ofgem price cap, domestic energy tariffs, EV home tariffs, public charging prices, specific charging-session cost comparison, and data-freshness metadata. A user can obtain rates, calculate a session cost, and verify data currency without dead ends.