Skip to main content
Glama

Sunderstand: plug-in solar laws, kits and savings

Plug-in solar laws by state

plug_in_solar_laws_by_state
Read-onlyIdempotent

Answers: "Is plug-in balcony solar legal in my state?", "Which U.S. states have passed plug-in solar laws?", "Where is plug-in solar allowed?". Returns every U.S. state and DC with its plug-in solar law status (in force, signed, bill moving, none found), the bill and effective date where one exists, the state's Sunderstand page and the date we last checked the row against the state's official sources. Filter by status. For one state's full rules, call is_plug_in_solar_legal_in_state. Not legal or financial advice, and not advice to buy. Check the source before relying on any row.

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

Input Schema

NameRequiredDescriptionDefault
law_statusNoFilter by status: in_force (law in force), signed_not_yet (signed, not yet in effect), awaiting_governor, active_bill (a bill is moving), deferred, none_found, confirming, checking, territory, any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior. The description adds genuinely new behavioral context: each row carries the bill, effective date, the Sunderstand page, and the last-checked date, plus a freshness caveat that the source should be checked before relying on a row. It stops short of stating result count or ordering, which keeps it at 4 rather than 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?

Front-loaded with the questions it answers, then scope, then return fields, then the sibling alternative and disclaimers – a sensible order. It is slightly padded: the disclaimer sentence stacks 'not legal or financial advice' with 'not advice to buy', which could be one clause.

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?

With no output schema, the description carries the burden of explaining the return shape and does so (status, bill, effective date, page, last-checked date). For a single-parameter read-only lookup tool, nothing an agent needs in order to call it correctly 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 coverage is 100% and the enum description already defines every status value, so most of the description's filtering language repeats structured data. The one piece of added meaning is implicit: with no filter, the tool returns every state and DC. Useful but minor, so baseline 3.

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?

States a specific resource (every U.S. state and DC with its plug-in solar law status) and enumerates the exact questions it answers, which are the three questions an agent would be routing on. It explicitly names the sibling is_plug_in_solar_legal_in_state as the tool for one state's full rules, so the boundary is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both directions: use this for a national picture or status filtering, use is_plug_in_solar_legal_in_state for a single state's full rules. The status filter vocabulary is spelled out, so an agent knows how to narrow without opening the schema.

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