Skip to main content
Glama

Renewably

Flexibility events

get_flexibility_events
Read-onlyIdempotent

When the grid operator, NESO, is asking homes in a region to use less electricity (often the evening peak) or more (often in Scotland, when there's more wind than the grid can carry south), through its Demand Flexibility Service: live events from now to the end of tomorrow, usually announced the same morning. Households can sometimes get paid for taking part – but only if they've signed up to a scheme with their energy supplier or another provider (eg Octopus's Saving Sessions), and that provider is taking part in the event; it tells them and says what it pays. These are NESO's requests to such providers. Without a scheme, shifting use still helps the grid but isn't paid.

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": {
      "region": "<region>"
    },
    "name": "get_flexibility_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionYesAgile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / region / description
      Previous value: -"Agile region: a letter A-P or the slug from list_regions (eg `C` or `london`); list_regions lists well-known places in each."New value: +"Agile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`)."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered; the description adds genuinely non-obvious context beyond them: the time horizon (now to end of tomorrow), that events are usually announced the same morning, and that these are NESO's requests to providers rather than household-level instructions. It does not say what an empty result means (no event scheduled) or anything about caching/refresh, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core fact is buried in a long subordinate clause ('When the grid operator, NESO, is asking homes...'), and the payment caveat is restated twice ('only if they've signed up...' and 'Without a scheme, shifting use still helps the grid but isn't paid'). The detail about Scottish wind surpluses and Octopus's Saving Sessions is colorful but adds little to correct invocation, so the description is informative but not front-loaded or economical.

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 one-parameter read-only lookup with no output schema, the description supplies the necessary framing: data source, time window, announcement timing, and the eligibility caveat that determines whether an event implies payment. Only the shape of a returned event and the meaning of an empty response are left implicit.

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 region parameter is thoroughly documented in the schema (letter A-P, slug from list_regions, or a well-known place name). The description adds no additional meaning about the region argument, so the baseline of 3 applies.

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 names the concrete resource and its source: live Demand Flexibility Service events requested by NESO, covering the window from now to the end of tomorrow. It is clear what the tool returns, though it never states the operation as a verb (e.g. 'list/fetch') and does not differentiate itself from siblings like get_prices or plan_home.

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 implied by the domain framing: consult this when you want to know whether a grid flexibility event is currently scheduled or expected tomorrow. There is no explicit when-not guidance, no mention of how this relates to sibling tools such as get_prices or list_regions, and no instruction that a region must be resolved first (that only appears in the schema).

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