Skip to main content
Glama

Generation Mix

generation_mix
Read-onlyIdempotent

The CURRENT ELECTRICITY GENERATION MIX BY FUEL for a European country, how much power is coming from solar, wind, nuclear, gas, coal, hydro, biomass right now, with each fuel's MW and percentage share. Answers "what is Germany's generation mix", "how much of France's electricity is nuclear", "Germany power generation by source", "what fuels are generating electricity in ". Accepts a country NAME ("Germany", "France") or 2-letter code. Also returns renewable vs fossil vs nuclear totals. Source: Fraunhofer ISE energy-charts, keyless.

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": {
      "country": "Germany"
    },
    "name": "generation_mix"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoOptional date YYYY-MM-DD for a historical mix (defaults to the latest available data).
countryYesCountry name ("Germany", "France", "Spain", "Poland") or 2-letter code ("de", "fr"). Use "eu" for the EU aggregate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "country": "Germany"
      +  },
      +  {
      +    "at": "2024-01-15",
      +    "country": "fr"
      +  }
      +]
  2. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds useful context beyond that: the data source (Fraunhofer ISE energy-charts, keyless) and that renewable/fossil/nuclear totals are included. It does not discuss rate limits, freshness lag, or failure modes for unsupported countries.

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-loads the core purpose in the first clause and keeps the source note at the end. The list of example queries is somewhat repetitive with the fuel enumeration, but each sentence still carries usable signal.

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?

No output schema exists, yet the description explains the return shape (per-fuel MW and percentage share, plus renewable/fossil/nuclear totals), the default-to-latest behavior, and the data source. That is sufficient for an agent to call and interpret the tool correctly.

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 are already documented in the schema, including the name-or-code format and the 'eu' aggregate. The description largely restates this ('Accepts a country NAME or 2-letter code') without adding syntax or edge-case detail, so baseline 3 applies.

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 verb and resource ('CURRENT ELECTRICITY GENERATION MIX BY FUEL') plus scope (European country, per-fuel MW and percentage share). It is clearly distinguishable from siblings like electricity_price, installed_power, and public_power, which cover different data.

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?

Provides concrete example questions ('what is Germany's generation mix', 'how much of France's electricity is nuclear') that map directly to invocation, and clarifies the current-vs-historical split via the optional `at` parameter. It does not explicitly name sibling alternatives or exclusions, so it stops short of a 5.

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.