Skip to main content
Glama

Emission Factors

compare_sites

Compare and rank 2-25 candidate US sites (ZIP codes) for a facility, data center or EV/flexible load on grid carbon and electricity cost in one call. Per site: eGRID CO2e kg/kWh (location-based), Green-e residual mix (market-based), carbon-free %, state retail $/kWh for the sector, and the cleanest daily window from the hourly grid profile. With annual_kwh, also annual tCO2e and annual cost. Returns ranks by carbon, cost and combined.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zipsYesCandidate 5-digit US ZIP codes
sectorNoRetail rate sector. Default COM (commercial); use IND for industrial/data-center loads.
durationNoLength of the cleanest daily window in hours (default 4)
annual_kwhNoOptional annual consumption in kWh (e.g. 87,600,000 for a 10 MW constant load) to get annual tCO2e and cost per site

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?

With no annotations, the description must carry the behavioral burden, and it does disclose a lot: the exact metrics computed, the methodology split (location-based eGRID vs market-based residual mix), input bounds (2-25 zips), and the conditional output branch triggered by annual_kwh. It does not disclose failure modes (invalid or non-US ZIPs), data vintage, or latency cost of pulling hourly grid profiles, which are notable gaps for a multi-site batch computation.

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?

Front-loaded with the verb, scope and cost/carbon target, then a compact per-site metric list, then the conditional branch and the returned ranks. Three dense sentences with no filler or repetition of the tool name.

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 and no annotations, this description successfully substitutes for the return documentation by enumerating per-site fields and the ranking outputs. It is nearly complete for the call itself; only error handling and data-recency behavior are left unstated.

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 documents zips, sector, duration and annual_kwh (including the 10 MW example and the COM/IND default). The description restates the same semantics ('for the sector', 'cleanest daily window', 'With annual_kwh...') without adding format, edge-case or default-behavior detail the schema lacks.

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+resource+scope: 'Compare and rank 2-25 candidate US sites (ZIP codes) on grid carbon and electricity cost in one call.' It also enumerates exactly what is produced per site (eGRID CO2e, Green-e residual mix, carbon-free %, retail $/kWh, cleanest window) and what ranks are returned, so it is readily distinguishable from point-lookup siblings like electricity_rate or hourly_intensity.

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?

Frames the use case clearly ('for a facility, data center or EV/flexible load') and the 'in one call' phrasing implicitly positions it against making repeated single-site sibling calls. It gives conditional guidance ('With annual_kwh, also annual tCO2e and annual cost'), but never explicitly names an alternative tool or states when NOT to use this bundling approach.

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.