Skip to main content
Glama
aivy-mcp

aivy-mcp

Official
by IVYEnergy

get_prices

Retrieve current and forecast Amber Electric import and feed-in prices for a site, with cheapest and dearest period summaries to support energy decisions.

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. resolution 30 (up to 24 h) or 5 (up to 4 h). Fails with 409 when no Amber account is linked to the site. Hosts that support cards render a price chart.

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
hoursNo
site_idYes
resolutionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries real weight and does it well: it discloses the 409 failure mode when no Amber account is linked, the resolution-to-horizon caps (30 → 24 h, 5 → 4 h), the GST-inclusive currency units, and a host-dependent UI side effect (card rendering). It stops short of stating auth requirements or whether the call is purely read-only, which is only implied by the 'get' prefix.

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?

Dense and front-loaded — the resource and payload lead, then constraints, then failure mode, then UI note. Every sentence carries information, though the trailing 'Hosts that support cards render a price chart' is the least load-bearing and could be trimmed without hurting selection.

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?

An output schema exists, so return-value detail is rightly omitted, and the description instead spends its budget on units, horizons, and the 409 condition — the things an agent cannot get from structured fields. The remaining gap is the meaning/source of site_id and an explicit bound on 'hours', which matter for correct invocation.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it partially does: 'resolution 30 (up to 24 h) or 5 (up to 4 h)' documents the accepted values and their constraint on the forecast horizon, which the schema exposes only as a bare integer with default 30. 'hours' is never explicitly named or bounded beyond that implication, and site_id's origin (presumably from list_sites) is left unstated.

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?

States a specific verb+resource ('Amber Electric prices for the site') and enumerates the returned content: current interval, forecast, import price and feed-in earn, plus cheapest/dearest summary. Units (c/kWh incl. GST) further pin it down and distinguish it from siblings like get_earnings and get_curve, which the description does not overlap with.

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 implied by 'current interval and the forecast' — an agent can infer this is the tool for live/forward price lookups — but there is no explicit when-to-use framing and no named alternative (e.g. get_curve for historical price series). The resolution limits hint at how to pick a time window but are not stated as selection guidance.

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