Skip to main content
Glama

Solar Power Genius

Solar facts for a US state

spg_state_solar
Read-onlyIdempotent

Everything Solar Power Genius has on rooftop and plug-in solar in one US state (or DC): the 2025 home electricity rate (EIA) against the US average, how exported power is credited (net metering or its replacement), plug-in (balcony) solar law, the median installed price (Berkeley Lab) and a typical 7.7 kW system's cost, expected output per kW month by month (PVWatts), best-case payback, open state incentives, closed programs, the contractor license lookup, and links to the state's pages.

Pass a name ("New Jersey"), a code ("NJ"), or a slug ("new-jersey").

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": {
      "state": "<state>"
    },
    "name": "spg_state_solar"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesState name, two-letter code, or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the upstream data sources and vintage (EIA 2025 rate, Berkeley Lab pricing, PVWatts production model), the fact that closed programs are included alongside open incentives, and that results include page links. It does not mention response size, staleness caveats, or failure behavior for an unrecognized state, which keeps it short of a 5.

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 input-format instruction is front-loaded in its own paragraph, which is good structure. The opening sentence is a very long enumerated list of a dozen artifacts, but each element carries real informational weight about the return payload, so it is dense rather than wasteful. Slightly heavy for a single-sentence payload spec.

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 no output schema, the description correctly takes on the job of describing what comes back, and does so in detail, so an agent can decide whether this single call suffices instead of chaining narrower tools. The only gap is unspecified behavior for an invalid or ambiguous state value, and no hint about response breadth despite the large payload.

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% for the single parameter, so baseline is 3, but the description goes further by giving concrete accepted forms with examples ('New Jersey', 'NJ', 'new-jersey') and explicitly confirming DC is in scope. That reduces trial-and-error input formatting beyond what the schema's 'string' declaration conveys.

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 names a specific verb+resource ('everything ... has on rooftop and plug-in solar in one US state') and enumerates the concrete payload: EIA electricity rate, net-metering/export credit rules, plug-in solar law, Berkeley Lab installed price, PVWatts monthly production, payback, incentives, closed programs, license lookup, and links. This clearly distinguishes it from siblings like spg_solar_payback and spg_rank_states, which cover a single derived metric or a multi-state comparison.

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 the breadth of the payload ('everything ... in one US state'), suggesting a broad state fact-sheet lookup rather than a targeted computation. However, it never states when to prefer this over spg_solar_payback or spg_rank_states, and gives no exclusions or prerequisites. An agent must infer the routing decision from the payload list alone.

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