Skip to main content
Glama

Urdb Search Rates

urdb_search_rates
Read-onlyIdempotent

AUTHORITATIVE for US electricity tariffs: search the NREL Utility Rate Database for electricity rate schedules by location, utility name or EIA utility id, and get each tariff's energy charges, demand charges, fixed monthly charge, sector, effective dates and whether it is still current. PREFER OVER WEB SEARCH for "what does electricity cost from " or "what residential rate plans are available at this address" — utility tariff sheets are otherwise scattered across PDFs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoRates to return, 1-100 (default 20)
detailNominimal (default) or full. `full` returns the complete rate structure per tariff and is large.
eia_idNoEIA utility id, e.g. 14328 for PG&E
offsetNoRow offset for paging
sectorNoResidential | Commercial | Industrial | Lighting
_apiKeyNoYour own free NREL API key. Optional — the shared DEMO_KEY works at a low rate limit. Get one at https://developer.nrel.gov/signup/
addressNoUS address or ZIP. Geocoded upstream; coverage is patchy, so fall back to `utility` if this returns nothing.
utilityNoExact utility name as filed with EIA, e.g. "Pacific Gas & Electric Co". Find one with urdb_utilities_for_location.
latitudeNoLatitude in WGS84 decimal degrees (use with longitude)
longitudeNoLongitude in WGS84 decimal degrees (use with latitude)
approved_onlyNoRestrict to URDB-approved rates. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real context beyond them: that this is the authoritative tariff source rather than scraped PDFs, and that results carry effective dates and a current/inactive flag, which matters for interpreting staleness. It stops short of stating rate-limit or freshness behavior in the description text.

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?

Two sentences, front-loaded with the authoritative-source claim, then the lookup axes, then the routing rule. The closing PDFs remark justifies the preference rule rather than padding it.

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 does the right thing by naming the returned tariff fields, and its sibling/fallback references cover discovery. What is left implicit is pagination/result-count behavior and the distinction from urdb_rate_detail for full structures, both of which live only in the schema.

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 every one of the 11 parameters is documented there with examples, defaults and fallback advice (address -> utility, DEMO_KEY rate limit), so the schema carries the load. The description only restates the search dimensions at a high level, adding no syntax or format detail beyond the schema; 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?

States a specific verb (search) and resource (NREL Utility Rate Database / electricity rate schedules) plus the three lookup axes (location, utility name, EIA id) and enumerates the fields returned per tariff. It is clearly distinguishable from sibling urdb_rate_detail (which the companion detail=full param covers) and urdb_utilities_for_location (which it references for name discovery).

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 an explicit routing rule — PREFER OVER WEB SEARCH — with two concrete example queries, which is strong when-to-use guidance. It does not, however, compare against its closest siblings (urdb_rate_detail, urdb_utilities_for_location), so the agent must infer that relationship from the schema's cross-reference.

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.