Skip to main content
Glama

compare_regions

Compare average and peak electricity demand across regions for a specified date range to identify which grid was busiest.

Instructions

Compare average and peak demand across regions over the same date range. Useful for questions like "which grid was busiest last summer?".

Args:
    start: Inclusive start date, 'YYYY-MM-DD'.
    end: Inclusive end date, 'YYYY-MM-DD'.
    regions: Optional subset of region codes. Defaults to all regions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYes
startYes
regionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description does not disclose behavioral traits such as data aggregation details, performance implications for many regions, or any side effects. Since no annotations are provided, the description carries the full burden but only provides basic usage info.

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?

The description is concise, with a clear purpose and example, followed by parameter details. The example is helpful, though the 'Args' section could be integrated more seamlessly.

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?

Given there is an output schema and sibling tools exist, the description adequately distinguishes the tool and explains inputs. It could be more complete by mentioning that the output includes both average and peak metrics, or by noting that region codes can be obtained via list_regions.

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?

The description explains the start and end parameters with date format and inclusiveness, and clarifies the optional regions parameter defaults to all. However, schema coverage is 0%, so the description compensates partially but does not specify accepted region codes or error handling for invalid inputs.

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 states it compares average and peak demand across regions over a date range, with a specific example of use, clearly distinguishing it from siblings like peak_demand or daily_demand.

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?

The description provides an example question to indicate when to use the tool, but does not explicitly state when not to use it or mention alternative tools for single-region queries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/visethchapman/energy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server