Skip to main content
Glama

List shipments with free time at risk

list_free_time_at_risk
Read-onlyIdempotent

Ocean shipments whose demurrage or detention free time is running out or already over, most urgent first. Discharged in the last 45 days only. Use it for "what will cost us demurrage this week" or "which containers should we pick up first". Each entry has the demurrage and detention clocks with days left and the active clock; terms_unknown means no free-time terms are set for that carrier, so the clock is only counting days. collect_by, when the organization has a warehouse, is the last day the port and the warehouse are both working before free time ends: lead with it over the last free day when the two differ. When a published tariff or your own terms cover the shipment, expected_costs says what it is expected to cost so far per container: quote its flags (at least, incomplete, terminal assumed, estimate) rather than a bare number. A container whose state is incomplete or end_not_reported is a minimum, never a final figure. Each has a shipment_url: link the container number to it, never a made-up URL. Takes no arguments.

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": "list_free_time_at_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real interpretive context beyond them: the 45-day discharge window, the urgency ordering, what terms_unknown means, and the rule that incomplete or end_not_reported states are minimums rather than final figures. It does not mention result volume or pagination, keeping it short of a 5.

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?

Purpose, scope and ordering are front-loaded, and the dense output-interpretation guidance is packed into compact sentences with no filler. It runs long for a list tool and mixes in rendering directives ('link the container number to it, never a made-up URL'), which are useful but slightly off-purpose for a tool description.

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

Completeness4/5

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

With no output schema, the description carries the burden of explaining return values and does: it covers the demurrage/detention clocks, days left, active clock, collect_by precedence, expected_costs flags, and the shipment_url. Nothing essential for calling or interpreting it is missing, though it does not say how many entries come back or how results are bounded.

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

Parameters4/5

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

The tool takes no arguments and the description says so explicitly ('Takes no arguments'), matching the empty schema. The baseline for zero parameters is 4, and nothing here contradicts or muddies that.

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 states a precise verb and resource plus scope: ocean shipments whose demurrage or detention free time has run out or is running out, sorted most-urgent-first, limited to containers discharged in the last 45 days. That is far more specific than the title. It never names or distinguishes itself from near neighbors like list_pending_shipments or list_carrier_free_times, so it stops short of full sibling differentiation.

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

Usage Guidelines4/5

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

It gives concrete triggering questions ('what will cost us demurrage this week', 'which containers should we pick up first'), which tells an agent exactly which user intents map to this tool. It offers no explicit when-not guidance or named alternative for related questions, so it is clear context without exclusions.

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