Skip to main content
Glama

get_lane_trend

Forecast ocean spot rates for a lane and obtain a statistical forecast with seasonality overlay, anomaly alerts, and a concrete book-now-or-wait recommendation.

Instructions

Forecast the ocean spot rate for a lane (origin → destination) and get a grounded BOOK-NOW-OR-WAIT call for a given ship date. Returns: a weeks-long cross-validated time series; a STATISTICAL FORECAST several weeks ahead (Holt-Winters / ETS triple exponential smoothing) with prediction intervals that widen with the horizon, plus naïve/drift/seasonal-naïve baselines and an honest BACKTEST (MAPE/RMSE/MASE) of the forecast's accuracy; the ocean-freight SEASONALITY CALENDAR overlaid on your ship date (Chinese New Year pre-rush & post-slump, Golden Week, transpacific/Asia peak season, likely GRIs and blank-sailing pressure); ANOMALY detection (is today's rate an out-of-pattern spike or collapse vs its seasonal norm?); and a concrete book-now/book-soon/wait/split/monitor recommendation with the drivers shown. All of this runs server-side on freight-pulse's OWN accumulating per-lane history plus a curated freight-seasonality model — your own agent can't reproduce the forecast or the calendar from a single snapshot. Same port normalization as get_spot_rate (UN/LOCODE). PREMIUM: pay per call with x402 (USDC on Base) or set a prepaid key (FREIGHT_PULSE_KEY). Without one you'll get unlock instructions. Tip: call get_spot_rate (free) on a lane first — it seeds the history. Indicative market intelligence, not a carrier quote.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
origin_portYesOrigin port (city name, UN/LOCODE, or 'City, Country'). Same resolution as get_spot_rate.
dest_portYesDestination port (city name, UN/LOCODE, or 'City, Country').
weeksNoHow many weeks of history to analyze (2–52, default 8). The window is capped by how much history we've accumulated for the lane.
ship_dateNoThe intended shipment date (ISO 'YYYY-MM-DD' or any parseable date). The seasonality calendar (CNY, peak season, GRIs, blank sailings) is evaluated for THIS date. Optional; defaults to today.
forecast_weeksNoHow many weeks ahead to forecast the rate (1–26, default 6). Prediction intervals widen with the horizon.
Behavior5/5

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

No annotations provided, so description carries full burden. Describes server-side processing with accumulated history and freight-seasonality model. Details statistical method (Holt-Winters/ETS), output components including backtest metrics, and states 'Indicative market intelligence, not a carrier quote.' Clearly discloses premium nature and prerequisite call to get_spot_rate.

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 lengthy but front-loads the main purpose. Every sentence earns its place by adding value. Could be slightly trimmed, but given the tool's complexity and lack of output schema, the detail is justified.

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?

Despite 5 parameters and no output schema, the description thoroughly explains all outputs, methodology, limitations, and prerequisites. Covers what the tool returns, how it works, and how to use it effectively, making the agent fully informed.

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?

Schema description coverage is 100%, so baseline 3. The description adds meaningful context: explains weeks cap on history, ship_date used for seasonality calendar, forecast_weeks with widening intervals. This aids understanding beyond schema definitions.

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 forecasts ocean spot rates for a lane and provides a grounded recommendation. It lists specific outputs: time series, statistical forecast, seasonality calendar, anomaly detection, and a concrete book-now/wait call. It distinguishes from siblings by noting port normalization same as get_spot_rate and suggesting calling get_spot_rate first.

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?

Provides explicit usage guidance: 'Tip: call get_spot_rate (free) on a lane first — it seeds the history.' Also mentions premium payment and unlock instructions. Does not explicitly state when not to use or contrast with siblings, but the context of sibling tools (many different purposes) makes this acceptable.

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