A WebMCP server for hazardous materials shipping compliance, providing tools for material lookup, line item classification, load proposal, segregation checking, and manifest commitment with cryptographic approval tokens.
Five tools with complete schemas and descriptions. Naming follows verb_noun pattern (lookup_, classify_, propose_, check_, commit_). Descriptions are domain-specific and adequate (100-200 chars). All parameters have types and descriptions. Tool annotations present (READ_ONLY, IRREVERSIBLE). Key gaps: no output schemas documented, no error handling guidance, no pagination for propose_load results, no enum constraints on query types.
Adjudicate a proposed load against 49 CFR 177.848 segregation rules, returning a verdict (PASS or REFUSED) with violations and an approval token if passing. Available when a manifest is loaded.
Classify a single line item by resolving its material identity and returning its hazard class, packing group, special provisions, and any assumptions or gaps in the classification.
Export a passing load as a signed shipping paper. Re-verifies the approval token against the exact load contents and refuses if the load changed after check_segregation. Available only when the load passes.
Look up a hazardous material by UN number or shipping name to retrieve its classification, hazard class, packing group, and special provisions from the 49 CFR 172.101 table.
Propose a legal partition of line items across vehicles, suggesting how to split a manifest to achieve compliance with segregation rules. Available only when the current load does not pass.
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract required fields (e.g., what does lookup_material return? Is it a single object or array?). Violates pattern:tool requirement.
propose_load lacks pagination guidance. If partitioning large manifests, result could be unbounded. No limit parameter, no cursor/offset, no total count documented.
lookup_material 'query' parameter accepts free-form string (UN number or shipping name) with no enum or format constraint. LLMs may hallucinate invalid UN formats. Should document expected format: 'UN' prefix + 4 digits, or valid shipping name from 49 CFR 172.101.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | B | 70 | 2026-07-28+ | v2 |
No error handling guidance. What happens if a UN number is not found? If segregation check fails, what should the agent do next? Descriptions lack recovery hints (e.g., 'If material not found, try searching by partial shipping name').
commit_manifest requires exact approval token match but no guidance on what happens if token is stale or load mutated. Error message should be actionable: 'Load changed after approval. Call check_segregation again to re-verify.'