Skip to main content
Glama

Solar Power Genius

Work out rooftop solar payback

spg_solar_payback
Read-onlyIdempotent

Rooftop solar payback with the site calculator's math. Start from a state (fills in its 2025 rate, PVWatts output, and median price) and override anything with the user's own numbers.

Size the system either directly (system_kw) or from a monthly bill and the share of usage to cover. value_pct is what each kWh is worth on average as a share of the retail rate: 100 where exports earn retail, lower where they don't (for example 70 to 80 under net billing with good self-use). No federal credit is applied (25D ended after 2025); pass incentive_usd for any state or utility incentive.

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": "spg_solar_payback"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoState name or code, to fill in defaults
cover_pctNoShare of yearly usage to cover when sizing from the bill (default 100)
system_kwNoSystem size in kW DC
value_pctNoAverage value of each kWh as % of retail (default 100)
rate_centsNoPrice per kWh in cents
price_per_wNoInstalled price per watt, before incentives
incentive_usdNoUpfront incentives in USD (state credits, rebates)
rate_rise_pctNoYearly electricity price rise, % (default 0)
kwh_per_kw_yearNoYearly output per kW for the roof (PVWatts gives it)
monthly_bill_usdNoAverage monthly electric bill, to size the system

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark this read-only and idempotent, so the lower bar applies; the description still adds substantive modeling context — no federal credit is applied because 25D ended, state defaults supply the 2025 rate, PVWatts output and median price, and value_pct encodes export compensation. That is genuine behavioral information an agent cannot get from the annotations.

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?

It is front-loaded with the core purpose, then proceeds to defaults, sizing modes, and the value_pct convention in a logical order. Dense but nearly every clause carries modeling assumptions the agent needs; only the parenthetical about 25D could be trimmed.

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?

For a 10-parameter, all-optional modeling tool with no output schema, the definition covers the critical unknowns: default sourcing, the two sizing strategies, and the incentive/credit assumptions. It does not describe the shape of the returned payback figures, which would be the last piece an agent needs to interpret results.

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; the description earns above that by explaining value_pct with a concrete range (70-80 under net billing with good self-use), clarifying that state populates rate/PVWatts/median price, and noting incentive_usd covers state and utility incentives. Parameters like rate_rise_pct and price_per_w get no extra commentary, keeping it off a 5.

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 computation (rooftop solar payback) and immediately ties it to the 'site calculator's math', so an agent knows this is a financial-modeling tool rather than a data lookup. It does not explicitly contrast itself with siblings such as spg_state_solar, though 'Start from a state' hints at the relationship.

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 concrete operating guidance: begin with a state to inherit defaults, override with user numbers, and choose one of two sizing paths (system_kw vs monthly_bill_usd plus cover_pct). It stops short of saying when NOT to use this tool versus the sibling state/estimate tools.

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