Skip to main content
Glama

Compare Market Periods

compare_market_periods
Read-onlyIdempotent

Compare pool-price and load statistics between two Alberta market periods to identify differences in averages, extremes, and medians.

Instructions

Compares aggregate pool-price and load statistics between two America/Edmonton market periods. Returns averages, min/max/median prices, load stats, and deltas. Does not assert causation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesCompare aggregate pool-price and load statistics across two periods.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metadataYesProvenance and semantic metadata attached to dataset responses.
period_aYesAggregate statistics for one market period.
period_bYesAggregate statistics for one market period.
warningsNo
load_avg_delta_mwNo
load_avg_pct_changeNo
price_avg_pct_changeNo
price_avg_delta_cad_per_mwhNo
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds a meaningful behavioral trait with 'Does not assert causation,' which is a caveat about interpretation. It also specifies the output scope (aggregate statistics) without contradicting annotations.

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?

Two sentences with zero redundancy. The purpose is front-loaded, followed by output specifics and a caveat. Every sentence earns its place without fluff.

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?

Given the output schema exists and annotations cover safety, the description is complete. It specifies the timezone (America/Edmonton), the output categories (averages, min/max/median, load stats, deltas), and the no-causation caveat. Nothing an agent needs to call it correctly is missing.

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% — the request object's description mirrors the tool's purpose. The description does not add parameter-specific semantics beyond what the schema provides (e.g., date-time formats, required fields). Baseline 3 is appropriate because the schema handles the documentation.

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 a specific verb ('compares'), resource ('aggregate pool-price and load statistics'), and scope ('two America/Edmonton market periods'). It clearly distinguishes itself from sibling tools like get_pool_prices or get_load, which are single-period queries, by focusing on comparison and deltas.

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?

The usage scenario is implied: it is for comparing two periods, as opposed to retrieving a single metric. However, the description does not explicitly state when to use this tool versus alternatives, nor does it list exclusions or prerequisites. No guidance is given about edge cases like overlapping periods or data availability.

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/bchoi-qwe/aeso-mcp'

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