Skip to main content
Glama

Ghg Facility Emissions

ghg_facility_emissions
Read-onlyIdempotent

The biggest greenhouse-gas-emitting facilities in a US state (EPA GHGRP), ranked by total CO2-equivalent emissions. Returns each facility's name, location, industry sector(s), and total metric tons CO2e. State-scoped (pass a state). Data lags ~1.5 years, latest full year is auto-selected (currently 2023) unless a year is given.

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": {
      "state": "Texas"
    },
    "name": "ghg_facility_emissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoReporting year (default: latest available, ~2023).
limitNoMax facilities to return, ranked by emissions (default 20, max 200).
stateYesUS state, 2-letter code ("TX", "CA") or full name ("Texas"). Required (this is state-scoped, not national).
facility_nameNoOptional, filter to facilities whose name contains this text.

Output Schema

NameRequiredDescriptionDefault
countYesNumber of facilities returned
stateYesState name searched
facilitiesYesArray of facility records with emissions data

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / facility_name / description
      Previous value: -"Optional — filter to facilities whose name contains this text."New value: +"Optional, filter to facilities whose name contains this text."
    • changedInput schema / properties / state / description
      Previous value: -"US state — 2-letter code (\"TX\", \"CA\") or full name (\"Texas\"). Required (this is state-scoped, not national)."New value: +"US state, 2-letter code (\"TX\", \"CA\") or full name (\"Texas\"). Required (this is state-scoped, not national)."
  2. Changed4 schema fields changed
    • changedInput schema / properties / facility_name / description
      Previous value: -"Facility name to search for (partial match using CONTAINING)."New value: +"Optional — filter to facilities whose name contains this text."
    • changedInput schema / properties / limit / description
      Previous value: -"Max results (default 20, max 100)."New value: +"Max facilities to return, ranked by emissions (default 20, max 200)."
    • changedInput schema / properties / state / description
      Previous value: -"Full state name (e.g., \"Texas\", \"California\")."New value: +"US state — 2-letter code (\"TX\", \"CA\") or full name (\"Texas\"). Required (this is state-scoped, not national)."
    • addedInput schema / properties / year
      Added value: +{
      +  "description": "Reporting year (default: latest available, ~2023).",
      +  "type": "number"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Number of facilities returned",
      +      "type": "number"
      +    },
      +    "facilities": {
      +      "description": "Array of facility records with emissions data",
      +      "items": {
      +        "properties": {
      +          "city": {
      +            "description": "City location",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "facility_id": {
      +            "description": "Facility identifier",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "industry_type": {
      +            "description": "Industry classification",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "latitude": {
      +            "description": "Geographic latitude",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "longitude": {
      +            "description": "Geographic longitude",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "description": "Facility name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "state": {
      +            "description": "State name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "total_ghg_emissions_mt_co2e": {
      +            "description": "Total GHG emissions in metric tons CO2 equivalent",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "year": {
      +            "description": "Reporting year",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "zip": {
      +            "description": "ZIP code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "state": {
      +      "description": "State name searched",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "count",
      +    "state",
      +    "facilities"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "state": "Texas"
      +  },
      +  {
      +    "facility_name": "Power Plant",
      +    "limit": 50,
      +    "state": "California"
      +  }
      +]
  5. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations: data freshness (~1.5 year lag), default year auto-selection with the current year, and that results are ranked by emissions.

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?

Three tight sentences, front-loaded with the return contents, then scope, then data lag. There is minor redundancy between 'State-scoped' and 'pass a state', but no filler.

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 an output schema and rich annotations, the description still provides the key context an agent needs: scope, default year behavior, ranking basis, and return fields. Nothing essential is missing for a read-only query 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%, so the baseline is 3. The description adds some meaning by reinforcing the state requirement and clarifying that the limit applies to facilities ranked by total CO2-equivalent emissions, and by noting the auto-selected year is currently 2023.

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 names a specific resource (greenhouse-gas-emitting facilities), metric (ranked by total CO2-equivalent emissions), source (EPA GHGRP), and scope (US state). It is clearly facility-level, which implicitly distinguishes it from the sibling ghg_emissions_by_sector.

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 explicitly states the tool is state-scoped and must be passed a state, and explains the data lag and auto-selected latest year. It does not name an alternative tool or state when not to use this one, so it stops 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.