Skip to main content
Glama

compare_prices

Compare current electricity spot prices across multiple zones in one call and get a ranked list cheapest first. Use when the user asks 'which country has the cheapest electricity right now?' or wants to compare prices across regions. Supports up to 10 zones. EU zones ranked in EUR, US zones in USD, AU zones in AUD, GB in GBP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zonesYesComma-separated bidding zone codes to compare, e.g. 'DE,FR,NO,SE,GB'. Max 10 zones.
currencyNoCurrency group to rank zones within. Zones in other currencies show native price with rank null.EUR

Schema Changelog

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

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses the ranking order (cheapest first), the zone limit, and the currency-group behavior (EU ranked in EUR, US in USD, AU in AUD, GB in GBP). It does not mention edge cases like unavailable zones or errors, but the covered behaviors are meaningful.

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?

Four concise sentences, each providing distinct information: functionality, usage trigger, zone limit, and currency behavior. No redundancy or filler.

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?

The tool has no output schema and no annotations, so the description provides the essential context: what it does, when to use, limits, and currency behavior. It could specify the return fields (e.g., price, rank, currency), but the core purpose is well covered.

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%, so the schema already documents both parameters. The description adds context about which currency group each region ranks in, but this is largely derivable from the currency enum. Overall, the description adds modest value beyond the schema.

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 clearly states the tool compares current electricity spot prices across multiple zones and returns a ranked list cheapest first. The verb 'compare' and the specific resource 'electricity spot prices' distinguish it from sibling tools like compare_carbon or get_current_price.

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?

It explicitly provides a user query trigger ('which country has the cheapest electricity right now?') and states it is for comparing across regions. It also mentions the 10-zone limit, but does not explicitly state when not to use it or name alternatives like get_current_price for single-zone queries.

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.2/5.0
Disambiguation4/5

Tools are mostly distinct with clear scopes; compare_* tools each target a different metric (carbon vs green vs price), and get_carbon_intensity vs get_global_carbon differ by temporal and geographic scope. Minor confusion possible between get_cheapest_window and get_optimal_schedule but descriptions clarify single vs multi-zone.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern using get_ or compare_, with no mixed conventions. Nouns are descriptive and predictable.

Tool Count5/5

15 tools is at the upper bound of the ideal range but each serves a distinct function for an energy API covering prices, carbon, scheduling, and market insights. No redundancy or bloat.

Completeness4/5

Covers price (current, day-ahead, history), carbon (current, global, comparative), green scores, scheduling optimization, weather, and market specifics. Missing historical carbon intensity for zones and renewable generation mix, but core workflows are supported.

Resources