Skip to main content
Glama

booking_strategy

Avoid container rollovers by identifying the optimal booking window and cost of premium guarantees versus riding spot, using lane-specific demand pressure and seasonal signals.

Instructions

When and how to RESERVE space so your box isn't rolled and your cargo isn't stranded on the dock. Give the lane + ship date + criticality, and it reads the demand PRESSURE (composing the seasonality calendar — CNY / Golden Week / transpacific peak — with the equipment-crunch signal) into a band (slack → acute), then returns: the optimal BOOKING WINDOW (lead days, plus a criticality buffer, and the date to book by), the SPOT vs CONTRACT rollover probability and roll-delay days, and the GUARANTEED/PREMIUM-booking trade-off — the certain premium surcharge vs the expected rollover-delay cost of riding spot (roll prob × delay days × per-day criticality cost). It recommends spot, a guaranteed booking, or — if your committed volume justifies it — a named-account allocation. Proves: peak/CNY → book earlier + pay for the guarantee; slack market → ride spot. Honest (regla 7): INDICATIVE rollover probabilities & premiums by band (reusing the real seasonality/equipment calendars) — not a space guarantee or carrier quote. PREMIUM: pay per call with x402 (USDC on Base) or a prepaid key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
origin_portYesOrigin port (city name, UN/LOCODE, or 'City, Country').
dest_portYesDestination port.
container_typeNoContainer '20ft'/'40ft'/'40HC'. Optional; default '40ft'.
ship_dateNoShip date (YYYY-MM-DD) — selects the seasonal/equipment pressure. Optional; default today.
criticalityNo'low' / 'normal' / 'high' / 'critical' — how badly a rollover delay hurts. Optional; default normal.
base_freight_per_container_usdNoBase ocean freight per container (USD) to price the premium & delay cost. Optional — derived if omitted.
annual_containersNoAnnual committed volume on this lane (containers/yr) — triggers the named-account allocation call. Optional.
Behavior5/5

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

The description thoroughly discloses behavioral traits: it reads demand pressure from seasonality and equipment calendars, returns indicative recommendations (not guarantees), and mentions payment method (USDC or prepaid key). Without annotations, this fully informs the agent of the tool's read-only, analytical nature and its limitations.

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 description is comprehensive and well-structured, starting with the core purpose and then detailing the inputs, outputs, and behavioral caveats. While not extremely concise, the length is justified by the tool's complexity.

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

Completeness5/5

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

The description provides a complete picture: inputs, internal logic, output structure (booking window, rollover probabilities, trade-off), and behavioral caveats. Without an output schema, this fully equips the agent to understand what the tool returns and how to use the results.

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?

Although the input schema already describes all parameters (100% coverage), the description adds value by explaining how parameters like criticality and annual_containers influence the recommendation (e.g., criticality buffer, named-account trigger). This goes beyond the schema's basic descriptions.

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

Purpose5/5

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

The description clearly states the tool's purpose: to advise on booking strategy for space reservation, including recommendations for spot vs guaranteed vs named-account. It distinguishes from sibling tools like get_spot_rate (which likely just provides rates) and carrier_recommendation by focusing on the strategic booking decision with criticality and volume inputs.

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?

The description provides clear context on when to use the tool (for space reservation decisions given lane, ship date, criticality) and what inputs are needed. However, it does not explicitly state when not to use or compare to sibling tools like get_spot_rate or carrier_recommendation.

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

Install Server

Other Tools

Latest Blog Posts

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/Baneado98/freight-pulse'

If you have feedback or need assistance with the MCP directory API, please join our Discord server