Skip to main content
Glama

logistics_freight_emissions

Read-only

Freight CO2e emissions by mode — Scope 3 freight transport emissions (GHG Protocol categories 4 and 9) using EPA GHG Emission Factors Hub 2025 Table 8 factors per short ton-mile. Give weight (lb default; weightUnit=kg, t for tonnes, ton for short tons) and distance (miles; distanceUnit=km) to compare truck, rail, ocean and air side by side, or mode= for one mode, or legs=truck:300,ocean:4500,truck:50 for a multi-leg route. Returns ton-miles, CO2, CH4, N2O and CO2e (AR5 GWPs) per mode or leg, percent versus truck, the lowest-emission mode and totals. Offline, instant. Price: $0.003 USDC (Base, via x402).

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": {
      "weight": "<weight>",
      "distance": "<distance>"
    },
    "name": "logistics_freight_emissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
weightYese.g. 20000
distanceYese.g. 1000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses the underlying methodology (EPA GHG Emission Factors Hub 2025 Table 8, AR5 GWPs), the returned metrics (ton-miles, CO2, CH4, N2O, CO2e, percent vs truck, lowest-emission mode, totals), determinism and latency ('Offline, instant'), and a cost/payment requirement of $0.003 USDC on Base via x402 — a material operational fact an agent must know before calling. 'Offline' sits slightly in tension with openWorldHint=true, but the x402 payment plausibly explains the external-world flag, so this is not a true contradiction.

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?

A single dense paragraph, but front-loaded with the purpose before the mechanics, and each clause adds information (input formats, output fields, pricing). It is close to the upper bound of useful length for a tool with no output schema, though the units/pricing details could be tighter.

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, the description correctly takes on the burden of describing return values and does so thoroughly, including derived comparisons and totals. The main incompleteness is that optional inputs (mode, legs, unit overrides) are described in prose but not reflected in the input schema, leaving ambiguity about what can actually be sent.

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?

The schema descriptions are bare ('e.g. 20000', 'e.g. 1000'), so the description carries real weight: it supplies the default unit (lb) and the unit overrides (weightUnit=kg/t/ton, distanceUnit=km), plus the mode= and legs= syntax and examples. It does not, however, clarify that weight and distance must be passed as strings, and the mode/legs/unit parameters it documents are absent from the declared schema.

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 states a specific verb and resource — 'Freight CO2e emissions by mode' — and immediately narrows the scope to Scope 3 freight transport emissions under GHG Protocol categories 4 and 9. It is clearly distinct from the other logistics_* siblings (class, vet, detention, dim weight, landed cost) which compute different things.

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 gives concrete usage contexts: compare truck/rail/ocean/air side by side, restrict to one mode with mode=, or model a multi-leg route with the legs= syntax. What's missing is any exclusion or 'use X instead when...' routing versus siblings such as logistics_route_optimize or logistics_landed_cost. Note the described mode/legs/unit knobs are not present in the supplied input schema, which an agent could stumble on.

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