Skip to main content
Glama

Amber prices

get_prices
Read-onlyIdempotent

Retrieve current and forecast Amber Electric import and feed-in prices for a site, with cheapest and dearest period summaries. Use it to plan energy use; fails when no Amber account is linked.

Instructions

Amber Electric prices for the site: the current interval and the forecast as import price and feed-in earn (c/kWh incl. GST), with a summary of cheapest/dearest periods. Fails with 409 when no Amber account is linked to the site.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site_id": "<site_id>"
    },
    "name": "get_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoHow far ahead the forecast runs, in hours: 1 to 24, at most 4 when resolution is 5.
site_idYesSite id from list_sites: vendor:station_id, e.g. sungrow:1445844.
resolutionNoInterval length in minutes: 30 or 5.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.11.5
    • addedInput schema / properties / hours / description
      Added value: +"How far ahead the forecast runs, in hours: 1 to 24, at most 4 when resolution is 5."
    • addedInput schema / properties / resolution / description
      Added value: +"Interval length in minutes: 30 or 5."
    • addedInput schema / properties / site_id / description
      Added value: +"Site id from list_sites: vendor:station_id, e.g. sungrow:1445844."
  2. First observedv0.9.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so safety is covered. The description adds genuine value beyond that: the unit and tax basis of the values (c/kWh incl. GST) and the concrete error behavior (409 when no Amber account is linked), which the agent cannot get from annotations or schema.

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 no filler: the first front-loads what is returned and in what units, the second carries the failure condition. Every clause earns its place.

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?

With an output schema present, return values need not be re-explained, and the description covers purpose, units, and the key failure condition. The only remaining gap is how the hours/resolution parameters interact with the returned forecast window, which is left to the schema.

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 hours, resolution and site_id are already fully documented there, including the 1-24 range and the 5-minute resolution constraint. The description adds only oblique meaning ('the forecast', 'current interval') without explaining how hours/resolution shape the result, so baseline 3 applies.

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 names a specific resource (Amber Electric prices for a site) and spells out the payload shape: current interval plus forecast, expressed as import price and feed-in earn in c/kWh incl. GST, with a cheapest/dearest summary. That is far more specific than the title alone, though it never explicitly distinguishes itself from siblings like get_earnings or get_curve.

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?

Usage is only implied by 'prices for the site' - there is no statement of when to prefer this over get_earnings or get_curve, and no explicit exclusions. The 409 precondition (no Amber account linked) is a useful operating constraint but is framed as a failure mode rather than guidance on choosing the tool.

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