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.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 5,
      "sector": "Residential",
      "utility": "Pacific Gas & Electric Co"
    },
    "name": "urdb_search_rates"
  }
}

Input 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. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Your own free NREL API key. Optional — the shared DEMO_KEY works at a low rate limit. Get one at https://developer.nrel.gov/signup/"New value: +"Your own free NREL API key. Optional, the shared DEMO_KEY works at a low rate limit. Get one at https://developer.nrel.gov/signup/"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, open-world search. The description adds useful behavioral context by framing the source as authoritative, describing the returned tariff fields, and noting effective dates and current-status information, though it leaves rate-limit and paging behavior to the schema.

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 definition is front-loaded with its authoritative status and core purpose, and the second sentence makes the web-search preference explicit. It is efficient overall, though the first sentence is dense with many returned-field details.

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?

For an 11-parameter, no-required-parameter search tool with no output schema, the description adequately explains what is searched and what kinds of tariff data come back. The rich input schema carries parameter details, so the remaining gaps around pagination and edge cases are minor.

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%, so the schema already explains limit, detail, eia_id, offset, sector, API key, address, utility, coordinates, and approved_only. The description adds only a high-level summary of search modes and does not enrich individual parameter semantics beyond what the schema provides.

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 states a specific verb and resource: search the NREL Utility Rate Database for electricity rate schedules. It also defines scope through location, utility name, or EIA id, and names the key returned tariff fields, so an agent can distinguish this from web search and generic utility lookup tools.

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?

It gives clear use cases, such as asking what electricity costs from a utility or what residential plans are available at an address, and explicitly says to prefer this over web search. It does not explicitly route the agent toward or away from sibling tools like urdb_rate_detail, so it falls short of full when/when-not guidance.

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.