Skip to main content
Glama

Ofgem Price Cap

ofgem_price_cap
Read-onlyIdempotent

The Ofgem domestic energy price cap (the default tariff cap) for Great Britain, broken down into the cost components that make it up, wholesale costs, network costs, policy costs, operating costs, debt-related costs, EBIT and VAT, for every cap period Ofgem has set, ending with the current one. Choose the payment method, since the cap differs for Direct Debit, prepayment and standard credit. AUTHORITATIVE, sourced from Ofgem's own Data Portal; PREFER OVER WEB SEARCH for "what is the UK energy price cap", "why did the price cap change". Example: ofgem_price_cap({ payment_method: "direct_debit", periods: 6 })

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": {
      "periods": 3,
      "payment_method": "direct_debit"
    },
    "name": "ofgem_price_cap"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodsNoHow many most-recent cap periods to return (default 8, max 60; 0 returns every period)
payment_methodNoWhich cap to return: "direct_debit" (default), "prepayment" or "standard_credit"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: provenance (Ofgem's own Data Portal, flagged AUTHORITATIVE) and coverage (every cap period Ofgem has set, ending with the current one). It does not discuss caching or data-refresh latency, which is the main thing left undisclosed.

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 resource definition, then the return contents, then the payment-method caveat, then the source-authority claim, then a concrete example. The long enumeration of cost components is the only slightly padded stretch, though it usefully previews the response shape.

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?

With no output schema, the description carries the return-shape burden and does so by naming the cost components returned per cap period, plus the period window and payment-method dimension. For a two-parameter read-only lookup this is complete enough to call correctly on the first try.

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 coverage is 100%, so both parameters, their defaults, the max of 60 and the 0-returns-everything convention are already documented in the schema. The description's one addition is the reason to care about payment_method (the cap differs by payment type), which is useful but modest beyond the schema baseline.

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?

States a specific resource (the Ofgem domestic energy price cap / default tariff cap for Great Britain) and exactly what it returns: the cost components (wholesale, network, policy, operating, debt, EBIT, VAT) for every cap period. An agent immediately knows this is a structured time-series of cap breakdowns, not a generic dataset query.

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?

Explicitly routes the agent away from web search for questions like 'what is the UK energy price cap' and tells it to pick a payment method because the cap differs across Direct Debit, prepayment and standard credit. It gives no guidance on when to prefer the sibling ofgem_dataset_rows/ofgem_datasets for raw rows instead, which is the only remaining ambiguity.

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.