FreightUtils MCP Server
The FreightUtils MCP Server provides AI agents with 17 specialized tools for freight calculation, reference lookups, and logistics analysis for international shipping and trade.
Calculations & Measurements
CBM Calculator – Calculate cubic metres for sea freight from box dimensions and piece count
Chargeable Weight Calculator – Determine air freight chargeable weight (volumetric vs. actual; supports IATA 6,000 and custom divisors like DHL's 5,000)
LDM Calculator – Calculate loading metres for European road freight with trailer utilisation percentage (supports euro, UK, half, quarter pallet presets and artic/rigid vehicle types)
Consignment Calculator – Multi-item combined LDM, CBM, and chargeable weight in one call
Pallet Fitting Calculator – Determine how many boxes fit on a pallet with layer-by-layer stacking, 90° rotation, weight limits, and volume utilisation
Unit Converter – Convert between weight (kg, lbs, tonnes), volume (CBM, cu ft), length (cm, m, inches), and freight-specific conversions (CBM → chargeable kg/freight tonnes)
Reference & Lookup
Container Lookup – Specs for 10 ISO container types (20ft/40ft standard, high-cube, reefer, open-top, flat-rack, 45ft) including dimensions, CBM capacity, and loading calculations
ADR Lookup – Search 2,939 dangerous goods entries from the ADR 2025 database by UN number or substance name
ADR Exemption Calculator – Calculate ADR 1.1.3.6 small load exemption points for single or mixed hazardous loads
HS Code Lookup – Search 6,940 Harmonized System tariff codes by product description or code, with full classification hierarchy
Incoterms Lookup – Explain all 11 Incoterms 2020 rules, seller/buyer responsibilities, and risk/cost transfer points
Airline Lookup – Search 6,352 airlines by name, IATA/ICAO code, AWB prefix, or country
UN/LOCODE Lookup – Search 116,129 location codes worldwide
ULD Lookup – Specifications for 15 air cargo Unit Load Device types
Vehicle Lookup – Road freight vehicle and trailer specs for 17 EU/US vehicle types
Compliance & Composite Tools
UK Duty Calculator – Estimate UK import duty and VAT using live GOV.UK data by HS code, origin country, and shipment value
Shipment Summary – A single-call composite tool that chains multiple tools for full shipment analysis
Provides access to IATA standards and data for air freight calculations, including chargeable weight calculations using the IATA standard volumetric factor of 6000, airline lookup with IATA codes, and air cargo ULD specifications.
FreightUtils MCP Server
The neutral freight reference layer for AI agents.
FreightUtils is the neutral freight reference layer for AI agents — source-backed dangerous-goods, customs, location and freight-calculation data an agent can call and cite, from primary sources (ADR 2025 / UNECE, HS 2022 / WCO, IATA-regulated airline prefixes). Neutral by design: no freight to sell and no carrier to push — a lookup returns what the named source says, with the citation attached so an agent can inspect it rather than take our word for it, regardless of who carries the load.
This Model Context Protocol server gives AI agents access to 25 freight calculation and reference tools, covering road, air, and sea freight. Built by a UK ADR-certified freight transport planner.
Every response cites its source — a _source block with the authority, edition, licence where held, and a verification status an agent can read — and the tools are deterministic, not generated answers. Reference only: never filing, booking, or legal advice, and results state when human review is required (validate is structural check-digit validation only; a clean ics2_check is not ENS acceptance; emissions figures are estimates, not audited reports).
Since 2.11.0, every tool also declares a typed outputSchema and returns structuredContent — the FreightUtils v1 response envelope: the answer under result, plus confidence, normalized_input, warnings, _source and a ready-to-use citation. The legacy flat JSON text channel is unchanged (byte-identical), so existing text-parsing consumers are unaffected.
Website: https://www.freightutils.com API Docs: https://www.freightutils.com/api-docs
Tools (25)
Calculators
Tool | Description |
| Loading metres for European and US road trailers |
| Cubic metres for sea freight |
| Air freight chargeable weight (volumetric vs actual) |
| Box-on-pallet optimisation with rotation |
| ISO container specs (10 types) and loading calculation |
| Weight, volume, length, and freight-specific conversions |
| Multi-item CBM, LDM, volumetric & mode-specific chargeable weight (sea/air/road) + advisory flags |
| Freight CO2e via the ISO 14083 / GLEC distance-based method — open DEFRA/EPA/ADEME factors (WTW + TTW); use actual gross mass (not chargeable/volumetric); result carries empty_running + representativeness (sea/air = low) + a summary |
Dangerous Goods (ADR)
Tool | Description |
| 2,939 UNECE ADR 2025 entries |
| ADR 1.1.3.6 small load exemption check |
| Limited and Excepted Quantity eligibility |
Customs & Tariff
Tool | Description |
| 6,940 Harmonized System tariff codes (HS 2022) |
| UK import duty and VAT (live GOV.UK Trade Tariff data) |
| Incoterms 2020 — all 11 rules with risk/cost transfer points |
| Flag EU ICS2 unacceptable goods-description terms (stop-words) before filing an ENS — reference only |
Reference Data
Tool | Description |
| Resolve any freight identifier ("176", "UN1845", "NLRTM", "FOB") to typed, ranked, cited candidates — the agent front door |
| 6,357 airlines with IATA/ICAO codes and AWB prefixes |
| 116,232+ UN/LOCODE transport locations |
| 85,555 airports by IATA/ICAO code, name or city (OurAirports) |
| Nearest airports to a latitude/longitude, by great-circle distance |
| 16 air cargo ULD types (LD3, PMC, etc.) |
| 17 road freight vehicles and trailers |
Validation
Tool | Description |
| Parse any text (a booking line, an email) to find & validate every container (ISO 6346), AWB (modulus-7) and IMO number in it — or validate a single identifier by type |
Composite
Tool | Description |
| Chains CBM + weight + LDM + ADR + duty in one call |
Subscription
Tool | Description |
| URL to upgrade to FreightUtils Pro (50,000/month at £19/mo) |
Related MCP server: ShippingRates
Installation
Claude Desktop / Claude Code (stdio)
Add to your MCP config (claude_desktop_config.json or .claude/settings.json):
{
"mcpServers": {
"freightutils": {
"command": "npx",
"args": ["freightutils-mcp"]
}
}
}Remote HTTP / SSE
If your MCP client supports remote servers, use the canonical URL:
https://www.freightutils.com/api/mcpThe older URL
https://www.freightutils.com/api/mcp/mcpstill works for backwards compatibility with existing clients.
No API key required to get started — anonymous calls work out of the box (see Rate Limits below).
Authenticating with a Pro key
Anonymous usage caps at 25 requests/day per IP. If you have a free or Pro API key, set FREIGHTUTILS_API_KEY in the environment that runs the MCP server. The package reads it from process.env and attaches Authorization: Bearer <key> to every outbound /api/* call — same key the remote https://www.freightutils.com/api/mcp transport already honors.
stdio config example with the env var wired through:
{
"mcpServers": {
"freightutils": {
"command": "npx",
"args": ["freightutils-mcp"],
"env": {
"FREIGHTUTILS_API_KEY": "fu_pk_xxx"
}
}
}
}Get a key at freightutils.com/api-docs (free, 100/day) or freightutils.com/pricing (Pro, 50,000/month). Backwards compatible — unset env var preserves the existing anonymous behaviour.
Verify your setup
After adding FreightUtils to your MCP client config, fully quit and relaunch the client (Claude Desktop, Cursor, Cline). MCP servers are only loaded at client startup; editing the config in a running session does nothing until restart.
Then run the install diagnostic from a terminal:
npx freightutils-mcp pingYou should see three ticks and All checks passed:
FreightUtils MCP Diagnostic
───────────────────────────
package: freightutils-mcp@<installed version>
health: https://www.freightutils.com/api/mcp/health
[1/3] Backend health (https://www.freightutils.com/api/mcp/health)
✓ status=ok mcp_version=<current> tools_registered=<current> (143ms)
[2/3] MCP handshake (in-process via InMemoryTransport)
✓ server freightutils-mcp@<installed version> initialized; tools/list returned <n> tools
[3/3] End-to-end tool call (cbm_calculator l=120 w=80 h=100)
✓ cbm_calculator → total=0.96 m³ (expected 0.96) (218ms)
All checks passed. Your FreightUtils MCP install is working.If any check shows ✗, see Troubleshooting below. Exit code is 0 on all-pass and 1 on any failure, so the command works in CI / health-check scripts too.
Troubleshooting
Symptom | Likely cause | Fix |
Tools not appearing in the MCP client after editing the config | Client wasn't fully restarted | Quit and relaunch (Cmd+Q on macOS / right-click → Quit on Windows tray). Closing the window is not enough. |
| DNS, proxy, or the website is unreachable from your network | Check the status page at https://www.freightutils.com/status. If you're behind a corporate proxy, set |
| Broken local install (npx cache or stale Node version) | Re-install: |
Tool calls return HTTP 429 / | Anonymous IP cap of 25 requests/day exceeded | If you have a FreightUtils Pro API key, set |
|
| Install Node 18+. On macOS, an absolute path in the config ( |
Specific tool returns | Bad input shape, or an unknown lookup key (UN number / HS code / AWB prefix not in the dataset) | The tool's error body names the offending field. Verify against the schema at https://www.freightutils.com/api-docs or call the corresponding playground endpoint to confirm the input shape. |
The full diagnostic flow lives at the /api-docs#mcp-setup section on the website. The live backend status is callable from inside any MCP client at GET /api/mcp/health — useful when you don't have shell access during a conversation.
Rate Limits
All tools call the free FreightUtils API:
Anonymous: 25 requests/day per IP
Free API key: 100 requests/day (register at https://www.freightutils.com)
Pro: 50,000 requests/month at £19/month
Example Prompts
Once connected, your AI agent can:
"Calculate CBM for a box 120cm × 80cm × 100cm, 24 pieces"
"Look up UN 1203 in the ADR database"
"Check if 200L of petrol qualifies for ADR 1.1.3.6 exemption"
"Find the HS code for lithium batteries"
"What does FOB mean in shipping?"
"How many boxes of 40×30×25cm fit on a euro pallet?"
"Calculate loading metres for 26 euro pallets on an artic trailer"
"What's the UK import duty on laptops from China?"
Data Sources
ADR 2025 — UNECE (licensed from Labeline.com)
HS 2022 — UN Comtrade (PDDL)
Airlines — public IATA/ICAO data, cross-referenced
UN/LOCODE — UNECE
UK Duty — live GOV.UK Trade Tariff API
Containers/ULD/Vehicles — ISO, IATA, and industry-standard specifications
Changelog
Full release notes also on GitHub Releases.
2.4.0 — 2026-06-16
consignment_calculator→ canonical consignment v1. New transportmode(sea | air | road) and a canonicallines[]shape (each line:quantity,dims {l,w,h,unit}mm/cm/m/in,weight {value,unit}kg/g/t/lb, optionaldescription/hs_code/un_number/stackable), plus anoptionsobject (air_volumetric_divisordefault 6000,container_number,awb_number). The legacy flatitems[]array (cm/kg) still works unchanged. Output gains per-line + grand totals, aschema_version, and advisory-only flags (implausible density, mode/option mismatch, dangerous-goods presence by UN number vs the ADR 2025 reference, ISO 6346 / IATA AWB check-digit) plus a best-effort disclaimer. Canonical schema: https://www.freightutils.com/schema/consignment.v1.json. No tool-count change (19).
2.1.1 — 2026-05-09
Fix:
serverInfo.versionwas stuck at1.0.8even after 1.1.0 / 2.0.0 / 2.1.0 published. The wire-level identity has been silently lying about the package version since the 1.0.7 fix. Now reads frompackage.jsonat runtime viacreateRequire, so the wire version always matches the npm-published release.Fix:
server.jsondescription undercounted tools ("18 freight tools …"→"19 freight tools …, get_subscribe_link").Tightened Zod input constraints across
airline_lookup,adr_lookup,adr_exemption_calculator,adr_lq_eq_check,unlocode_lookup, anduk_duty_calculator(regex / length / min-max on UN numbers, IATA / ICAO / AWB prefixes, ISO country codes, UN/LOCODE format). Field-level constraints take effect at the wire;.strict()on top-level schemas becomes wire-effective once theserver.registerTool()migration ships in 2.2.0.
2.1.0 — 2026-05-01
New tool:
get_subscribe_link. Returns the FreightUtils/pricingURL plus tier / monthly limit / monthly price metadata. Tool description tells agents NOT to attempt checkout themselves — they hand the URL to the user. Tool count: 18 → 19.Pairs with the website-side fix wiring
/api/mcp/*through the existing API rate-limit middleware so Pro keys are attributed against the 50,000/month bucket on MCP traffic.
2.0.0 — 2026-04-25 (BREAKING — input-side casing)
Tool input schemas migrated
camelCase→snake_caseto match the response convention shipped in 1.1.0. 13 input keys renamed acrossuk_duty_calculator,consignment_calculator, andshipment_summary(e.g.commodityCode→commodity_code,originCountry→origin_country,items[].grossWeight→items[].gross_weight). Agents calling these tools with prior camelCase keys now get a Zod validation error instead of a 200. Re-prompt or update tool-call code.All other tools (
cbm_calculator,chargeable_weight_calculator,ldm_calculator,pallet_fitting_calculator,unit_converter, ADR family,airline_lookup,container_lookup,hs_code_lookup,incoterms_lookup,unlocode_lookup,uld_lookup,vehicle_lookup) already used snake_case (or single-word) input keys and are unchanged.
1.1.0 — 2026-04-25 (BREAKING — response-side casing)
API responses migrated
camelCase→snake_casesite-wide across/api/unlocode,/api/uld,/api/containers,/api/vehicles,/api/consignment,/api/duty. All MCP tools in this package are passthroughs, so AI agents see snake_case keys (e.g.commodity_code,location_code,internal_length_cm) instead of the prior camelCase forms. Re-prompt or update parsing logic.No code changes to MCP tool implementations — every tool was already a passthrough wrapper around
apiGet/apiPost. Input schemas continue to declare camelCase here; 2.0.0 deliberately closes that asymmetry.README badges: added monthly + total npm downloads alongside the existing version + license + Glama score badges.
1.0.8 — 2026-04-23 (hotfix)
Critical fix: revert
list_prompts/list_resourcesstub handlers introduced in 1.0.7. The raw SDK asserts the corresponding capability must be declared beforesetRequestHandleris called — 1.0.7 threwServer does not support promptsat startup, crashing the MCP server on every run. 1.0.8 removes the stubs and restores boot.Server identity bumped:
version: '1.0.7'→'1.0.8'.No other changes. 18 tools, annotations,
shipment_summarydescriptions, andsmithery.yamlfrom 1.0.7 are preserved.
1.0.7 — 2026-04-22
Add
smithery.yamlwith empty configSchema (Smithery Quality Score: config UX +25).Add read-only
annotationsto all 18 tools (readOnlyHint: true,destructiveHint: false,idempotentHint: true,openWorldHint: false) with human-readabletitle(+7).Add missing parameter
.describe(...)text toshipment_summary(+1).Add stub
list_prompts/list_resourceshandlers so probes return{ prompts: [] }/{ resources: [] }instead of-32601 Method not found(+5).Fix server identity:
name: 'FreightUtils'→'freightutils-mcp',version: '1.0.0'→'1.0.7'.No breaking changes. Same 18 tools, same names, same behaviour.
1.0.6 — 2026-04-22
Security: bump
@modelcontextprotocol/sdkto1.26.0to patch CVE-2026-25536 (cross-client data leak via shared transport/server instance reuse). See GHSA-345p-7cg4-v4c7.No user-facing API changes. Same 18 tools.
Other ways to use FreightUtils
FreightUtils ships across multiple distribution surfaces. Pick the one that fits how you work:
Website — interactive tools at freightutils.com
REST API — 23 endpoints, free tier (100/day) and Pro tier (50K/month, £19/mo). API docs
MCP server — for LLM agents and AI tooling. npm: freightutils-mcp · MCP Registry
n8n custom node — for workflow automation. npm: n8n-nodes-freightutils
Custom GPT — the FreightUtils GPT on the OpenAI GPT Store, backed by the same OpenAPI spec.
Same data, same compliance reference set (ADR 2025, HS 2022, IATA-regulated airline prefixes), every surface kept in sync.
License
MIT — see LICENSE.
Built by Marius Cristoiu, ADR-certified freight transport planner.
Available Tools
25 toolsadr_exemption_calculatorARead-onlyIdempotentInspect
Calculate ADR 1.1.3.6 "small load" exemption points for a dangerous-goods load. Each substance's transport category (0-4) sets a points multiplier (category 1 x50, 2 x3, 3 x1, 4 x0; the nine ADR 1.1.3.6.3 note-a entries UN 0081/0082/0084/0241/0331/0332/0482/1005/1017 are x20 with a 50 kg per-transport-unit cap); points = quantity x multiplier, and a load totalling 1,000 points or less qualifies for reduced ADR requirements. Transport category 0 substances can NEVER use this exemption — has_category_zero flags them.
Provide un_number + quantity for a single substance, or items[] for a mixed load (items takes precedence if both are given). Quantities are in kg or litres per the substance's ADR unit.
Multi-variant UNs: a UN number with more than one ADR Table A row (packing group / concentration variant — e.g. UN 1789 PG II vs PG III have different transport categories) needs packing_group (I|II|III) or variant_index (from adr_lookup) to pin one row. Without a disambiguator the tool returns blocking_errors[AMBIGUOUS_UN_VARIANT] + human_review_required + candidates[] (each candidate's variant_index, packing_group, proper_shipping_name, transport_category, multiplier) and NO verdict, rather than silently guessing a row. Single-row UNs are unchanged.
Scope verdicts: Table A rows listed "NOT SUBJECT TO ADR" or "CARRIAGE PROHIBITED" never enter the points math. An all-not-subject load (e.g. UN 1845 dry ice) returns not_subject_to_adr true with a dedicated message ("Not subject to ADR (road). Section 5.5.3 applies: ...") and, for dry ice, conditions[] quoting the ADR 2025 section 5.5.3 requirements verbatim (ventilation, package marking, warning mark, documentation, training). A load containing a CARRIAGE PROHIBITED entry returns exempt false with carriage_prohibited true. In a mixed load, not-subject items are excluded from the points and the exclusion is stated in warnings.
Behavior: deterministic points arithmetic over ADR 2025 reference data; a UN that cannot be found returns blocking_errors (NOT_FOUND); exempt is the overall verdict. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: items[] (each with packing_group, variant_index, transport_category, multiplier, points, quantity_unit/quantity_basis/expected_unit when a unit or basis was declared, and scope flags where applicable), total_points (NULL when no verdict was reached), threshold (1000), exempt (NULL when no verdict was reached — never false as a stand-in), has_category_zero, has_quantity_exceedance, warnings, message and — on scope verdicts — not_subject_to_adr/conditions_ref/conditions[]/carriage_prohibited under result — or, when a UN is ambiguous, human_review_required + candidates[] with blocking_errors, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: a deterministic calculation over reference data, not legal advice — even exempt loads keep core duties (packaging, marking, documentation), and mixed-packing rules still apply; verify against the current UNECE ADR text.
Related: adr_lookup (per-substance data incl. transport category + variant_index), adr_lq_eq_check (the LQ/EQ relief routes instead of 1.1.3.6).
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | OPTIONAL. The dimension `quantity` is stated in. Omit it and the number is taken as already on the ADR 1.1.3.6.3 basis (unchanged behaviour). Supply it and it is CHECKED against the dimension 1.1.3.6.3 counts for that Table A row — litres for liquids and for compressed or adsorbed gases, kilograms for solids, liquefied/refrigerated/dissolved gases and articles. A mismatch returns total_points null, exempt null and items[].basis_mismatch true, naming the dimension the entry is counted in. | |
| basis | No | OPTIONAL. ADR 1.1.3.6.3 counts the dangerous goods themselves, never the packaging, so a quantity declared 'gross' returns no points in ANY unit — send the net figure instead. | |
| items | No | Mixed-load items (use INSTEAD of un_number/quantity). | |
| quantity | No | Quantity for the single-substance check, in kg or litres per the substance's ADR unit. Example: 100. | |
| un_number | No | UN number for a single-substance check — 4 digits, optionally "UN"-prefixed. Example: "1203". | |
| packing_group | No | Packing group (I, II or III) — only needed to disambiguate a UN with more than one ADR Table A row (e.g. UN 1789). Ignored for single-row UNs. Single-substance form only. | |
| variant_index | No | ADR Table A variant index (as returned by adr_lookup) — pins one row when a UN has several variants that share a packing group (concentration bands). Ignored for single-row UNs. Single-substance form only. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint, idempotentHint, and destructiveHint, but the description goes further by disclosing concrete behavioral traits: deterministic arithmetic, no silent guessing on ambiguous UNs, NOT SUBJECT TO ADR and CARRIAGE PROHIBITED handling, rate limits with 429 retry behavior, and the non-legal-advice caveat. This adds substantial context beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long and dense, but this is a complex tool with multiple edge cases. Each section earns its place: invocation modes, ambiguity handling, scope verdicts, return fields, rate limits, and related tools. It is front-loaded with the core calculation and progressively covers exceptions, though it is not especially concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers what the tool does, when to use it, how to disambiguate inputs, edge cases for not-subject and prohibited carriage, rate limiting behavior, return structure, and limitations. Even with an output schema present, the description provides enough context for an agent to call this tool correctly without additional research.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds useful parameter-level semantics beyond the schema, such as the precedence of items over un_number/quantity, the meaning of variant_index for concentration bands, and the consequence of omitting a disambiguator. It does repeat some schema detail, but it still enriches the agent's understanding of how parameters interact.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a precise statement: 'Calculate ADR 1.1.3.6 "small load" exemption points for a dangerous-goods load.' This names the specific regulation, the computation, and the domain. It also distinguishes itself from related tools by naming adr_lookup and adr_lq_eq_check, so an agent can tell them apart.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly explains how to invoke the tool: single substance via un_number+quantity, mixed load via items[], and that items takes precedence. It also specifies when disambiguation is required, how scope verdicts are handled, and points to adr_lq_eq_check as the alternative for LQ/EQ relief routes. This is explicit and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
adr_lookupARead-onlyIdempotentInspect
Look up European road dangerous-goods (ADR 2025) reference data for a substance: hazard class, classification code, packing group, labels, special provisions, limited/excepted quantities, transport category, tunnel restriction code and Kemler (hazard identification) number. Covers 2,939 entries across all 9 hazard classes, from UNECE ADR 2025 (ECE/TRANS/352).
Provide exactly ONE of: un_number (exact lookup — returns every packing-group variant of that UN number), search (case-insensitive partial match on the proper shipping name), or hazard_class (all entries in a class or division). un_number is normalised — "1203", "UN1203" and "un 1203" are equivalent, and normalized_input reports the correction; explosives keep their leading zero ("0004").
Behavior: read-only reference lookup; name searches return up to 50 entries, class filters up to 100. An unknown UN number or a search with no hits errors with the API's NOT_FOUND body and a retry hint. 28 Table A rows carry a scope remark instead of a packing group: those return packing_group null plus not_subject_to_adr (with conditions_ref, e.g. "5.5.3" for UN 1845 dry ice) or carriage_prohibited, and table_a_remark preserves the verbatim Table A text. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: count and results[] — per entry: un_number, proper_shipping_name, class, classification_code, packing_group, labels, special_provisions, limited_quantity, excepted_quantity, transport_category, tunnel_restriction_code, hazard_identification_number, variant_index/variant_count and, on scope-flagged rows, not_subject_to_adr/carriage_prohibited/conditions_ref/table_a_remark — under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: a factual compilation of the ADR table, not legal or compliance advice; classification remains the consignor's responsibility — verify against the current UNECE ADR text.
Related: adr_lq_eq_check (checks quantities against the LQ/EQ values returned here), adr_exemption_calculator (1.1.3.6 small-load points), consignment_calculator (flags dangerous-goods lines by UN number).
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Case-insensitive partial match on the proper shipping name (min 2 characters). Example: "acetone". | |
| un_number | No | Exact UN number — 4 digits, optionally "UN"-prefixed; explosives keep their leading zero. Examples: "1203", "UN1203", "0004". | |
| hazard_class | No | All entries in an ADR class or division. Examples: "3" (flammable liquids), "6.1" (toxic), "1.4" (an explosives division). |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnly/idempotent/non-destructive annotations, the description discloses result caps (50 entries for search, 100 for class filters), NOT_FOUND error behavior, 429 rate-limit handling with retry_after_seconds, and special scope-flagged rows returning packing_group null with not_subject_to_adr/carriage_prohibited. None of this contradicts the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is organized into clear blocks: purpose, input selection, behavior, returns, limitations, and related tools. It is long, but almost every sentence adds needed operational detail; the in-line return-field enumeration is partly redundant with the output schema but not excessive.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers input constraints, edge cases, error responses, rate limiting, volume limits, legal disclaimers, and sibling-tool routing. Combined with a high-coverage input schema, rich annotations, and an output schema, an agent has everything needed to decide whether to call this tool and how to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already covers all three parameters, but the description adds selection constraints: exactly one of them, exact-only UN number with normalization examples, name search case-insensitive, and class/division matching. It also flags the leading-zero explosives edge case, which goes well beyond the schema's static descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description leads with a specific verb and resource: 'Look up European road dangerous-goods (ADR 2025) reference data for a substance,' then lists the returned fields. It also explicitly distinguishes the tool from related siblings like adr_lq_eq_check, adr_exemption_calculator, and consignment_calculator.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It clearly says to provide exactly ONE of un_number, search, or hazard_class and explains which one fits which lookup style. It also names alternatives for adjacent use cases and points to get_subscribe_link for rate-limit relief, so an agent knows when to call this tool versus another.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
adr_lq_eq_checkARead-onlyIdempotentInspect
Check whether dangerous goods qualify for ADR Limited Quantity (LQ, ADR 3.4) or Excepted Quantity (EQ, ADR 3.5) relief. LQ compares each item's per-inner-packaging quantity against that substance's LQ maximum; EQ resolves the substance's E-code (E0-E5) and checks the per-inner limit, plus the per-outer limit when inner_packaging_qty is given.
Provide mode ("lq" or "eq") and 1-20 items, each with un_number, quantity and unit — ml or L for liquids, g or kg for solids; quantity is per INNER packaging, not the whole load.
Unit families: column (7a) states the limit in ONE dimension — a mass for some entries, a volume for others — and ADR supplies no density, so a mass quantity against a volume limit (or the reverse) CANNOT be compared. Those items return status 'inconclusive' with the dimension named, never a pass or a fail, and a batch holding any inconclusive item never reads overall_status 'qualifies'. Send the quantity in the unit given by lq_limit_unit to get a verdict. Multi-variant UNs: a UN number with more than one ADR Table A row (packing group / concentration variant — e.g. UN 1789 PG II LQ 1 L vs PG III LQ 5 L) needs packing_group (I|II|III) or variant_index (from adr_lookup) on that item to pin one row. Without a disambiguator the tool returns blocking_errors[AMBIGUOUS_UN_VARIANT] + human_review_required + candidates[] (each candidate's variant_index, packing_group, proper_shipping_name, limited_quantity, excepted_quantity) and NO verdict, rather than silently checking the wrong packing group. Single-row UNs are unchanged.
Behavior: deterministic reference check; each item gets a status and reason (an LQ value of "0" or code E0 means the relief is not permitted for that substance), with overall_status and summary counts across the batch. Table A rows listed "NOT SUBJECT TO ADR" (e.g. UN 1845 dry ice) get item status not_subject — outside ADR scope, neither a pass nor a fail — and an all-not-subject batch returns overall_status not_applicable; "CARRIAGE PROHIBITED" rows are not_permitted with the prohibition stated in reason. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: mode, overall_status (qualifies | does_not_qualify | partial | not_applicable | inconclusive), items[] (un_number, variant_index, substance, class, packing_group, lq_limit or eq_code, quantity_entered, status, reason, and scope flags where applicable), summary {total_items, qualifying, exceeding, not_permitted, not_subject?, inconclusive?} and the ADR chapter references under result — or, when a UN is ambiguous, human_review_required + candidates[] with blocking_errors, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: a quantity-threshold check only — LQ/EQ relief also requires packaging, marking and documentation conformity that this tool does not assess; not legal advice, verify against the current UNECE ADR text.
Related: adr_lookup (the per-substance LQ/EQ values + variant_index), adr_exemption_calculator (the 1.1.3.6 load-points route instead).
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Check mode: "lq" (Limited Quantity, ADR 3.4) or "eq" (Excepted Quantity, ADR 3.5). | |
| items | Yes | Items to check (1-20 per call). |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint and idempotentHint, and the description does not contradict them; it adds substantial behavioral context: deterministic reference check, per-item status/reason, ambiguous UNs producing blocking_errors and candidates with no verdict, not_subject/not_permitted states, rate limits with 429 retry behavior, and the limitation that packaging/marking/documentation compliance is not assessed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but proportioned to the domain's complexity. Every section—input requirements, unit families, ambiguous UNs, statuses, return envelope, limitations, related tools—adds necessary information and is front-loaded with the core purpose before expanding into edge cases.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a complex tool with an output schema, the description still fully prepares an agent: it covers all input modes, edge cases, status values, overall_status possibilities, error behavior, rate limiting, and operational limitations. Nothing required to select and invoke the tool correctly is left to inference or missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, but the description compements meaningfully beyond the schema: 'quantity is per INNER packaging, not the whole load'; it explains mass-vs-volume dimension incompatibility leading to inconclusive status; and it clarifies when packing_group or variant_index are needed and when inner_packaging_qty applies in EQ mode.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Check whether dangerous goods qualify for ADR Limited Quantity (LQ, ADR 3.4) or Excepted Quantity (EQ, ADR 3.5) relief.' It clearly distinguishes itself from sibling tools by pointing to adr_lookup for per-substance values and adr_exemption_calculator for the 1.1.3.6 load-points route.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage context is explicit: 'Provide mode ("lq" or "eq") and 1-20 items,' with required fields and units spelled out. It also tells agents when to use related tools instead, and advises 'Send the quantity in the unit given by lq_limit_unit to get a verdict,' plus the adr_exemption_calculator alternative for load-points checks.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
airline_lookupARead-onlyIdempotentInspect
Search 6,357 airlines by name, IATA code, ICAO code, AWB prefix, or country. AWB prefixes are the first 3 digits of an air waybill number and identify the issuing carrier (e.g. 176 = Emirates).
Provide ONE parameter: query is a ranked fuzzy search across names and codes; iata / icao / prefix / country are exact filters.
Behavior: read-only; fuzzy query hits report their match quality through the envelope's confidence (basis match_quality, score 0-1) with a FUZZY_BEST_MATCH advisory naming the matched field; a query with no hits returns count 0 with a NO_MATCH advisory rather than an error. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: count and results[] — per airline: airline_name, iata_code, icao_code, awb_prefix[], callsign, country, has_cargo, aliases and per-record verification fields — under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: this dataset's provenance is pending independent verification (the envelope's provenance_status says so) — confirm operationally critical codes with IATA/ICAO or the carrier.
Related: airport_lookup (searches AIRPORTS, not carriers), validate (checks an AWB number's check digit and names its airline from this dataset).
| Name | Required | Description | Default |
|---|---|---|---|
| iata | No | Exact IATA code — 2 alphanumeric characters. Examples: "EK", "U2". | |
| icao | No | Exact ICAO code — 3 letters. Examples: "UAE", "BAW". | |
| query | No | Ranked fuzzy search across name, codes, prefix and country (min 2 chars). Example: "emirates". | |
| prefix | No | Exact AWB prefix — the first 3 digits of an air waybill. Example: "176". | |
| country | No | Filter by country name (min 2 chars). Example: "Netherlands". |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already establish readOnly/idempotent/non-destructive; the description adds concrete behaviors beyond those: fuzzy match quality is surfaced via the envelope's confidence (0-1) and a FUZZY_BEST_MATCH advisory, no-hit queries return count 0 with NO_MATCH instead of an error, a 429 response includes retry_after_seconds, and dataset provenance is flagged as pending verification. That is meaningful transparency for a lookup in a critical logistics context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Organized into clearly labeled sections (Behavior, Returns, Limitations, Related) with a front-loaded summary. It is somewhat long, but almost every sentence carries distinct information; the rate-limit guidance could arguably be trimmed, yet it is directly actionable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only, 0-required-param lookup with a rich output schema, the description covers input selection, behavior in edge cases, rate limits, return envelope highlights, verification caveats, and related tools. Nothing an agent needs to make a correct first call is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all five parameters and their formats. The description adds the rank-ordering behavior of query, the AWB prefix definition with '176 = Emirates', and the mutual-exclusion rule (provide exactly one parameter), which is not expressed in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a precise action and resource ('Search 6,357 airlines'), lists the search axes, and distinguishes itself from airport_lookup in Related. The airline domain is unmistakable and its scope is fully delimited.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly says to provide ONE parameter, explains the semantic difference between query (fuzzy ranked search) and iata/icao/prefix/country (exact filters), documents rate limits and a retry path, and points to validate/airport_lookup as alternatives. There is no ambiguity about when to use this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
airport_lookupARead-onlyIdempotentInspect
Look up an airport by IATA code (3 letters, e.g. "LHR"), ICAO code (4 chars, e.g. "EGLL"), or free-text name/city search (e.g. "heathrow"). Covers 85,555 airports worldwide (OurAirports, public domain, cross-checked vs OpenFlights + Wikidata).
Provide ONE of iata, icao, or query; the optional type filter narrows results. Behavior: read-only; exact code hits return one record; ambiguous name searches return ranked candidates (exact codes first, then larger airports) with match quality reported via the envelope's confidence (basis match_quality); an unknown code errors with a not-found message. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: count and results[] — per airport: IATA + ICAO/ident, name, type (large/medium/small/heliport/closed/seaplane), municipality, region, country, latitude/longitude and elevation_ft — under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: reference data only — not for navigation; verify operationally critical codes with IATA / ICAO.
Related: nearest_airport (find airports FROM a coordinate), airline_lookup (searches CARRIERS / AWB prefixes, not airports), unlocode_lookup (general transport locations, of which airports are one function).
| Name | Required | Description | Default |
|---|---|---|---|
| iata | No | Exact 3-letter IATA code. Example: "LHR". | |
| icao | No | Exact 4-character ICAO / ident. Example: "EGLL". | |
| type | No | Optional filter by airport type. | |
| query | No | Name / city / municipality search (min 2 chars). Example: "heathrow". |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations, the description discloses important behaviors: exact code hits return one record, ambiguous name searches return ranked candidates with match_quality confidence, unknown codes produce a not-found error, and rate limits with 429/retry_after_seconds/Retry-After behavior are clearly explained. It also backs off recommendation and points to get_subscribe_link for higher limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but every sentence earns its place: usage modes, data coverage, behavioral rules, rate limiting, response envelope, limitations, and sibling distinctions. It is front-loaded with the most essential information—lookup methods—and then provides structured depth without repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is fully complete for a lookup tool of this complexity. It covers input constraints, output shape, error/rate-limit behavior, limitations, and relationships to siblings. Combined with a rich output schema and full annotation coverage, there is no critical missing context for an agent to select and invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Although schema coverage is 100%, the description adds significant semantic value: it states that iata, icao, and query are mutually exclusive ('Provide ONE of iata, icao, or query'), that type is a narrowing filter, and that query is free-text with minimum length. It also explains ranking behavior based on input choice, which is not captured in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action—'Look up an airport'—and clearly enumerates the supported lookup keys (IATA, ICAO, free-text name/city). It differentiates itself from related tools by explicitly naming nearest_airport, airline_lookup, and unlocode_lookup, making its purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description tells the agent exactly when to use this tool and when not: it explicitly says 'Provide ONE of iata, icao, or query' and gives a dedicated 'Related' section contrasting this tool with nearest_airport (coordinate-based lookup), airline_lookup (carrier/AWB search), and unlocode_lookup (general transport locations). This removes ambiguity about alternative selections.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
cbm_calculatorARead-onlyIdempotentInspect
Calculate cubic metres (CBM) for a shipment from per-piece dimensions. CBM is the standard volume unit in international shipping: 1 CBM = 1m x 1m x 1m = 1,000 litres, and ocean freight prices per "freight tonne" (1 CBM or 1,000 kg, whichever is greater).
Behavior: deterministic — identical inputs always return identical figures; total volume = pieces x per-piece CBM, with conversions to cubic feet, cubic inches and litres included. Missing or non-positive dimensions error with a validation message naming the parameter. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: cbm_per_piece, total_cbm, cubic_feet, litres, cubic_inches and pieces under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Related: chargeable_weight_calculator (air billing weight from the same dims), consignment_calculator (multi-line totals), unit_converter (single conversions), shipment_summary (full composite analysis).
| Name | Required | Description | Default |
|---|---|---|---|
| pieces | No | Number of identical pieces — total volume scales linearly. Default: 1. | |
| width_cm | Yes | Width of one piece in centimetres (> 0). Example: 80. | |
| height_cm | Yes | Height of one piece in centimetres (> 0). Example: 100. | |
| length_cm | Yes | Length of one piece in centimetres (> 0). Example: 120. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description goes well beyond the annotations by disclosing determinism, the exact calculation formula, validation behavior for missing or non-positive dimensions, the 429 rate-limit contract with retry_after_seconds and Retry-After header, and the response fields. This is valuable operational behavior that annotations do not provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is structured in clear sections — purpose, behavior, returns, related tools — with each sentence contributing useful information. No filler or redundant restatement of structured metadata appears, and the core purpose is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only, idempotent calculator with fully specified parameters and an output schema, the description covers the result payload, error behavior, rate limiting, retry handling, and alternative tools. No important invocation-related detail is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides 100% documented parameter coverage, including descriptions, examples, and value constraints. The description adds helpful context about per-piece dimensions and linear scaling, but the schema is already doing the heavy lifting, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a clear verb-resource action: 'Calculate cubic metres (CBM) for a shipment from per-piece dimensions' — then situates it in the shipping domain and distinguishes it from related tools. The purpose is specific and not merely a restatement of the tool name.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The 'Related' section explicitly names alternatives with their distinct use cases: chargeable_weight_calculator for air cargo billing weight, consignment_calculator for multi-line totals, unit_converter for single conversions, and shipment_summary for full composite analysis. This gives an agent concrete guidance on when to choose this tool versus a sibling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
chargeable_weight_calculatorARead-onlyIdempotentInspect
Calculate air freight chargeable weight — the greater of actual gross weight and volumetric weight, which is what airlines bill. Volumetric weight (kg) = (L x W x H in cm) / divisor; the IATA-standard divisor is 6,000 (1 CBM = 166.67 kg), while express integrators (DHL, FedEx, UPS) typically use 5,000.
Behavior: deterministic; per-piece volumetric weight is rounded to 2 decimal places before totalling; basis reports which weight governs ("volumetric" = cargo is light for its size, "actual" = dense). Air mode only — sea W/M (1 CBM = 1,000 kg) is covered by consignment_calculator with mode=sea. Missing or non-positive inputs error with the failing parameter named. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: chargeable_weight_kg, basis, volumetric_weight_kg (total and per piece), gross_weight_kg, cbm, ratio, factor and pieces under result; normalized_input echoes the interpreted inputs and any defaults applied; plus confidence, _source and citation (the FreightUtils v1 response envelope).
Related: cbm_calculator (volume only), consignment_calculator (multi-line, all modes), uld_lookup (the equipment the freight flies in).
| Name | Required | Description | Default |
|---|---|---|---|
| factor | No | Volumetric divisor in cm³/kg. Default: 6000 (IATA standard); express carriers typically 5000. | |
| pieces | No | Number of identical pieces. Default: 1. | |
| width_cm | Yes | Width of one piece in centimetres (> 0). Example: 80. | |
| height_cm | Yes | Height of one piece in centimetres (> 0). Example: 100. | |
| length_cm | Yes | Length of one piece in centimetres (> 0). Example: 120. | |
| gross_weight_kg | Yes | Actual gross weight of the WHOLE shipment (all pieces) in kilograms. Example: 500. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the operation as read-only and idempotent. The description adds important behavioral context beyond those: per-piece volumetric weight rounded to 2 decimals before totalling, basis reporting which weight governs, deterministic behavior, exact error behavior for missing/non-positive inputs, and rate-limit/retry handling via 429 responses. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long, but each section earns its place: main calculation, behavioral rules, error handling, response envelope, and related tools. It is front-loaded with the core purpose and then organized topically, so an agent can quickly extract the essential directive.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity, the 6 parameters, output schema, and annotations, the description is complete: it covers scope, transformation logic, error conditions, rate limits, result envelope, and alternatives. It does not need to explain return values in detail because the output schema is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is already 100%, so the baseline is 3. The description still adds meaning: it explains the formula (L x W x H cm divided by divisor), the IATA vs. express-carrier divisor conventions, per-piece interpretation, and the distinction between volumetric and actual weight across pieces. This goes beyond the schema but does not need to fully repeat parameter details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb-and-resource statement: 'Calculate air freight chargeable weight' and explains the core concept. It distinguishes the tool from explicit siblings (cbm_calculator, consignment_calculator, uld_lookup), so an agent can clearly tell what this tool is for.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when this tool applies: air mode only, and when it does not: sea W/M is covered by consignment_calculator with mode=sea. It also points to related alternatives and even behavior on rate limits with get_subscribe_link. Nothing is left ambiguous about choice of tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
consignment_calculatorARead-onlyIdempotentInspect
Calculate per-line and grand totals for a multi-item mixed consignment: CBM, loading metres (LDM), volumetric weight, and the mode-specific chargeable figure (air chargeable weight, sea revenue tonnes, road LDM), plus objective advisory flags.
Provide mode (sea | air | road, default road) and either lines[] (canonical — per line: quantity, dims {l,w,h,unit}, weight {value,unit}, optional description / hs_code / un_number / stackable) or the legacy flat items[] (dimensions in cm, weight in kg). Air uses an IATA volumetric divisor (default 6000, settable via options.air_volumetric_divisor); options.container_number / options.awb_number add a check-digit sanity flag.
Behavior: deterministic; flags are advisory only — implausible density, mode/option mismatch, dangerous-goods presence by UN number against ADR 2025, and container/AWB check-digit validity — and never state that a shipment is permitted or compliant. Invalid lines error naming the offending field. Canonical schema: https://www.freightutils.com/schema/consignment.v1.json. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: schema_version, mode, per_line[] (cbm, gross_weight_kg, density, volumetric_weight_kg, ldm, revenue_tonnes, chargeable_weight_kg), totals (incl. billing_basis) and flags[] under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: best-effort deterministic calculation and reference data — not regulatory, customs or dangerous-goods compliance advice; classification, documentation and carrier acceptance remain your responsibility.
Related: cbm_calculator / chargeable_weight_calculator / ldm_calculator (single-figure versions), shipment_summary (adds vehicle/container suggestion and duty estimates), adr_lookup (what a flagged UN number is).
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Transport mode: sea | air | road. Default: road. | |
| items | No | Legacy flat alias — dimensions in cm, weight in kg. Prefer lines. | |
| lines | No | Canonical consignment lines (preferred, 1-50). Provide lines OR items. | |
| options | No | Optional settings. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the tool as read-only, idempotent, and non-destructive, and the description adds important behavioral detail on top of that: calculations are deterministic, flags are advisory and can never imply compliance, invalid lines error with the offending field, and the API is rate-limited with a 429 body containing retry_after_seconds and Retry-After. This gives an agent a clear picture of expected behavior, error handling, and side-effect constraints beyond what annotations provide. No contradiction with the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is structured and front-loaded: the first sentence captures the core output, and subsequent paragraphs cover behavior, errors, return envelope, limitations, and related tools. Every clause earns its place — even the rate-limit and limitation notes directly affect invocation correctness — while distinct labels such as 'Behavior', 'Returns', and 'Limitations' keep it readily navigable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex tool with 4 parameters, nested objects, enums, an output schema, and many siblings, the description gives everything an agent needs: direct input combinations, schema, behavior, error semantics, rate-limit handling, return envelope, and explicit comparison to the alternatives. It also appropriately relies on the output schema for structural return details, but adds the meaningful caveat that flags are advisory and not compliance advice.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already documents all parameters at 100% coverage, so the description does not need to re-explain every field. However, it adds valuable semantic context beyond the schema: the canonical vs legacy distinction, the default for mode, the IATA divisor default of 6000, and that options.container_number/awb_number trigger check-digit sanity flags. The description also clarifies that legacy items are 'dimensions in cm, weight in kg,' which the schema leaves somewhat implicit.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens by stating the exact scope — calculate per-line and grand totals for a multi-item mixed consignment, naming each metric (CBM, LDM, volumetric weight, mode-specific chargeable figure) and the advisory flags. It differentiates the tool from siblings by explicitly labeling cbm_calculator, chargeable_weight_calculator, and ldm_calculator as 'single-figure versions' and by distinguishing shipment_summary as the tool that adds vehicle/container suggestion and duty estimates.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives concrete guidance on when to choose this tool versus alternatives: single-figure modes are separate tools, shipment_summary is the next step for broader recommendations, and adr_lookup explains a flagged UN number. It also clarifies canonical lines[] vs legacy flat items[], and tells users to call get_subscribe_link when rate limits are hit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
container_lookupARead-onlyIdempotentInspect
Get ISO shipping-container specifications, with optional load-fit maths. Covers 10 types: 20ft/40ft standard, 40ft and 45ft high-cube, 20ft/40ft reefer, 20ft/40ft open-top and 20ft/40ft flat-rack.
Provide type as a slug (e.g. "20ft-standard", "40ft-high-cube") for one container's record; omit it to list all 10. Add item dimensions (item_length_cm/width_cm/height_cm, optional item_weight_kg and item_quantity) to also compute how many such items fit.
Behavior: read-only reference data with per-record provenance (sources, audited_at, decision_rationale); an unknown type errors with the valid slug list. Fit calculations are geometric best-effort — they do not model load distribution, securing or mixed cargo. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: the container record — internal/external/door dimensions (cm), capacity_cbm, tare_weight_kg, max_gross_kg, max_payload_kg and euro/GMA pallet counts — under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: manufacturer-typical specs, provenance pending independent verification (the envelope's provenance_status says so) — actual equipment varies by lessor and line; confirm against the carrier's equipment guide.
Related: validate (checks a container NUMBER's ISO 6346 check digit — not specs), cbm_calculator / consignment_calculator (the cargo volume to fill it), uld_lookup (the air-freight equivalent).
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Container slug. Examples: "20ft-standard", "40ft-high-cube", "20ft-reefer". Omit to list all 10 types. | |
| item_quantity | No | Number of items to check against the container. | |
| item_width_cm | No | Item width in cm. | |
| item_height_cm | No | Item height in cm. | |
| item_length_cm | No | Item length in cm — provide all three item dims to get a load-fit calculation. | |
| item_weight_kg | No | Item weight in kg — caps the fit by max payload. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnlyHint annotation, the description reveals concrete behavior: per-record provenance, unknown-type errors returning the valid slug list, geometric best-effort fits with explicit non-modeling caveats, and rate limiting where 429 returns retry_after_seconds. This is rich behavior the annotations alone do not cover.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
While the description is long and dense, each sentence earns its place: covering supported types, invocation variants, fit semantics, provenance, error behavior, rate limits, and sibling routing. It is structured and front-loaded, but a little heavy for agents scanning quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given readOnlyHint, idempotentHint, and openWorldHint=false, plus an output schema and 100% parameter schema coverage the description still fills important gaps: exact rate limits, best-effort fit limitations, error-response form, and related-tool routing. An agent has all the behavioral context needed to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema text already covers all six parameters at 100% coverage, including examples like '20ft-standard' and note that length is required to trigger the load-fit calculation. The description restates some of this framing (omit type to list all, adding dims computes fit) but does not add meaning significantly beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Get ISO shipping-container specifications, with optional load-fit maths.' It enumerates exactly which 10 container types are covered, and this high-level statement is sufficiently distinct from siblings like cbm_calculator, uld_lookup, and validate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The Related section explicitly differentiates sibling tools: validate checks a container number's check digit, cbm_calculator/consignment_calculator handle cargo volume, and uld_lookup is the air-freight equivalent. This gives clear context for choosing this tool over alternatives, though it does not give an exhaustive when-not-to-use list.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
emissions_calculatorARead-onlyIdempotentInspect
Estimate freight transport greenhouse-gas emissions (kgCO2e) for a shipment leg, per ISO 14083:2023 / GLEC Framework v3.2: emissions = mass x distance x a published emission-intensity factor (kgCO2e/tonne-km).
Provide mass + distance_km + mode (road | rail | sea | air | inland_waterway); optionally choose sub_mode, region/authority (uk = DEFRA, us = EPA, fr = ADEME) and basis (wtw default, or ttw). IMPORTANT: pass ACTUAL GROSS MASS, not chargeable/volumetric weight (a common air-freight mistake — see mass_basis in the result). Distance must be provided — this tool does NOT route, geocode, or compute distances.
Behavior: deterministic given the same factor edition; the fleet-average factor already includes average empty running (see empty_running) — do NOT add your own empty-return leg; sea and air are low-representativeness generic defaults (real emissions vary materially by vessel/aircraft, load factor and routing — see representativeness and the result summary). An unknown mode/sub_mode/region returns available:false with the covered options, never a fabricated factor. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: well-to-wheel AND tank-to-wheel emissions where the factor has both, the exact factor used (value, authority, edition), the tonne-km activity and a per-result _source citing BOTH the ISO method and the specific open factor, all under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: best-effort reference estimate from open factors (DEFRA / EPA / ADEME) — NOT a verified or audited carbon report.
Related: distinct from cbm_calculator / ldm_calculator / chargeable_weight_calculator (those size or bill a shipment; this one estimates its CO2e).
| Name | Required | Description | Default |
|---|---|---|---|
| mass | Yes | Shipment mass, expressed in mass_unit. Example: 1000. | |
| mode | Yes | Transport mode. | |
| basis | No | Emissions basis: wtw = well-to-wheel incl. upstream (default), ttw = tank-to-wheel / operation only. | |
| region | No | Factor source/region: uk = DEFRA, us = EPA, fr = ADEME. Default is per-mode. | |
| sub_mode | No | Optional sub-mode / vehicle class (e.g. "articulated", "container ship", "long-haul"). Omit for the representative default. | |
| mass_unit | No | Unit for mass. Default: kg. | |
| distance_km | Yes | Transport distance in kilometres — you provide it; the tool does not route. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate read-only, idempotent, non-destructive behavior, and the description adds substantial behavioral detail beyond that: deterministic results, built-in empty running, low representativeness for sea/air, unknown inputs returning available:false rather than fabricated factors, and rate-limiting behavior with 429 handling. The description is fully consistent with the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but every sentence earns its place. It front-loads the core formula and required inputs, then adds important parameter guidance, behavioral notes, return-envelope content, limitations, and sibling-tool distinctions. It is well-organized into functional paragraphs with no fluff or tautology.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 7 parameters, an output schema, and a rich context from sibling tools, this description is complete: it covers input requirements, key parameters, edge cases (unknown returns, rate limits), the return envelope, limitations, and explicit distinction from related calculators. An agent has everything needed to select and invoke the tool correctly without external guesswork.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Although schema descriptions cover all 7 parameters, the tool description adds critical semantic nuance: actual gross mass vs chargeable/volumetric weight (a common air-freight mistake), the fact that distance is caller-provided with no routing behavior, the meaning of wtw vs ttw, and region/authority mappings (uk=DEFRA, us=EPA, fr=ADEME). This goes well beyond the schema's short field descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description opens with a specific verb and resource: 'Estimate freight transport greenhouse-gas emissions (kgCO2e) for a shipment leg' per ISO/GLEC standards. It clearly defines the calculation formula and the required inputs. The closing line distinguishes it from cbm_calculator, ldm_calculator, and chargeable_weight_calculator by stating those size/bill a shipment while this one estimates CO2e.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly instructs when to use the tool and with what care: pass actual gross mass not chargeable weight, provide distance because the tool does not route, and do not add an empty-return leg. It also names sibling calculators that are distinct and directs to get_subscribe_link for higher rate limits. This is full usage guidance with both affirmative and exclusionary conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_subscribe_linkARead-onlyIdempotentInspect
Get the URL where the user can subscribe to FreightUtils Pro for higher API limits (50,000 requests/month). Use when the user asks how to upgrade or about pricing, or after any other tool errors with a 429 rate_limited body.
Behavior: static local response — no API call, never rate-limited.
Returns: url, tier, monthly_limit, monthly_price, currency and note under result. Hand the URL to the USER to open in a browser — agents must NOT attempt to complete the subscription themselves.
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Tier to surface. Only "pro" is supported today. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses that this is a static local response with no API call and cannot be rate-limited, which adds meaningful behavior beyond the annotations. It also specifies the return fields and instructs the agent to hand the URL to the user. No contradiction with annotations found.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured: it starts with the primary purpose, then adds usage triggers, behavioral details, return information, and usage caution. Every sentence provides meaningful guidance without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple static tool with one optional parameter and an output schema, the description covers all necessary operational context: when to call, what happens, and what the agent should do with the result. There is no missing information that could lead to incorrect invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single optional parameter tier is fully documented in the input schema, including the enum value 'pro' and its meaning. The description mentions the pro tier context but does not need to add more because schema coverage is 100%. This is a case where the schema correctly carries the parameter details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
State a specific action: retrieving the subscription URL for FreightUtils Pro. It explicitly ties to higher API limits and clarifies the condition when it is relevant. The distinction from sibling calculator/lookup tools is clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use guidance: when the user asks about upgrade/pricing or after a 429 rate_limited error. It also tells the agent what not to do (agents must not complete subscription), which is clear and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hs_code_lookupARead-onlyIdempotentInspect
Search 6,940 WCO Harmonized System (HS 2022) commodity codes — the 6-digit international customs classification layer. The first 2 digits are the chapter, 4 the heading, 6 the subheading.
Provide ONE of: query (free-text description search, min 2 chars), code (2-6 digit lookup, returns the code plus its hierarchy), or section (Roman numeral I-XXI to browse a section).
Behavior: read-only; description search is keyword-based against official HS descriptions, so everyday product words can return zero rows — count 0 with an empty results[] is a valid answer (e.g. "laptop" and "computers" find nothing; "automatic data" matches the official phrasing "automatic data processing machines"); prefer the formal tariff wording. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: the query/code echo, count and results[] (hscode, description and hierarchy context) under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: the 6-digit international level only — national tariff lines (8-10 digits) and duty rates are set per country; classification here is indicative, not a binding ruling.
Related: uk_duty_calculator (duty/VAT for a code found here), ics2_check (EU ENS goods-description quality — a different check entirely).
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Exact HS code or prefix — 2, 4 or 6 digits. Example: "8471". | |
| query | No | Keyword search on official HS descriptions (min 2 chars). Formal tariff wording works best. Example: "automatic data" rather than "laptop". | |
| section | No | Browse a section by Roman numeral I-XXI. Example: "XVI" (machinery). |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide readOnlyHint and idempotentHint, but the description goes far beyond by covering rate limits, 429 retry behavior, keyword search matching official WCO phrasing, and the validity of zero-row results. It also clearly states limitations around national tarrifi lines and legal binding. This is strong behavioral disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is longer than average but every sentence earns its place: parameter modes, search behavior, rate-limits, return envelope, jurisdictional limitations, and related tools are each clearly structured. It avoids filler while remaining front-loaded with the core purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given an output schema exists, the description still covers the full operational shape: invocation modes, valid answer semantics, error handling, and stale limitations. An agent can safely invoke it and interpret results without additional information.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema already documents all three parameters, so the baseline is 3. The description adds meaningful context: the hierarchy of 2/4/6-digit codes, the need for formal tariff wording in queries, and that section means Roman numeral I-XXI. This is more than the schema provides. A minor gap is there is no explicit handling of multiple parameter combinations beyond stating ONE.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: searching 6,940 WCO Harmonized System HS 2022 codes at the 6-digit international layer. It further explains the code structure and clearly differentiates this lookup from related tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says when to use this tool vs alternatives, including which parameter mode to choose. It names uk_duty_calculator and ics2_check as related but different tools, and directs callers to get_subscribe_link for rate limiting. This leaves no ambiguity about selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ics2_checkARead-onlyIdempotentInspect
Check a goods description against the official EU ICS2 stop-words list — terms the European Commission deems too vague or generic for an entry summary declaration (ENS) goods-description field (data element 18 05 000 000).
Pass description=. Behavior: deterministic term matching against the in-force EU list; each flagged term carries a note (a standalone stop-word means automatic rejection, an embedded one means make the description more specific); clean=true means no listed term matched — it does NOT guarantee acceptance, and no binary accepted/rejected verdict is given. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: the description echo, flagged[] (term + note), clean, caveat and disclaimer under result, plus a _source citing the EU list and legal basis, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: STRICTLY a reference check — not an ENS filing, not a customs-compliance determination, not legal advice; the EU list is non-exhaustive and updated periodically.
Related: hs_code_lookup (commodity codes — a different field of the ENS), uk_duty_calculator (duty/VAT, unrelated to ENS screening). Use BEFORE filing an ENS — for customs/documentation teams, brokers and agents building filing pipelines.
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | The goods description to check. Example: "gifts" (flagged) vs "wooden toys for retail" (specific). |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
注解已声明readOnlyHint、idempotentHint和destructiveHint,描述在此基础上补充关键行为信息:确定性匹配、无二进制接受/拒绝裁决、clean≠保证通过、限流机制(429响应含retry_after_seconds)、以及超出限制时应调用get_subscribe_link。还披露了非穷尽列表、定期更新等能力边界,远超注解能表达的内容。
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
描述虽然较长,但每个句子都有明确的信息价值:从核心行为、返回结构、速率限制、限制条款到相关工具路由,信息密度高,没有冗余内容。关键用法说明(确定性匹配、clean含义、非保证性质)前置,限制和替代品放在后部层次清晰。
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
对于单参数工具,描述已覆盖输入方向、输出结构(echo/flagged/clean/result/caveat/_source等)、已知行为特化、限流边界、误差与使用场景,以及相关工具链接。尽管输出schema存在,描述仍然显式列出返回的关键字段,帮助代理预期输出语义;因此上下文完备,无需额外推断。
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
输入schema只有一个desc参数,且覆盖了100%,自带对比示例('gifts' vs 'wooden toys for retail'),因此参数语义已经由schema充分完成。描述中仅复述'Pass description=<goods description>',没有在schema示例之外增加大量新的参数语义或格式约束,按基线评分3分。
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
描述用明确动词+宾语+范围说明工具功能:检查货物描述匹配欧盟ICS2禁止词列表,用于ENS申报。同时通过与兄弟工具hs_code_lookup和uk_duty_calculator的对比,清晰区分职责范围,代理无需打开schema即可理解工具用途。
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
明确说明使用场景(在提交ENS之前进行筛查)、目标用户(海关/文件团队、报关行、代理)、以及何时不使用本工具(不是提交ENS,不是合规判定,不是法律建议)。还明确指出哪些兄弟工具用于其他功能的替代选择,让代理能做出正确的路由决策。
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
incoterms_lookupARead-onlyIdempotentInspect
Look up the 11 Incoterms 2020 trade rules — who pays for transport, insurance and customs clearance, and where risk transfers from seller to buyer. 7 rules work for any transport mode (EXW, FCA, CPT, CIP, DAP, DPU, DDP); 4 are sea/inland-waterway only (FAS, FOB, CFR, CIF).
Provide code for one rule, category (any_mode | sea_only) for a filtered list, or neither to list all 11. Behavior: read-only reference; an unknown code errors with the valid code list. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: the rule record — name, category, summary, seller_responsibility, buyer_responsibility, risk_transfer, cost_transfer, insurance, export/import clearance, best_for and watch_out — under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: summarised guidance on ICC Incoterms 2020; the ICC publication is the binding text and specific contract wording prevails.
Related: uk_duty_calculator (accepts an incoterm when composing the CIF value), shipment_summary (composite analysis).
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Three-letter Incoterms 2020 code. Examples: "FOB", "CIF", "EXW", "DAP". | |
| category | No | Filter the list: any_mode (7 rules) or sea_only (4 rules). |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description is read-only, idempotent, and harmful: true for readOnlyHint, so the baseline transparency burden is reduced. It meaningfully adds behavior: read-only reference, errors on unknown codes, rate-limited to 25 requests/day for anonymous use, with retry semantics for 429 responses and a Retry-After header. It also summarizes the response fields, giving more than annotations alone would provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficient and logically structured: purpose first, then parameter modes, then behavior/error/rate-limit considerations, then return value. Every sentence adds operational value, and the wording is compact with no repetitive padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-optional-parameter tool, the description covers invocation, list filtering, error behavior, rate limits, retry handling, and output shape. It is slightly ambiguous about whether code and category can be combined, and it does not explicitly state that list results are an array, but the output schema is available and covered most of that. Overall it provides enough context for correct use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% because both code and category have descriptions and examples. The description adds meaning beyond the schema by defining the three valid modes: single code, category-filtered list, or neither to list all 11. This clarifies interaction between the two optional parameters, though it does not explicitly state what happens if both code and category are sent.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: lookup the 11 Incoterms 2020 trade rules, and specifically covers payment for transport/insurance/customs plus risk transfer. It sharpens purpose by splitting the rules into any-mode versus sea-only modes, which clearly differentiates the domain from sibling lookup tools. This is not a tautology and gives a clear, distinct purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly explains how to call the tool: provide a code, provide a category, or provide neither for a complete listing, and it warns that unknown codes error with the valid code list. It also directs heavy users to get_subscribe_link for higher rate limits. It lacks an explicit 'when not to use this' statement relative to other lookup siblings, but the intended invocation context is otherwise clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ldm_calculatorARead-onlyIdempotentInspect
Calculate loading metres (LDM) for European road freight — how much trailer length a pallet load occupies. 1 LDM = 1 linear metre of a 2.4m-wide trailer; a standard artic is 13.6 LDM.
Provide a pallet preset OR custom length_mm + width_mm — omitting both errors with a usage hint. Behavior: deterministic; stackable=true with stack_height 2 or 3 divides the floor footprint accordingly; fits reports whether the load fits the chosen vehicle's LENGTH (give weight_kg to also see total_weight_kg against the vehicle's max payload); utilisation_percent is of the vehicle's length. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: ldm, vehicle (name, length_m, max_payload_kg), utilisation_percent, pallet_spaces (used/available), total_weight_kg, fits and warnings under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Related: vehicle_lookup (the trailer specs behind the vehicle presets), pallet_fitting_calculator (boxes onto one pallet), consignment_calculator (mixed lines including LDM).
| Name | Required | Description | Default |
|---|---|---|---|
| pallet | No | Pallet preset: euro=1200x800mm, uk=1200x1000mm, half=800x600mm, quarter=600x400mm. Provide this OR length_mm + width_mm. | |
| vehicle | No | Vehicle preset: artic = 13.6m curtainsider (default), rigid10 = DEPRECATED, removal in 3.0.0 (it still answers with the same figures and returns a DEPRECATED advisory in warnings[]; its 10 m length is published by no manufacturer for any rigid — use custom with vehicle_length_m, or artic), rigid75 = 7.5t rigid, luton = 3.5t Luton van, us53 = 53ft US/Canada trailer, us48 = 48ft US trailer, or custom. EU presets divide by the 2.40 m loading-metre convention; US trailers divide by their own 2.591 m internal width, because loading metres are not the North American pricing unit. | |
| quantity | No | Number of pallets. Default: 1. | |
| width_mm | No | Custom pallet width in millimetres. Example: 980. | |
| length_mm | No | Custom pallet length in millimetres (use with width_mm instead of a preset). Example: 1140. | |
| stackable | No | Whether pallets can be double/triple-stacked — halves (or thirds) the floor footprint. Default: false. | |
| weight_kg | No | Weight per pallet in kg — enables the payload side of the fits check. | |
| stack_height | No | Stack height when stackable: 2 or 3. Default: 2. | |
| vehicle_length_m | No | Custom vehicle load length in metres (required when vehicle=custom). |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the description needs to add only behavioral context, which it does: rate-limiting at 25/day with 429 retry handling, deterministic behavior, stackable semantics, the length-only fits check, and the warning/depreceived advisories. No contradiction with the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but every sentence earns its place: it defines, lists required/optional combinations, explains behavioral results, names rate-limit/retry rules, and routes to siblings. The structure is logical — concept, usage, behavior, output, related tools — with no filler or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 9 parameters, 2 enums, no required params, and an output schema, the description is complete enough to invoke the tool correctly. It covers the critical success condition (pallet vs custom dimensions), vehicle presets including deprecation, rate limits and retry, the result envelope fields, and the sibling-tool routing. Nothing an agent needs to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with rich descriptions for every parameter, so the schema does most of the heavy lifting. The description adds useful cross-parameter semantics that the schema alone cannot convey: the 'pallet preset OR custom length_mm + width_mm' exclusivity, the stack_stack_height effect on floor footprint, and the effect of weight_gg enabling the payload part of fits.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Calculate loading metres (LDM) for European road freight' and defines the unit precisely ('1 LDM = 1 linear metre of a 2.4m-wide trailer'). It differentiates this calculator from related sibling tools by pointing to vehicle_lookup, pallet_fitting_calculator, and consignment_calculator with distinct one-line scopes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit usage rules: 'Provide a pallet preset OR custom length_cm + width_mm — omitting both fails with a usage hint,' and explains optional-parameter trade-offs such as 'give weight_kg to also see total_weight_kg' and 'stackable = true with stack_height 2 or 3'. It also names alternatives through the Related list, letting the agent route to the right sibling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nearest_airportARead-onlyIdempotentInspect
Find the airports nearest to a caller-provided latitude/longitude, sorted by great-circle (haversine) distance with distance_km on each result. Searches 85,555 airports (OurAirports, public domain).
Provide latitude and longitude (decimal degrees); optional radius_km, max_results (1-50, default 10) and type filter (e.g. large_airport only). Coordinates are INPUT only — nothing is stored or logged.
Behavior: deterministic distance sort; confidence reflects proximity and airport size (a large airport within 25 km scores high; closed/heliport/seaplane results cap lower). This tool does NOT geocode place names and does NOT compute routes — pass coordinates you already hold. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: count and results[] (the airport record plus distance_km) under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: reference data only — not for navigation; verify codes with IATA / ICAO.
Related: airport_lookup (exact code or name lookup, no distance), unlocode_lookup (named transport-location search).
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional filter by airport type. Example: "large_airport". | |
| latitude | Yes | Latitude in decimal degrees (-90 to 90). Example: 51.47. | |
| longitude | Yes | Longitude in decimal degrees (-180 to 180). Example: -0.4543. | |
| radius_km | No | Maximum distance in kilometres — omit for no radius cap. | |
| max_results | No | Maximum results (1-50). Default: 10. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint. The description adds significant behavioral context: coordinate inputs are not stored or logged, the sort is deterministic, confidence semantics are explained, rate limiting is disclosed with retry_after_seconds and Retry-After header, and the tool is reference-only, not for navigation. This goes well beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is detailed but every sentence carries operational value: scope, dataset size, required and optional parameters, exclusionary behavior, rate-limit details, output format, limitations, and related tools. The key purpose is front-loaded, and there is no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers required inputs, optional parameters, output response envelope, error behavior, limitations, data source, and sibling tools. There is an output schema present, so return values are contextualized. The definition is more than complete for an agent to select and invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already defines all parameters with ranges, examples, and defaults; the description mostly restates this. It adds no truly new parameter semantics beyond what is in the schema, so a baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Find the airports nearest to a caller-provided latitude/longitude, sorted by great-circle (haversine) distance.' It clearly differentiates itself from siblings like airport_lookup and unlocode_lookup by stating it does not geocode place names and does not compute routes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool ('pass coordinates you already hold') and what it does NOT do ('does NOT geocode place names and does NOT compute routes'). It also names related alternatives (airport_lookup, unlocode_lookup) with their different purposes.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pallet_fitting_calculatorARead-onlyIdempotentInspect
Calculate how many identical boxes fit on a pallet: boxes per layer (trying 90-degree rotation when allowed), layer count within the max height, totals, volume utilisation and weight capping.
Behavior: deterministic geometric packing of one box size in aligned rows and columns — it does not model interlocked or mixed-orientation patterns; weight_limited reports when max_payload_kg caps the count below the geometric fit; pallet_deck_height_cm defaults to 15. Missing or non-positive dimensions error naming the parameter. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: boxes_per_layer, layers, total_boxes, orientation, boxes_per_row/col, usable_height_cm, utilisation_percent, total_box_volume_cbm, wasted_space_cbm and the weight fields under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: a theoretical best-effort fit — real stacking obeys carton strength, overhang and load-stability rules it does not model.
Related: ldm_calculator (pallets into trailer length), vehicle_lookup (pallet capacity per vehicle), container_lookup (pallets into containers).
| Name | Required | Description | Default |
|---|---|---|---|
| box_width_cm | Yes | Box width in cm. | |
| box_height_cm | Yes | Box height in cm. | |
| box_length_cm | Yes | Box length in cm. | |
| box_weight_kg | No | Weight per box in kg — enables the weight-capping check. | |
| allow_rotation | No | Try 90-degree box rotation for the best layer fit. Default: true. | |
| max_payload_kg | No | Maximum pallet payload in kg. Example: 1000. | |
| pallet_width_cm | Yes | Pallet width in cm. Example: 80 (euro pallet). | |
| pallet_length_cm | Yes | Pallet length in cm. Example: 120 (euro pallet). | |
| pallet_max_height_cm | Yes | Maximum stack height in cm INCLUDING the pallet deck. Example: 180. | |
| pallet_deck_height_cm | No | Pallet deck height in cm. Default: 15. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Adds substantial behavioral details beyond the annotations: deterministic geometric fitting only, no interlocked or mixed orientations, weight-limit capping behavior, default pallet_deck_height_cm, error behavior for missing or non-positive dimensions, and rate-limiting with retry details and 429 handling. The description does not contradict annotations and enriches what it means for the operation to be read-only and idempotent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is structured into clear labeled sections: Behavior, Returns, Limitations, Related. The first sentence delivers the core purpose, and each additional section provides vital operational context without wasted words. It is longer than average but every sentence serves a functional purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the full calling context: what the result includes, which alternative tools to consider, limitations, rate limiting, retry behavior, and callback to a subscription tool for higher limits. The presence of an output schema is not ambiguous, and the in-description return list is sufficient for an agent to plan its use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with each parameter described, including defaults and examples. The description does not introduce new parameter semantics beyond that, though it confirms the relation between max_payload_kg and weight_limited and allow_rotation with the mention of 90-degree rotation. Since the schema already carries the full parameter meaning, a baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Calculate how many identical boxes fit on a pallet' and enumerates the exact outputs. It distinguishes itself from related tools by citeing ldm_calculator, vehicle_lookup, and container_lookup with their different roles.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Related tools are named with their distinct purposes ('pallets into trailer length', 'capacity per vehicle', 'pallets into containers'), which implicitly routes an agent. No explicit 'when to use vs when not' statement is present, but the limitations paragraph makes the scope clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
resolve_referenceARead-onlyIdempotentInspect
Resolve an arbitrary freight identifier — one opaque string in, typed and cited candidates out. The agent front door: when you hold an identifier-ish token ("176", "UN1845", "NLRTM", "FOB", "22G1", "MSKU1100810", "D/E") and do not know which lookup tool fits, call this FIRST and follow the candidate's api_url / canonical_url (or the matching sibling tool) for depth.
Provide q: ONE identifier (single token, max 32 chars). Thirteen grammars all run — UN numbers, AWB prefixes, airline IATA/ICAO, airport IATA/ICAO, UN/LOCODE, ISO 6346 container numbers (check digit computed), HS codes (6-10 digits; national lines resolve at their 6-digit international parent), Incoterms, ADR tunnel codes, ULD serials, ISO container size/type codes. Ambiguity is the product: colliding grammars return MULTIPLE ranked candidates ("LHR" is Heathrow AND an Egyptian carrier's ICAO), never a silent guess.
Behavior: deterministic — normalize (trim, uppercase, collapse spaces/dashes, strip a UN prefix), match ALL grammars, rank by record-hit > verification status > static dataset prior (airlines/adr/unlocode first) > stable tiebreak; every candidate carries rank_basis so the ordering is inspectable. Zero candidates is a VALID result (count 0 + note), never an error. A failed container check digit returns a candidate with valid:false rather than dropping it. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: query, normalized, count and candidates[] — each with entity_type, identifier_type, value_normalized, summary, record (the core fields the matching dataset holds), verification_status + verification_basis, rank_basis, canonical_url, api_url and a per-candidate dataset citation — under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: v1 is SINGLE-TOKEN resolution, not free-text extraction — pass one identifier, not a manifest line; SCAC/BIC codes are not yet covered; a match asserts the identifier is known/well-formed, not that a shipment exists.
Related: every lookup tool this resolves into — adr_lookup, airline_lookup, airport_lookup, unlocode_lookup, hs_code_lookup, incoterms_lookup, container_lookup, uld_lookup, validate.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | One freight identifier — e.g. "176", "UN1845", "NLRTM", "FOB", "LHR", "22G1", "MSKU1100810", "090111", "AKE12345AB", "D/E". |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Although annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, the description adds rich behavioral detail: deterministic normalization, exhaustive grammar matching, ranked candidates with inspectable basis, a valid zero-result case, failed check-digit handling, and rate-limit behavior with 429 + retry_after_seconds. This substantially exceeds the minimal safety profile provided by annotations and informs the agent about edge cases, ordering, and failure modes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is longer than most, but almost every sentence carries functional content, and the first section immediately communicates the tool's role. It is front-loaded with the use case and then proceeds methodically through behavior, return data, and limitations. The response-schema field enumeration is somewhat redundant with the output schema, but in a complex multi-format tool that redundancy helps the agent mentally map results.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's high complexity (thirteen grammars, ranking, rate limiting, output envelope) and the rich input/output schemas, the description is exceptionally complete. It explains what the result list contains, how to interpret zero results and invalid check digits, what happens under rate limiting, and which sibling tools to route to for depth. Nothing an agent needs to make a correct call or interpret the output is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage for q is 100%, so the baseline is 3. The description goes beyond the schema by clarifying q must be a single token (max 32 chars), not free text or a manifest line, and by giving identity context (normalization strips prefixes, colliding grammars produce multiple candidates). This adds important semantic nuance about granularity and ambiguity that is not present in the schema alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a precise verb and resource: "Resolve an arbitrary freight identifier — one opaque string in, typed and cited candidates out." It immediately distinguishes itself from the many sibling lookup tools by framing itself as the agent front door for ambiguous identifier tokens, and reinforces this with a long list of identifier examples. This is a specific, actionable purpose that an agent can reliably select on.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use the tool: "call this FIRST" when holding an identifier-ish token and not knowing which lookup tool fits, and then "follow the candidate's api_url / canonical_url (or the matching sibling tool) for depth." It also gives true exclusions — single-token only, not free-text, SCAC/BIC not covered — and lists the resolved sibling tools, so an agent receives both inclusion and exclusion criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
shipment_summaryARead-onlyIdempotentInspect
Composite shipment analysis in one call: volume (CBM), gross and chargeable weight, road LDM with pallet spaces and a vehicle suggestion (road mode), volumetric weight (air), revenue tonnes with a container suggestion (sea), dangerous-goods presence for items carrying un_number, and UK duty estimates for items carrying hs_code + customs_value.
Provide mode (road | air | sea | multimodal) and items[] (dims in cm, weight in kg, quantity; optional stackable, pallet_type, hs_code, un_number, customs_value); origin/destination and incoterm refine the duty leg.
Behavior: calls the ldm_calculator, adr_lookup and uk_duty_calculator engines directly; CBM, volumetric weight and revenue tonnes are the same arithmetic inline rather than a call out. Road LDM uses the 2.40 m loading-metre convention divisor and, like ldm_calculator, treats an item with no stackable flag as NOT stacked. modeSpecific.palletSpaces is pallet FLOOR POSITIONS (the figure ldm_calculator reports); palletRows is the separate row count. Sections that cannot run (e.g. duty without a customs value) surface in warnings instead of failing the whole call. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: mode, itemCount, totals {pieces, grossWeight, volumeCBM, chargeableWeight, billingBasis}, modeSpecific (LDM / pallet floor positions / pallet rows / suggested vehicle, or revenue tonnes / container), warnings and dataVersion (road mode attributes the vehicle dataset and the LDM divisor) under result — note this composite's result uses camelCase field names (legacy shape); plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: a planning summary, not a quotation or compliance determination.
Related: consignment_calculator (canonical snake_case lines[] shape with advisory flags), cbm_calculator, chargeable_weight_calculator, ldm_calculator, adr_lookup, uk_duty_calculator. ldm_calculator, adr_lookup and uk_duty_calculator are the engines this actually calls; the rest are the single-purpose equivalents of arithmetic it does inline.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Transport mode — selects the mode-specific section of the result. | |
| items | Yes | Shipment items with dimensions, weight and optional HS/UN codes. | |
| origin | No | Origin — ISO country code and optional UN/LOCODE. | |
| incoterm | No | Incoterms 2020 three-letter code. Examples: "DAP", "EXW", "FOB". | |
| destination | No | Destination — ISO country code and optional UN/LOCODE. | |
| freight_cost | No | Freight cost in GBP for the duty calculation. | |
| insurance_cost | No | Insurance cost in GBP for the duty calculation. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already carry readOnlyHint/idempotentHint/destructive=false, and the description adds substantial behavior beyond them: the 2.40 m loading-metre divisor, 'no stackable flag treated as NOT stacked', palletSpaces as floor positions versus palletRows, partial failures surfacing in warnings instead of failing the call, the 25 requests/day IP rate limit with 429 retry_after_seconds and Retry-After header, and the legacy camelCase result shape. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Long (~350 words) but front-loaded: the first sentence states the entire scope, followed by clean Inputs/Behavior/Returns/Limitations/Related sections. Some redundancy exists (engine calls and pallet floor positions appear twice), but for a composite tool merging three engines across four modes, dense detail is warranted rather than waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 7-parameter, 4-mode composite with nested objects and an output schema, the description is complete: all input semantics, mode-specific conventions, error/rate-limit handling, return shape summary, limitations ('planning summary, not a quotation or compliance determination'), and sibling routing are covered. The existence of an output schema excuses full return-value enumeration.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 relational meaning beyond individual field docs: 'origin/destination and incoterm refine the duty leg,' the conditional enabling of sections (hs_code + customs_value → duty; un_number → DG), and a compressed statement of the items[] field set and units. This is a modest but real increment over the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with 'Composite shipment analysis in one call' and itemizes every computation: CBM, gross/chargeable weight, road LDM with pallet spaces and vehicle suggestion, volumetric weight, revenue tonnes with container suggestion, DG presence, and UK duty. The specific resource and scope are unmistakable, and the Related section hard-distinguishes it from the single-purpose siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly names alternatives and their relationship: consignment_calculator (canonical snake_case lines[] shape with advisory flags), the three engines it actually cals (ldm_calculator, adr_lookup, uk_duty_calculator), and 'the rest are the single-purpose equivalents of arithmetic it does inline.' Also routes to get_subscribe_link for higher rate limits. When-to-us vs alternatives is fully stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
uk_duty_calculatorARead-onlyIdempotentInspect
Estimate UK import duty and VAT for a commodity code using the LIVE GOV.UK Trade Tariff — rates are fetched per request, not from a static table. The CIF value is composed from customs_value + freight_cost + insurance_cost; duty = CIF x the duty rate for the origin country; VAT (typically 20%) applies on the duty-inclusive value.
Provide commodity_code (6-10 digits), origin_country (ISO-2) and customs_value in GBP; freight_cost, insurance_cost and incoterm are optional refinements.
Behavior: live lookup plus deterministic arithmetic on the returned rate; an unknown or non-declarable commodity code errors with HMRC's message (a 6-digit code may need extending to its 8/10-digit declarable line); origin-dependent measures the tariff cannot resolve automatically surface in warnings. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: commodity_code and description, origin country, cif_value, duty_rate (+ percent), duty_amount, vat_rate, vat_amount, total_import_taxes, total_landed_cost and warnings under result; validity.as_of marks the live-rate timestamp; plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: an estimate, not a customs ruling — excise, quotas, anti-dumping measures, reliefs and origin-proof requirements can change the outcome; confirm with a customs broker or HMRC before relying on it.
Related: hs_code_lookup (find the 6-digit code first), incoterms_lookup (who actually pays these costs).
| Name | Required | Description | Default |
|---|---|---|---|
| incoterm | No | Incoterms 2020 basis of the customs_value — documents which costs are already included. | |
| freight_cost | No | Freight cost in GBP — added to the CIF value. Default: 0. | |
| customs_value | Yes | Goods value in GBP. Example: 1000. | |
| commodity_code | Yes | HS/UK tariff code, 6-10 digits. Example: "8471300000" (portable computers). 6-digit codes may need the declarable 8/10-digit line. | |
| insurance_cost | No | Insurance cost in GBP — added to the CIF value. Default: 0. | |
| origin_country | Yes | ISO 2-letter country of origin. Examples: "CN", "DE", "US". |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds a substantial amount beyond the annotations: rates are fetched live per request, unknown or non-declarable codes error with HMRC's message, origin-dependent measures surface as warnings, and there is a rate limit with 429 handling and a retry_after_seconds field. This is exactly the behavioral detail an agent needs and uses.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is longer than typical but every section serves a purpose: behavior, returns, limitations, related tools. The core purpose and formula are front-loaded, and optional details are clearly segmented. Some return-field details could be left to the output schema, but nothing feels wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity, the rich output schema, 6 parameters, external dependency (live GOV.UK Tariff), rate limits, and related workflows, the description is complete. It covers error behavior, retry logic, return fields, limitations, and alternative/related tools. An agent can predict the tool's behavior and side effects without further documentation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already covers all 6 parameters with detailed descriptions and examples, so the baseline is met. The description adds extra meaning by defining the CIF calculation, stating optional parameters default to 0, and noting that commodity_code may need extension from 6 to 8/10 digits. It doesn't fully expand on incoterm semantics, but the schema covers that.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Estimate UK import duty and VAT for a commodity code using the LIVE GOV.UK Trade Tariff'. It goes on to explain the calculation formula and clearly separates this tool from siblings like hs_code_lookup and incoterms_lookup, so an agent can tell which tool to invoke.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly identifies required versus optional inputs and provides related-tool guidance such as 'hs_code_lookup (find the 6-digit code first)' and 'incoterms_lookup (who actually pays these costs)'. It does not spell out exact 'use this instead of' conditions, but the context makes the intended usage clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
uld_lookupARead-onlyIdempotentInspect
Look up air-cargo ULD (Unit Load Device) specifications — 16 types spanning lower-deck containers (AKE/LD3 and family), main-deck pallets (PMC, PAG and family) and temperature-controlled units. Each record carries external/internal/door dimensions (cm), tare and max gross weight (kg), usable volume (m³), deck position and compatible aircraft.
Provide type as an IATA code ("AKE", "PMC") or slug ("ake-ld3"); omit it to list all 16; category (container | pallet | special) and deck (lower | main) filter the list.
Behavior: read-only; an unknown type errors with the valid list; per-record provenance (sources, audited_at, decision_rationale) is included. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: the ULD record (or filtered list) under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: specs are compiled from manufacturer and carrier-published sources with ≥7 cited sources per record. Provenance is PENDING, not verified — read the envelope's provenance_status rather than this sentence. Second-agent coverage is now COMPLETE — every cited record-URL pairing has been opened and verdicted by a second agent, and 145 of 148 citations carry a timestamped read (the 3 without one were never opened, and say so). COVERAGE IS NOT AGREEMENT, which is why provenance is still pending: reading every page is what made the disagreements visible, not what resolved them. The second agent also WITHDRAWS stamps — pages a first pass had confirmed turned out not to list the code, or to disagree once somebody read the words around them — so treat an unstamped citation as evidence that was tried and failed, not evidence not yet gathered. CORROBORATION IS COUNTED BY PUBLISHER, NOT BY URL: the 148 citations resolve to 125 distinct sources, because several records cite one publisher at several of its own addresses (one carrier's pallet table appears in three of its documents) and several forwarders republish a single upstream template. Two citations of the same source cannot corroborate each other, so a long source list is not the same as a well-corroborated record. Treat tare_weight with particular caution: it is confirmed by no non-tertiary source on 13 of the 16 records. PGA's 565 kg is now read-confirmed by one carrier (Cathay, basis stated on the page as including nets) while two other carrier pages publish 535 kg and 505-545 kg on that same basis, so it is the top of a contested band rather than an agreed figure. Confidence is medium and a PROVENANCE_PENDING advisory rides every response. Pallet records (PMC, PAG, PGA, PLA, PAJ, PMCQ7) have NO internal dimensions — a pallet has no walls or roof; read max_build_up_height_cm for the aircraft contour ceiling and do not multiply dimensions to get a volume. Airline-specific ULD variants still differ; confirm operationally critical dimensions with the carrier.
Related: chargeable_weight_calculator (what the cargo inside is billed at), container_lookup (the sea-freight equivalent), airline_lookup (whose aircraft it flies on).
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Filter by deck position. | |
| type | No | IATA ULD code or slug. Examples: "AKE", "PMC", "ake-ld3". Omit to list all 16. | |
| category | No | Filter by ULD category. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnly/idempotent/destructive annotations, it discloses unknown-type error behavior, rate limiting with 429 and retry_after_seconds, Retry-After header, pending provenance status, and pallet-specific caveats like no internal dimensions. This is rich, honest behavioral context. It is also consistent with the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but front-loaded with the core look-up purpose and organized into explicit sections: behavior, returns, limitations, and related tools. The length is mostly justified by substantive caveats; however, the limitations paragraphs are unusually verbose and repetitive in places,
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
It covers input values, return envelope structure, error and retry behavior, rate limits, data provenance, domain-specific caveats about pallet dimensions and weight figure reliability, and related tools. Combined with the 100% schema coverage and an output schema, an agent can invoke and interrogate this tool safely.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already documents all parameters at 100% coverage, including the same examples ('AKE', 'PMC', 'ake-ld3') and filters. The description adds little beyond restating filter behavior and the omission rule, so the high baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a precise verb and resource — 'Look up air-cargo ULD specifications' — and immediately scopes 16 types across lower-deck containers, main-deck pallets, and temperature-controlled units. It differentiates itself from siblings like container_lookup and airline_lookup via the Related line, so an agent can tell them apart.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is explicit: provide IATA code/slug or omit for a full list, and use category/deck to filter. The Related line gives alternative tools with clear one-phrase distinctions: chargeable_weight_calculator for billing, container_lookup for sea freight, airline_lookup for aircraft. It lacks an explicit 'do not use when...' but the alternatives are stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
unit_converterARead-onlyIdempotentInspect
Convert freight and logistics units: weight (kg, lbs, oz, tonnes, short_tons, long_tons), volume (cbm, cuft, cuin, litres, gal_us, gal_uk), length (cm, inches, m, feet, mm), plus two freight-specific targets valid only FROM cbm — chargeable_kg (air volumetric weight at the IATA 6,000 divisor, 1 CBM = 166.67 kg) and freight_tonnes (sea W/M, 1 CBM = 1 freight tonne).
Behavior: deterministic; the response names both units and states the formula used. Cross-dimension conversions (e.g. kg to litres) and freight targets from a non-cbm source error with the accepted-unit list. Note: short ton (US) = 2,000 lb, long ton (UK) = 2,240 lb, metric tonne = 2,204.6 lb. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: input {value, unit, name}, result {value, unit, name}, formula and note under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Related: cbm_calculator (dimensions to volume first), chargeable_weight_calculator (proper air billing weight with pieces and a custom divisor).
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target unit — any same-dimension unit, plus chargeable_kg and freight_tonnes (both only valid from cbm). | |
| from | Yes | Source unit — weight (kg, lbs, oz, tonnes, short_tons, long_tons), volume (cbm, cuft, cuin, litres, gal_us, gal_uk) or length (cm, inches, m, feet, mm). Must be the same dimension as "to". | |
| value | Yes | The numeric value to convert. Example: 5. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnly and idempotent annotations, the description discloses deterministic behavior, formula naming in responses, cross-dimension error behavior with accepted-unit lists, rate limits with retry headers, and specific unit definitions such as IATA divisor, short ton, and long ton. This gives the agent essential runtime expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense but every sentence earns its place: unit inventory, special freight targets, behavior, error handling, rate limiting, return envelope, and sibling-tool routing. It is long because the tool genuinely has multiple behaviors to document, and there is no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with dimensional restrictions, freight-specific targets, rate limiting, error bodies, and a defined response envelope, the description covers all these aspects without missing any critical context. It even explains when to use sibling tools first, making it effectively self-contained.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Although schema coverage is 100%, the description adds significant meaning: category groupings for units, the IATA 6,000 divisor making 1 CBM = 166.67 kg, the sea W/M freight tonne rule, and the exact difference between tonnes, short tons, and long tons. This goes well beyond the enum lists in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: converting freight and logistics units across weight, volume, and length dimensions, with two freight-specific targets. It distinguishes itself from sibling calculators by naming cbm_calculator and chargeable_weight_calculator as related but different tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly gives usage context: dimensions must match, freight targets are only valid from cbm, and it names alternatives — cbm_calculator for dimension-to-volume conversion and chargeable_weight_calculator for proper air billing with pieces and a custom divisor. It also advises retry behavior on 429 and directing users to get_subscribe_link for higher limits.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
unlocode_lookupARead-onlyIdempotentInspect
Search 116,232 UN/LOCODE transport locations worldwide — ports, airports, rail and road terminals, inland container depots and border crossings. Codes are 5 characters: a 2-letter ISO country code + a 3-character location code (GBLHR = London Heathrow, NLRTM = Rotterdam).
Provide code for an exact record, or query (name search, min 2 chars) optionally narrowed by country and function_type; limit caps results (default 20, max 100).
Behavior: read-only; exact code hits are provenance-based while fuzzy name hits report match quality via the envelope's confidence (basis match_quality); an unknown code errors with a not-found message. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: the location record(s) — code, name and name_ascii, country, subdivision, functions[], status, coordinates {lat, lon} and iata_code where assigned — under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: an administrative code list (UNECE UN/LOCODE 2025-1) — confirm operational status and coordinates with the port or authority before critical use.
Related: airport_lookup (airport-specific records including ICAO codes), nearest_airport (find airports by coordinates).
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Exact UN/LOCODE — 5 characters. Examples: "GBLHR", "NLRTM". | |
| limit | No | Maximum results. Default: 20, max: 100. | |
| query | No | Location name search (min 2 chars). Examples: "rotterdam", "heathrow". | |
| country | No | Filter by 2-letter ISO country code. Examples: "GB", "NL". | |
| function_type | No | Filter by location function. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, and the behavioral paragraph adds meaningful context: exact code hits are provenance-based, fuzzy name hits expose confidence via match quality, unknown codes produce not-ound, and 429 response carries retry_after seconds and Retry-After header. This is exactly the extra behavior information an agent needs beyond annotations. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with a precise one-line summary, then proceeds into code structure, usage modes and behavior. No sentence is wasted; even the 429/back-off detail earns its place because it is operational guidance an agent would otherwise lack. The length is justified by six-dimensional as in this is a complex tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers input options, return content, error behavior, rate limits, retry instructions, and alternatives for higher limits. The only meaningful gap is what happens when no parameters are provided: all schema properties are optional, but the description implies a code or query should be passed. That edge case is not resolved.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema has 100% description coverage, so the schema carries most of the meaning. The description adds value by framing code vs. query as two modes and noting that country/function_type optionally narrow the name query. That is useful relational/parametric semantics. The examples slightly duplicate schema examples, so not quite max.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a precise verb-resource pair: 'Search 116,232 UN/LOCODE transport locations worldwide' and enumerates the exact set of location categories. It anchors the resource with the 5-character code structure and true examples (GBLHR, NLRTM), so there is no ambiguity against sibling lookup tools like airport_lookup or container_lookup.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear usage modes: provide code for exact record, or name query (min 2 chars) with country/function filters, and states limit caps/default. It also directs the agent to get_subscribble_link on rate-limit, which is useful alternative guidance. It does not explicitly contrast with sibling lookup tools, but the UNLOCODE-specific search conditions are clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validateARead-onlyIdempotentInspect
Validate and parse freight identifiers by their public check-digit algorithms: shipping container numbers (ISO 6346), air waybill (AWB) numbers (IATA modulus-7) and IMO ship identification numbers.
Two modes: pass text= to find and validate every identifier in it (e.g. a booking-email line), OR pass value= + type=<container|awb|imo> to validate one.
Behavior: deterministic check-digit arithmetic; per identifier found it reports type, the normalised form, valid (pass/fail), expected vs actual check digit, and details (container: owner prefix + equipment category; AWB: airline prefix + the operating airline resolved from the AWB-prefix dataset; IMO: the 7-digit number); text mode with no identifiers found returns an empty found[] with a note. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: found[] (each entry with its own _source naming the standard applied) and disclaimer under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: STRUCTURAL ONLY — a valid check digit means well-formed, NOT that the container, shipment or vessel exists or is active; not a registry or tracking lookup.
Related: container_lookup (container TYPE specs, not numbers), airline_lookup (the AWB-prefix dataset the airline resolution uses).
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Arbitrary string to scan for container / AWB / IMO identifiers (parse mode). Provide this OR value+type. Example: "2 cntrs MSKU3068808 / TGHU7654325 on AWB 176-12345675". | |
| type | No | Identifier type for value: container = ISO 6346, awb = IATA air waybill, imo = IMO ship number. | |
| value | No | A single identifier to validate (typed mode). Requires type. Example: "MSKU3068808". |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Even with annotations providing readOnlyHint and idempotentHint, the description richly supplements by disclosing the output detail, the modes, rate-limit behavior with 429 retry_after_seconds, and specific return fields per identifier. It also sets structural limititation explicitly. Nothing in the description contradicts annotations; in fact, annotations align with it.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well structured: it leads with a precise purpose, then separates modes, behavior, rate limits, return contract, limitations, and related tools. It is more verbose than strictly necessary, and some return-envelope detail might be redundant with the output schema, but each remaining sentence adds useful operational context.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool delays with multiple inances, standards, modes, limitations, and a rate limit, the description covers all aspects needed for an AI agent to select and invoke it correctly. It includes enough detail about return envelope, error handling, and relationship to siblings/related tools. No obvious context gap for correct invocation or interpretation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All three parameters already have full descriptions and examples inside the schema, so schema description coverage is 100%, raising the baseline to 3. The description does helpfully clarify the mutual exclusion of text versus value+type, but it doesn't go materially beyond what the schema already communicates in terms of parameter meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool validates and parses freight identifiers across three named standards (ISO 6346 containers, IATA AWB, IMO), which is specific and informative. It also differentiates itself from sibling tools like container_lookup and airline_lookup, explicitly saying container_lookup is about type specs and airline_lookup uses the AWB-prefix dataset.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit on/usage: pass text to scan arbitrary content or pass value with type to validate one identifier. It includes contextual guidance and 'Related' tool alternatives. It also warns what it is not (not a registry or tracking lookup), which reduces risky misuse.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vehicle_lookupARead-onlyIdempotentInspect
Look up road-freight vehicle and trailer specifications — 17 types: EU articulated trailers (standard/mega curtainsider, box, reefer, double-deck, flatbed, low-loader), US 53ft/48ft dry vans, rigid trucks (7.5-26 t) and vans (Luton, Transit, Sprinter). Each record carries internal dimensions, payload and gross weights, euro/UK pallet capacity, axle configuration and features.
Provide slug (e.g. "standard-curtainsider") for one record; omit it to list all 17; category (articulated | rigid | van) and region (EU | US) filter the list.
Behavior: read-only; an unknown slug errors with the valid list; per-record provenance (sources, audited_at, decision_rationale) is included. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.
Returns: the vehicle record (or filtered list) under result, plus confidence, _source and citation (the FreightUtils v1 response envelope).
Limitations: typical specs, provenance pending independent verification (the envelope's provenance_status says so) — real equipment varies by operator and build; legal payload is set by the vehicle's plated weights.
Related: ldm_calculator (whether a pallet load fits), pallet_fitting_calculator, consignment_calculator.
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Vehicle slug. Examples: "standard-curtainsider", "mega-trailer". Omit to list all 17. | |
| region | No | Filter by region. | |
| category | No | Filter by vehicle category. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | |
| result | Yes | |
| _source | Yes | |
| citation | Yes | |
| validity | No | |
| warnings | No | |
| confidence | Yes | |
| blocking_errors | No | |
| envelope_version | Yes | |
| normalized_input | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond annotations (readonly, idempotent, non-destructive), the description enriches behavior with substantial context: unknown slugs return an error listing valid ones, per-record provenance includes sources and auditations, rate limiting (20 requests/day IP) produces an 429 with specific retry fields, and return tra data comes with caveats (typical specs, pending verification). This gives an agent realistic expectations about errors, limits, and data quality.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense and well-structured, with labeled sections for behavior, returns, limitations, and related tools; it does not waste space. It is longer than necessary because it covers rate limits, error bodies, and provenance, but those are genuinely useful details. A minar redundancy exists between 'omitting it to list all' and the later mention of a filtered list, but overall it remains efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, the description need not duplicate return-fade types and instead covers what the schema does not convey: the FreigheUtils response envelope (result, confidence, _source, citable), literal limits of access, the exact shape of stale limits errors, and the related tools and limitations. Everything an agent needs to successfully call and interpret vehicle_lookup is avaiable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Sceema covegerage is 100%, but thesccema already describes each parameter (slug examples, región, category). The description adds behavior beyond the schema: providing a slug returns one record, omitting it lists all 17, category and region function as list filters, and an unknown slug errors with the valid set. This is valuated interaction context not present in schess.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb-resource pair ('Look up road-freight vehicle and tarai trailer specifications') and immediately delimiters the exact scope with a concrete list of 17 types. This clearly separates it from sibling tools like airline_lookup, container_lookup, and the calculator tools, which serve different domains and tasks.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Cares clear how to invoke the tool: provide a slug for one record, omit it to list all, and optionally filter by category or region. It also points to alternative tools for related needs — ldm_calculator for pallet-fit questions and get_subscribe_link for rate-limit scafes — but it does not explicitly state 'when not to use this tool' in favor of each calculator.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
The set is largely organized into crisp reference-lookup vs. calculator families, and each tool's Related notes make the intended use clear. A few pairs require careful reading to distinguish (airline_lookup vs airport_lookup, consignment_calculator vs shipment_summary, validate vs resolve_reference), which keeps it from a perfect score.
A clear noun_action pattern prevails: 9 *_lookup tools for reference data and 8 *_calculator tools for numeric work, and these families make the primary use obvious at a glance. Exceptions like unit_converter, validate, resolve_reference, nearest_airport, ics2_check and get_subscribe_link deviate or mix suffixes, but each is still a readable, llm-inferable name.
At 25 tools the server is at the upper end of a practical MCP surface, though the manifest is genuinely a multiple-mode freight suite (air/sea/road, dangerous goods, custom, equipment, reference codes, carbon) and each tool is focused where the stereotypes might overlap. The one honestly unnecessary tool is get_subscribe_link which is a meta/ subscription operation, but it is isolated.
Domain coverage is thorough: reference lookups, freight calculators for air/sea/road, pallet/vehicle/container equipment, ADR exemption and limited-quantity checks, customs screening, bond/duty, emissions and universal identifier validation. Minor gaps (non-UK duty only, no global routing or rate-construction features) are a conscious scope boundary and not would-be fatal to workflows.
Maintenance
Related MCP Connectors
AI-native platform: cybernetic freight agents transact, verify, find services. Get verified leads.
RixFreight logistics quotes and route info via AI agents
Freight calculators (weight, metres, vehicle fit) and authenticated team packing-library tools.
Calculate shipment volume (CBM/CFT), weight, and how cargo fits standard shipping containers.
Related MCP Servers
- AlicenseAqualityDmaintenanceThe first logistics/WMS MCP server for AI agents. Rate shopping, inventory management, order tracking, fleet logistics, AI-powered route optimization, demand forecasting, and supply chain analytics. 18 tools across 3 tiers.20171MIT
- AlicenseNot gradedqualityDmaintenanceOcean container shipping intelligence for AI agents — D\&D tariffs, freight rates, vessel schedules, port congestion, inland haulage across 6 major carriers. 24 MCP tools.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to pack trucks and shipping containers by generating validated 3D load plans with metrics like LDM, linear feet, and pallet positions through the Hansatic packing API.319MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform international trade operations such as calculating landed costs, classifying goods, explaining trade terms, estimating shipping, and converting currencies for Kazakhstan/EAEU/Central Asia trade routes.16MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SoapyRED/freightutils-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server