Skip to main content
Glama

Calculate a GHG inventory (ISO 14064-1)

calculate_ghg_inventory
Read-onlyIdempotent

GHG inventory from activity data, reported by ISO 14064-1 category (1-6), GHG Protocol scope and gas: fuels (IPCC 2006 tier-1 defaults; litres, kg, t, GJ, MWh…; stationary or mobile), purchased electricity (give the official grid factor of the year — no default built in), refrigerant / SF6 recharges (GWP AR5 or AR6), and custom lines with your own factor (Scope 3 via scope3_category). Biogenic CO2 reported separately; optional uncertainty.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gwpNoGWP set (AR5 for Vietnam Decree 06 and EU CBAM; default AR5).
linesYesActivity data lines.
periodNoReporting period, e.g. 2026 or 2026-Q1.
organizationNo
number_formatNoOnly for quantities sent as strings: vi = "1.050,5" style (dot thousands), en = "1,050.5" style. Ambiguous strings without it are refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / lines / items / properties / quantity / description
      Previous value: -"Plain number in the given unit. Vietnamese writing uses a dot for thousands and a comma for decimals: \"1.050 lít\" = 1050, \"1.220 MWh\" = 1220, \"3,2 tấn\" = 3.2."New value: +"JSON number in the given unit. Convert Vietnamese writing first (dot = thousands, comma = decimals): \"1.050 lít\" -> 1050, \"1.220 MWh\" -> 1220, \"3,2 tấn\" -> 3.2. A string such as \"1.050\" is refused as ambiguous unless number_format is set."
    • changedInput schema / properties / lines / items / properties / use / description
      Previous value: -"Fuel use (CH4/N2O factors), default stationary."New value: +"Fuel use (CH4/N2O factors), default stationary. mobile = road vehicles; off_road = forklifts, construction / farm machinery (IPCC Table 3.3.1, diesel or gasoline)."
    • changedInput schema / properties / lines / items / properties / use / enum
      Previous value: -[
      -  "stationary",
      -  "mobile"
      -]New value: +[
      +  "stationary",
      +  "mobile",
      +  "off_road"
      +]
    • addedInput schema / properties / number_format
      Added value: +{
      +  "description": "Only for quantities sent as strings: vi = \"1.050,5\" style (dot thousands), en = \"1,050.5\" style. Ambiguous strings without it are refused.",
      +  "enum": [
      +    "vi",
      +    "en"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources