Skip to main content
Glama

Analyze Supply Stack

analyze_supply_stack
Read-onlyIdempotent

Analyze a historical merit order hour to review price-sorted offer blocks, offered and dispatched MW, and the highest dispatched offer price. Understand supply stack composition for any past hour.

Instructions

Analyzes one historical Energy Merit Order hour: price-sorted offer blocks, offered and dispatched MW, and the highest dispatched offer price.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
blocksYes
metadataYesProvenance and semantic metadata attached to dataset responses.
warningsNo
offered_mwYes
hour_endingYes
report_dateYes
dispatched_mwYes
marginal_offer_cad_per_mwhNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds scope context (one historical hour and its key outputs) but no further behavioral traits such as data availability, error behavior, or edge cases. This is acceptable but not rich.

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?

The description is one concise sentence with no filler. It front-loads the core action and resource, then lists key outputs efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description, annotations, and output schema together provide a minimally viable picture for a read-only analysis tool. It clearly states what the tool does, but omits usage guidance and parameter-level detail, leaving some context for the agent to infer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description never names report_date, hour_ending, or limit. It only weakly implies a historical hour input, so it does not compensate for the schema gap enough to help an agent map the textual description to the required parameters.

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 uses a specific verb ('Analyzes') and identifies a clear resource: one historical Energy Merit Order hour, and it lists distinctive outputs such as price-sorted offer blocks and highest dispatched offer price. It does not explicitly contrast itself with sibling tools like get_energy_merit_order, so it lacks full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance about when to use this tool instead of nearby alternatives such as get_energy_merit_order or analyze_supply_surplus_events. It implies a focus on a single historical hour, but no exclusions or alternative conditions are provided.

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