Skip to main content
Glama

Sunderstand: plug-in solar laws, kits and savings

Is plug-in solar legal in a state?

is_plug_in_solar_legal_in_state
Read-onlyIdempotent

Answers, for one state: "Is plug-in solar legal in ?", "Can I plug a solar panel into a wall outlet in ?", "How many watts can I plug in?", "Do I need my landlord's permission?", "Do I need an electrician or utility approval?". Returns the state's law status in plain English, the bill and effective date, the size limit, the equipment rule, the renter rule and utility step where a law sets them, and what happens to power sent to the grid, with the government source, the date we last checked it, and the state's Sunderstand page to cite. Not legal or financial advice, and not advice to buy. Check the source before relying on any row.

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

Input Schema

NameRequiredDescriptionDefault
stateYesThe state the person asks about: two-letter code ("CA") or full name ("California"). Washington, DC is "DC".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, but the description goes further: it discloses the returned fields (law status, bill, effective date, size limit, equipment/renter rules, grid export), exposes data provenance and freshness (government source, last-checked date), and warns the user to verify the source before relying on a row. That provenance and staleness caveat is genuine behavioral context an agent cannot get from 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?

The lead clause 'Answers, for one state:' front-loads the core purpose, and the remainder enumerates supported questions and outputs. The five quoted question phrasings are somewhat padded and read as one long run-on, but nothing is off-topic or misleading.

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 compensates by enumerating return fields, noting that fields only appear 'where a law sets them', and flagging the source/date citation. It lacks any guidance on behavior for unknown or unmapped states and does not point to siblings for multi-state or comparison use, which keeps it short of full completeness.

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% and the single 'state' parameter is already fully documented there (two-letter code or full name, DC handling). The description adds nothing about the parameter itself, so the baseline 3 applies.

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 and resource (answers the plug-in solar legality question) and constrains scope to 'for one state', which implicitly but clearly separates it from the multi-state sibling plug_in_solar_laws_by_state. It also enumerates the concrete sub-questions it resolves (watts, landlord, electrician/utility approval), so an agent can match a user question to this tool without opening the schema.

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?

Usage context is clear: it lists the exact phrasings it handles (legality, wattage limits, landlord permission, electrician/utility approval) and adds a scope exclusion ('Not legal or financial advice, and not advice to buy'). It stops short of naming an alternative for multi-state or comparison needs, so no explicit when-not routing is given.

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