Skip to main content
Glama

GreenLight - Plug-in Solar Law Registry

Look up one state's plug-in solar law record

solar_law
Read-onlyIdempotent

Returns the full GreenLight registry record for one state's plug-in (balcony) solar law: legal status, the law's name and dates, key provisions as recorded (power cap, certification requirement, utility notice, renter/HOA treatment), citations with official-text URLs where the verification pass attached them, and verification status with dates. Input: state, a two-letter US state or DC code or a full state name. Entries marked pending are under review: they have not passed the field-by-field check against the enrolled bill text, so every field in them counts as unconfirmed, and the record's verification_note says so. A US state not in the registry returns tracked:false, which says nothing about that state's law; input that is not a US state or DC is an error. The record is not legal advice. No certification claim is published until an independent adversarial verification pass confirms it against the certifying source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesTwo-letter US state or DC code, e.g. "UT" or "md" (case-insensitive), or a full state name such as "Utah".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / state / description
      Previous value: -"Two-letter US state code, e.g. \"UT\" or \"md\" (case-insensitive)."New value: +"Two-letter US state or DC code, e.g. \"UT\" or \"md\" (case-insensitive), or a full state name such as \"Utah\"."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavioral context: pending entries are unverified field-by-field, their verification_note says so, and no certification claim is published until an adversarial verification pass. This is exactly the extra context annotations cannot supply.

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-loads the return content, then covers input, pending-entry caveats, and error behavior. Dense but nearly every sentence carries a distinct fact; the trailing legal-advice/certification sentences are slightly repetitive with earlier caveats but not wasteful.

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 full burden of describing the return shape and does so field-by-field (status, name/dates, provisions, citations, verification status), plus caveats for pending and untracked records. An agent has everything needed to call and interpret this tool.

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 the baseline is 3. The description adds value beyond the schema by specifying the failure semantics for non-US-state input and the output implication for unregistered states, giving the agent meaning the schema alone does not convey.

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 verb and resource ('Returns the full GreenLight registry record for one state's plug-in solar law') and enumerates the record's contents. It is clearly distinguishable from the sibling solar_states, which the description's singular-state framing implicitly contrasts.

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?

Gives clear usage context: one state lookup via code or full name, plus edge cases — a state absent from the registry returns tracked:false and non-US input is an error. It never explicitly names solar_states as the alternative for enumerating states, so routing is left partly to inference.

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