Skip to main content
Glama

Freight CO2e emissions for a shipment: tonnes × distance ×

logistics_co2_freight_emission
Read-only

Freight CO2e emissions for a shipment: tonnes × distance (km) × the UK Government (DESNZ) 2025 greenhouse-gas conversion factor for the chosen mode — van, HGV, refrigerated HGV, air freight (with or without radiative forcing), rail, tankers or cargo ships by vessel type and size. Returns kg CO2e per matching factor. Uses DESNZ factors (aligned with the GHG Protocol), not the GLEC tool itself. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mode": "<mode>",
      "tonnes": "<tonnes>",
      "km": "<km>"
    },
    "name": "logistics_co2_freight_emission"
  }
}

Input Schema

NameRequiredDescriptionDefault
kmYesDistance in km, e.g. 18000 (required)
modeYesTransport mode: van, hgv, hgv-refrigerated, air, rail, sea-tanker, cargo-ship (required)
typeNoOptional words to pick the vehicle/vessel row, e.g. 'articulated average', 'container ship 8000+', 'long-haul with rf' (default: rows marked Average where published)
tonnesYesCargo weight in tonnes, e.g. 20 (required)

Output Schema

NameRequiredDescriptionDefault
kmNo
modeNo
countNo
sourceNo
tonnesNo
resultsNo
tonneKmNo
factorSetNo

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?

Annotations only declare readOnlyHint and openWorldHint, so the description carries most of the burden and does well: it discloses the factor vintage and provenance (DESNZ 2025, GHG Protocol-aligned, explicitly not GLEC) and the commercial terms ($0.002 per successful call, x402/USDC on Base, Solana and 10+ networks, failed calls not charged) — exactly the payment/auth context an agent needs before calling. It stops short of describing failure modes such as an unmatched mode/type row or what an invalid combination returns.

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?

Dense but front-loaded: the core computation and its inputs lead, followed by factor provenance and then pricing. Every clause carries information (mode coverage, GHG Protocol alignment, not-GLEC caveat, per-call price) with no filler or repetition of the 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?

For a read-only calculator with a full schema and an output schema, the description covers inputs, units, methodology and cost, so nothing essential is missing. The one gap is discoverability of the factor rows behind the optional `type` parameter — an agent cannot enumerate 'articulated average' or 'container ship 8000+' from the definition alone.

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 real meaning by expanding the mode list beyond the schema's shorthand (air 'with or without radiative forcing', ships 'by vessel type and size') and explaining that selection is against published DESNZ factor rows. It does not tell the agent how to discover valid `type` strings, which is the hardest parameter to fill correctly.

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 computation — tonnes × km × a named DESNZ 2025 conversion factor — plus the returned unit (kg CO2e), which is far more precise than a generic 'calculate emissions' phrasing. It also names the factor families covered (van, HGV, refrigerated HGV, air with/without radiative forcing, rail, tankers, cargo ships), making it clearly distinct from adjacent logistics tools in the sibling list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: an agent can infer this is for estimating shipment CO2e from weight and distance, and the description usefully warns it uses DESNZ factors 'not the GLEC tool itself'. But there is no explicit when-to-use/when-not, and no routing to the sibling flight-emissions or freight-rate tools that could plausibly overlap.

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.

Resources