Skip to main content
Glama

Ghg Emissions By Sector

ghg_emissions_by_sector
Read-onlyIdempotent

Total greenhouse-gas emissions by INDUSTRY SECTOR within a US state (EPA GHGRP), answers 'which sectors emit the most in '. Sectors: Power Plants, Refineries, Chemicals, Metals, Minerals, Pulp and Paper, Petroleum and Natural Gas Systems, Waste, etc. Returns each sector's total metric tons CO2e and facility count, ranked. State-scoped (pass a state); data lags ~1.5y so the latest full year (~2023) is auto-selected unless 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_emissions_by_sector"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoReporting year (default: latest available, ~2023).
stateYesUS state, 2-letter code ("TX") or full name ("Texas"). Required (state-scoped, not national).
sectorNoOptional, filter to one sector by name (e.g. "Power Plants", "Refineries", "Chemicals").

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / sector / description
      Previous value: -"Optional — filter to one sector by name (e.g. \"Power Plants\", \"Refineries\", \"Chemicals\")."New value: +"Optional, filter to one sector by name (e.g. \"Power Plants\", \"Refineries\", \"Chemicals\")."
    • changedInput schema / properties / state / description
      Previous value: -"US state — 2-letter code (\"TX\") or full name (\"Texas\"). Required (state-scoped, not national)."New value: +"US state, 2-letter code (\"TX\") or full name (\"Texas\"). Required (state-scoped, not national)."
  2. Changed3 schema fields changed
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "data_as_of": {
      +        "type": "string"
      +      },
      +      "facilities": {
      +        "description": "Complete facility records",
      +        "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"
      +      },
      +      "facility_count": {
      +        "description": "Total number of facilities returned",
      +        "type": "number"
      +      },
      +      "found": {
      +        "description": "Present and true on an answer; a miss is the found:false branch.",
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      },
      +      "sectors": {
      +        "description": "Emissions aggregated by industry sector",
      +        "items": {
      +          "properties": {
      +            "facility_count": {
      +              "description": "Number of facilities in this sector",
      +              "type": "number"
      +            },
      +            "sector": {
      +              "description": "Industry sector name",
      +              "type": "string"
      +            },
      +            "total_emissions_mt_co2e": {
      +              "description": "Aggregated emissions for sector in metric tons CO2e",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "sector",
      +            "facility_count",
      +            "total_emissions_mt_co2e"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "state": {
      +        "description": "State name searched",
      +        "type": "string"
      +      },
      +      "total_emissions_mt_co2e": {
      +        "type": "number"
      +      },
      +      "unit": {
      +        "type": "string"
      +      },
      +      "year": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "state",
      +      "facility_count",
      +      "sectors"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
      +    "properties": {
      +      "found": {
      +        "enum": [
      +          false
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "found"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "data_as_of": {
      -    "type": "string"
      -  },
      -  "facilities": {
      -    "description": "Complete facility records",
      -    "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"
      -  },
      -  "facility_count": {
      -    "description": "Total number of facilities returned",
      -    "type": "number"
      -  },
      -  "sectors": {
      -    "description": "Emissions aggregated by industry sector",
      -    "items": {
      -      "properties": {
      -        "facility_count": {
      -          "description": "Number of facilities in this sector",
      -          "type": "number"
      -        },
      -        "sector": {
      -          "description": "Industry sector name",
      -          "type": "string"
      -        },
      -        "total_emissions_mt_co2e": {
      -          "description": "Aggregated emissions for sector in metric tons CO2e",
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "sector",
      -        "facility_count",
      -        "total_emissions_mt_co2e"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "state": {
      -    "description": "State name searched",
      -    "type": "string"
      -  },
      -  "total_emissions_mt_co2e": {
      -    "type": "number"
      -  },
      -  "unit": {
      -    "type": "string"
      -  },
      -  "year": {
      -    "type": "number"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "state",
      -  "facility_count",
      -  "sectors"
      -]
  3. Changed5 schema fields changed
    • addedOutput schema / properties / data_as_of
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / total_emissions_mt_co2e
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / unit
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / year
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "state",
      -  "facility_count",
      -  "sectors",
      -  "facilities"
      -]New value: +[
      +  "state",
      +  "facility_count",
      +  "sectors"
      +]
  4. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "state": "Texas"
      -  },
      -  {
      -    "limit": 30,
      -    "sector": "Power Plants",
      -    "state": "California"
      -  }
      -]New value: +[
      +  {
      +    "state": "Texas"
      +  },
      +  {
      +    "sector": "Power Plants",
      +    "state": "California"
      +  }
      +]
  5. Changed4 schema fields changed
    • removedInput schema / properties / limit
      Removed value: -{
      -  "description": "Max results (default 20, max 100).",
      -  "type": "number"
      -}
    • changedInput schema / properties / sector / description
      Previous value: -"Industry type filter (e.g., \"Power Plants\", \"Petroleum and Natural Gas Systems\", \"Chemicals\")."New value: +"Optional — filter to one sector by name (e.g. \"Power Plants\", \"Refineries\", \"Chemicals\")."
    • changedInput schema / properties / state / description
      Previous value: -"Full state name (e.g., \"Texas\")."New value: +"US state — 2-letter code (\"TX\") or full name (\"Texas\"). Required (state-scoped, not national)."
    • addedInput schema / properties / year
      Added value: +{
      +  "description": "Reporting year (default: latest available, ~2023).",
      +  "type": "number"
      +}
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "facilities": {
      +      "description": "Complete facility records",
      +      "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"
      +    },
      +    "facility_count": {
      +      "description": "Total number of facilities returned",
      +      "type": "number"
      +    },
      +    "sectors": {
      +      "description": "Emissions aggregated by industry sector",
      +      "items": {
      +        "properties": {
      +          "facility_count": {
      +            "description": "Number of facilities in this sector",
      +            "type": "number"
      +          },
      +          "sector": {
      +            "description": "Industry sector name",
      +            "type": "string"
      +          },
      +          "total_emissions_mt_co2e": {
      +            "description": "Aggregated emissions for sector in metric tons CO2e",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "sector",
      +          "facility_count",
      +          "total_emissions_mt_co2e"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "state": {
      +      "description": "State name searched",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "state",
      +    "facility_count",
      +    "sectors",
      +    "facilities"
      +  ],
      +  "type": "object"
      +}
  7. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "state": "Texas"
      +  },
      +  {
      +    "limit": 30,
      +    "sector": "Power Plants",
      +    "state": "California"
      +  }
      +]
  8. First observed

TDQS

A3.9/5.0
Behavior3/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 genuinely useful behavior beyond that: the ~1.5-year data lag, the auto-selection of the latest full year (~2023), and the ranked nature of the result. It does not mention coverage limits (e.g., which facilities report to GHGRP) or rate/response-size characteristics.

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?

Purpose is front-loaded in the first clause, followed by sector enumeration, return shape, and scope/defaults in a logical order. Slight redundancy: 'State-scoped (pass a state)' restates the schema's Required/state-scoped note almost verbatim.

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 annotations covering safety and idempotency, a 100%-covered schema, and an output schema defining the return shape, the description fills the remaining gaps an agent needs: units (metric tons CO2e), ranking, temporal lag, and default year resolution. Nothing material for correct invocation is missing.

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 earns above that by enumerating the concrete sector values ('Power Plants, Refineries, Chemicals, Metals, Minerals, Pulp and Paper, Petroleum and Natural Gas Systems, Waste'), which the schema only hints at with two examples and no enum. It also justifies the year default (~2023) with the reporting lag, adding meaning beyond the schema's 'latest available'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Total greenhouse-gas emissions by INDUSTRY SECTOR within a US state'), names the data source (EPA GHGRP), and even quotes the question it answers ('which sectors emit the most in <state>'). It does not explicitly contrast itself with the sibling ghg_facility_emissions, so an agent must infer the sector-vs-facility distinction from the phrase 'each sector's total ... and facility count'.

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 clear triggering context via the embedded question it answers and an explicit scope constraint ('State-scoped (pass a state)'), plus the default year behavior so the agent knows it need not supply `year`. It offers no explicit when-not guidance or named alternative for facility-level or national 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.