Skip to main content
Glama

The Cable Code

Drum loading plan for trucks and containers

drum_loading
Read-only

How filled drums travel: vehicles needed by space and payload, rows, chocks, and EN 12195-1 securing (blocking, lashings), each vehicle compared, with sources. Choose the drum with drum_fit (free). $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/drum_loading.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "drum_loading"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNotrue: the whole answer (paid).
langNoAnswer language; default en.
inputNoinput: {vehicle, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, ...}
itemsNoOr a list of {input}, paid per item.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / full / description
      Previous value: -"true: the whole answer, a paid call. Without it the free verdict, counted against the designs' daily free allowance."New value: +"true: the whole answer (paid)."
    • changedInput schema / properties / input / description
      Previous value: -"input: {vehicle: c20 | c40 | c40hc | ot20 | ot40 | fr20 | fr40 | curtain | mega | flat | lowloader | rigid18 | custom, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, mat?: wood | plywood | steel | plastic | cardboard (the friction factor of the securing; wood when absent), lash?: {lc, stf (daN), alpha, dalpha, beta (degrees)} (EN 12195-1 Annex A examples when absent), custom?: {L, W, H, payload} (full mode only)}"New value: +"input: {vehicle, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, ...}"
    • changedInput schema / properties / items / description
      Previous value: -"Instead of one: a project's list, 1 to 50 items, each {input}; always in full, paid per item."New value: +"Or a list of {input}, paid per item."
    • changedInput schema / properties / lang / description
      Previous value: -"Any of the site's 15 languages; default en."New value: +"Answer language; default en."
  2. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"input: {vehicle: c20 | c40 | c40hc | ot20 | ot40 | fr20 | fr40 | curtain | mega | flat | lowloader | rigid18 | custom, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, mat?: wood | plywood | steel | plastic | cardboard (the friction factor of the securing; wood when absent), custom?: {L, W, H, payload} (full mode only)}"New value: +"input: {vehicle: c20 | c40 | c40hc | ot20 | ot40 | fr20 | fr40 | curtain | mega | flat | lowloader | rigid18 | custom, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, mat?: wood | plywood | steel | plastic | cardboard (the friction factor of the securing; wood when absent), lash?: {lc, stf (daN), alpha, dalpha, beta (degrees)} (EN 12195-1 Annex A examples when absent), custom?: {L, W, H, payload} (full mode only)}"
  3. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"input: {vehicle: c20 | c40 | c40hc | ot20 | ot40 | fr20 | fr40 | curtain | mega | flat | lowloader | rigid18 | custom, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, custom?: {L, W, H, payload} (full mode only)}"New value: +"input: {vehicle: c20 | c40 | c40hc | ot20 | ot40 | fr20 | fr40 | curtain | mega | flat | lowloader | rigid18 | custom, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, mat?: wood | plywood | steel | plastic | cardboard (the friction factor of the securing; wood when absent), custom?: {L, W, H, payload} (full mode only)}"
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description adds substantive behavior the annotations cannot convey: per-calculation cost of $0.50 USDC via x402, a free verdict-only path when 'full' is absent, and a 2-calls-per-caller-per-UTC-day quota. It does not spell out what the paid 'full' answer contains beyond the feature list, nor what happens on quota exhaustion or payment failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core capability is front-loaded in the first sentence, followed by the pricing/tier rules and then a documentation pointer, with no filler sentences. The density of pricing shorthand ('$0.50 USDC per calculation (x402)', '2 calls per caller per UTC day') makes it efficient but slightly hard to parse on first read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with nested object parameters, a 50-item batch mode, no output schema and monetized tiers, the description covers where results come from, cost model and free tier, plus a guide URI. The remaining gap is what the free 'verdict' contains versus the paid full plan, which matters for an agent deciding whether to pay.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents 'full', 'lang', 'input' and 'items' including limits. The description adds only marginal semantics, clarifying that 'full' is the paid switch and that items are billed per calculation; it does not explain the nested input keys (dt, width, gross, qty) or how 'items' interacts with the per-call quota.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates the concrete outputs of the calculation (vehicles by space and payload, rows, chocks, EN 12195-1 securing, per-vehicle comparison, sources), which is far more informative than the title alone. It is slightly oblique in framing ('How filled drums travel' rather than 'Calculate a drum loading plan'), but an agent can tell it produces a transport/loading plan distinct from drum_fit's drum selection.

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

Usage Guidelines4/5

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

It explicitly routes drum selection to drum_fit ('Choose the drum with drum_fit (free)'), implying this tool is for the subsequent transport-calculation step, and it explains the free vs. paid invocation modes. There is no explicit statement of when NOT to use it (e.g., non-EN 12195 jurisdictions or drum types not covered), so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources