Skip to main content
Glama

Battery storage arbitrage margin for a day

energy_battery_energy_storage_bess
Read-only

Battery storage arbitrage margin for a day on the German-Luxembourg day-ahead market (EPEX SPOT DE-LU hourly prices): for a 1, 2 or 4 hour battery, the cheapest charging hours and the most expensive discharging hours, the daily price spread and the gross margin per MW of power after round-trip losses (default 88%). One full cycle per day, perfect foresight, no grid fees or degradation: an upper-bound screening number, not a trading result. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "energy_battery_energy_storage_bess"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDelivery day YYYY-MM-DD (default: latest auctioned day)
efficiencyNoRound-trip efficiency 0.5-1.0 (default 0.88)
durationHoursNoBattery duration in hours: 1, 2 or 4 (default 2)

Output Schema

NameRequiredDescriptionDefault
noteNo
marketNo
sourceNo
spreadNo
baseloadNo
currencyNo
checkedAtNo
chargeHoursNo
deliveryDayNo
durationHoursNo
avgChargePriceNo
dischargeHoursNo
avgDischargePriceNo
grossMarginPerMwDayNo
roundTripEfficiencyNo
chargeBeforeDischargeNo
grossMarginPerMwhStoredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses key assumptions (one full cycle per day, perfect foresight, no grid fees or degradation), default round-trip efficiency, and the screening-only limitation. It also adds important operational context: pricing is $0.002 per successful call via x402, and failed calls are not charged.

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 purpose is front-loaded and the caveat and pricing follow in a logical order. The first sentence is dense, but nearly all of its detail is substantive rather than filler.

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 and annotations, the description supplies the missing methodological context an agent needs: market scope, battery duration options, default efficiency, calculation assumptions, interpretation limit, and payment behavior. Nothing essential for correct selection or invocation 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%, so the schema already documents date, efficiency, and durationHours. The description reinforces the allowed durations and the default 88% efficiency, but it does not add substantial syntax or meaning beyond what the schema provides.

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 precise derived metric: battery storage arbitrage margin for a day on EPEX SPOT DE-LU for 1/2/4-hour batteries, including cheapest charging hours, most expensive discharging hours, daily spread, and gross margin per MW. This is clearly distinguishable from sibling tools that expose raw market prices or other energy datasets.

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?

It gives clear context for use as an upper-bound screening calculation and explicitly warns that it is not a trading result due to perfect foresight and omitted grid fees/degradation. It does not name a specific alternative tool to use instead when a trading-grade or raw-price analysis is needed, so it falls short of full when-to-use/when-not/alternatives guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources