Skip to main content
Glama

Ampworth calculators

Solar PV self-consumption

solar_pv_self_consumption
Read-onlyIdempotent

Estimate what proportion of a domestic solar PV system's annual output is consumed in the house and what proportion is exported, using the lookup tables in MGD 003.

The tables are not a model. They come from half-hourly monitoring of real British households by Loughborough University, with battery behaviour modelled on top, so they carry the real shape of domestic demand: a peak before the sun is up, another after it has gone, and a quiet middle of the day.

Three things index them. The annual generation, which comes from the MIS 3002 output estimate. The household's annual consumption from a bill based on actual meter readings, which defaults to the British average of 3,500 kWh where it is unknown. And the weekday occupancy pattern, which is 'home_all_day', 'in_half_the_day' or 'out_all_day'; where the pattern is unknown MGD 003 says to use the middle one, and that is what an omitted value resolves to.

Battery capacity is the USABLE capacity, which is smaller than the figure printed on the battery. Supplying import and export prices adds a value in pounds to the result.

Note that self-consumption is not the same as independence from the grid, and the result reports both.

Method from MGD 003. These calculators follow the published MCS methods, for understanding a system and checking a quotation. Anything that gets installed still needs a design and a site survey from a certified installer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
occupancyNoWeekday occupancy pattern: 'home_all_day', 'in_half_the_day' or 'out_all_day'. Defaults to 'in_half_the_day', which is what MGD 003 says to use when the pattern is unknown.
batteryKwhNoUsable capacity of any battery in kWh, which is smaller than the headline capacity. Omit or use 0 for no battery.
exportPricePerKwhNoWhat the household is paid for a unit exported, in pounds. Optional.
importPricePerKwhNoWhat the household pays for a unit of grid electricity, in pounds. Optional; supplying it adds a value to the result.
annualGenerationKwhYesExpected annual AC output of the PV system in kWh, as produced by the MIS 3002 estimation method. Required.
annualConsumptionKwhNoThe household's annual electricity consumption in kWh, from a bill based on actual meter readings. Defaults to 3500, which MGD 003 uses where the figure is unknown.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesYes
methodYes
occupancyYes
batteryKwhYes
referencesYes
annualValueNoThe two added together.
exportedKwhYes
importedKwhYesUnits still bought from the grid over the year.
batteryGainKwhNoExtra units kept in the house each year because of the battery.
occupancyLabelYes
selfConsumedKwhYes
annualBillSavingNoValue of the units not bought, in pounds. Only present when an import price was given.
annualExportIncomeNoValue of the units exported, in pounds. Only present when an export price was given.
consumptionAssumedYesTrue when the 3500 kWh default stood in for a figure the caller did not give.
annualGenerationKwhYes
annualConsumptionKwhYes
withoutBatteryPercentYesWhat the same system would self-consume with no battery.
selfConsumptionPercentYesProportion of generation used in the home instead of exported.
gridIndependencePercentYesProportion of the household's own consumption met by the system instead of by the grid. Different from self-consumption, and usually smaller.

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?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial behavior beyond them: the provenance of the lookup tables (Loughborough half-hourly monitoring, modelled battery), the three indexing inputs, the documented defaults (3,500 kWh consumption, 'in_half_the_day' occupancy), the fact that supplying prices adds a pound value to the result, and that both self-consumption and grid independence are reported.

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 in the first sentence and the structure moves cleanly from what it does, to the data source, to the inputs, to caveats. It is a little long, with the monitoring-data flavor paragraph and the MCS/installer boilerplate doing less work than the parameter guidance, but nothing is confusing or misplaced.

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?

An output schema exists, so return values need not be described, and the description still tells the agent everything else it needs: defaults for omitted inputs, the units and meaning of battery capacity, the effect of supplying prices, and the distinction between the two reported metrics. For a six-parameter calculator this is complete.

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 100%, so the baseline is 3, but the prose adds genuine meaning: it explains why battery capacity must be usable (smaller than the headline figure), why generation should come from MIS 3002, and why consumption should come from a metered bill. It largely reinforces rather than extends the schema text, so it stops short of a 5.

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 opens with a specific verb and resource: estimating the proportion of a domestic PV system's annual output that is self-consumed versus exported. It even pre-empts a likely confusion by stating that self-consumption is not grid independence, which separates it from solar_pv_output (generation) and solar_pv_system_size (sizing) without needing to name them.

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 context is implied rather than stated: the closing lines say these calculators are 'for understanding a system and checking a quotation.' There is no explicit when-to-use versus solar_pv_output or solar_pv_shading, no stated prerequisites (e.g. run solar_pv_output first), and no exclusions. The agent must infer the routing.

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