Skip to main content
Glama

Carbonara freight CO2e

Emissions report over many shipments

emissions_report
Read-onlyIdempotent

Calculates shipments and returns a report with the basic content ISO 14083 asks for at the level of transport services (GLEC v3.2 Section 2 Ch.1): coverage and failures, totals split into TTW and WTT, intensity, per mode and hub type, energy carriers, data quality (primary/modelled/default shares, sources, models), distance adjustments, and notes. Returned as Markdown and as structured data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoReport title
period_toNoEnd of the period covered, YYYY-MM-DD
referenceNoWhere supporting information can be found
shipmentsYesThe shipments. Without an API key the public service takes up to 100 per call; with one, up to 10,000.
declare_isoNoAdd the ISO 14083:2023 conformity statement. Only when the user explicitly confirms that their data collection and boundaries conform.
period_fromNoStart of the period covered, YYYY-MM-DD
organisationNoOrganisation the report is for
add_road_legsNoAdd road legs where the legs don't join up (gaps over 5 km), and to a port or terminal when a sea, rail or river leg starts or ends off its network (default true). Added legs are marked in the result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint=false), so the description's job is to add context, and it does: it enumerates the report's contents (coverage/failures, TTW vs WTT totals, intensity, data quality shares, DAF adjustments) and states the dual Markdown + structured return. It does not mention the 100/10,000 shipment limits or key requirements, but the schema carries those.

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?

Front-loaded with the verb and the report's scope, then a compact closing sentence on return format. The middle enumeration is long but each item is a real report section, so it earns its place rather than padding.

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?

No output schema exists, so the description must convey return values, and it does by listing the report sections and the two output formats. The remaining gap is operational context (limits, credentials) which is deferred to the schema rather than the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 8 parameters including nested shipment/leg structure, and the description adds no parameter-level detail. Baseline 3 applies when structured fields do the heavy lifting.

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 ('Calculates shipments and returns a report') and the title pins the scope to many shipments, so it is distinguishable from the singular calculate_shipment sibling. It stops short of explicitly naming which sibling to prefer, but the aggregate-report framing is unambiguous.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus calculate_shipment or calculate_shipments, and no exclusions or prerequisites (e.g. API key, dataset requirements) are surfaced in the description. Usage is only weakly implied by the word 'report'.

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