Skip to main content
Glama

GreenLight - Plug-in Solar Law Registry

solar_law

Read-onlyIdempotent

Fetch 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. Entries marked pending are under review: unconfirmed against the enrolled bill text, so treat every field as unconfirmed and say so. A state not in the registry returns tracked:false, which says nothing about that state's law. Never legal advice; certification claims are only published after human confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesTwo-letter US state code, e.g. "UT" or "md" (case-insensitive).

TDQS

A4.5/5.0
Behavior5/5

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

The description adds significant behavioral detail beyond the read-only annotation: pending records are unconfirmed and should be treated as such, state absence returns tracked:false and is not a statement about the law, and certification claims are only published after human confirmation. The 'never legal advice' caveat also clarifies appropriate usage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but every clause carries essential information: what is returned, what pending status means, what absence means, and the legal-advice limitation. It is front-loaded with the primary purpose and then layers caveats logically.

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?

For a one-parameter read-only lookup with no output schema, the description fully specifies the return contents, edge-case behavior, verification-semantics, and human confirmation caveat. An agent has enough information to call the tool correctly and interpret results safely.

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?

The schema already documentes the state parameter completely (two-letter US state code, case-insensitive). The description adds behavioral context about registry absence but no new syntactic meaning for the parameter, so the baseline of 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 clearly identifies the verb and resource: it fetches a single state's full GreenLight registry record. It enumerates the specific fields returned, making its purpose concrete and distinct from sibling solar_states which likely lists states. The phrase 'one state's' bounds the scope and prevents overlap with the sibling.

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?

The description makes clear this is the per-state detail lookup tool and explains what happens for absent states. It does not explicitly mention solar_states as the alternative for enumerating states, but the scope is strong enough that an agent would correctly select it for single-state queries.

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.

TDQS

A4.7/5.0
Disambiguation5/5

solar_law returns a detailed record for a single named state, while solar_states lists all registry entries with summary information. The two tools have clearly distinct granularities and purposes, so an agent should not confuse them.

Naming Consistency5/5

Both tool names follow the same solar_ resource convention, with solar_law for one-state detail and solar_states for the full enumeration. The pattern is uniform and predictable, even though the names use nouns rather than verb_noun phrasing.

Tool Count4/5

Two tools is slightly lean by general standards, but for a read-only registry server a list operation and a detail lookup operation are a reasonable and complete pair. Each tool earns its place without redundancy.

Completeness5/5

For the stated domain—querying a state solar law registry—the list and detail operations cover the core workflow with no obvious dead ends. Users can discover all states via solar_states and then retrieve full records via solar_law.

Resources