Skip to main content
Glama

rate_benchmark

Benchmark your paid ocean freight rate against the market. See where your rate falls in the corridor's price band, calculate overpayment, and learn whether to renegotiate, tender, or hold.

Instructions

Benchmark a rate you ALREADY PAY against the market — the 'am I being clamped?' check every shipper wants. Give the lane + the rate you pay (paid_rate_usd) and it places that rate in the MARKET BAND of the corridor (percentile against p20 / median / p80), built from the cross-validated index mid (Drewry WCI + Freightos FBX) and the corridor's modeled rate dispersion. It returns where you sit (p20 = a strong price, median = fair, p80 = over-paying), how much you OVER- or UNDER-pay vs the market mid in $/container and per YEAR at your volume, and the LEVER to correct it — renegotiate to the median, tender the lane, switch carrier/alliance, or lock a good price. A contract rate sitting above the median in a soft/falling market is flagged for renegotiation, not just labelled expensive. Proves: a rate at the p80 → 'you over-pay $X/ctr; renegotiate toward the median to save $X×volume/yr'; a rate at the p20 → 'good price, hold it'. The SAME rate is placed differently as the live band moves. Honest (regla 7): the band is a MODELED dispersion around the index mid, NOT a panel of real quotes — a true benchmark needs a rate panel (Xeneta/SeaRates). 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.
paid_rate_usdYesThe rate you currently PAY for this lane (USD per container). REQUIRED — this is what gets benchmarked.
container_typeNoContainer '20ft'/'40ft'/'40HC'. Optional; default '40ft'.
ship_dateNoShip date (YYYY-MM-DD) for the market read. Optional; default today.
basisNo'spot' (default — bare ocean freight) or 'all-in' (base + surcharges) — match it to what your paid rate INCLUDES. Optional.
annual_containersNoAnnual containers on this lane — to annualise the over/under-payment & savings. Optional.
is_contractNoIs the paid rate a CONTRACT rate? Flags a high contract in a soft/falling market. Optional.
Behavior4/5

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

Without annotations, the description covers behavioral traits: it uses a modeled dispersion around an index mid, not real quotes, and explains the pricing model (pay per call or prepaid key). It also describes the return values (percentile, over/under pay, corrective lever). No contradictions.

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

Conciseness3/5

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

The description is verbose and includes marketing language ('am I being clamped?', 'Proves:'). While it front-loads purpose and includes critical details, it could be more concise. Every sentence adds value, but the length reduces scanability.

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?

Given no output schema, the description adequately explains return values (percentile, over/under pay, savings, lever). With 8 parameters and no annotations, it covers use cases, limitations, and pricing. It is sufficiently complete for an agent to select and invoke the tool correctly.

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 coverage is 100%, so baseline is 3. The description adds value by explaining parameter intent (paid_rate_usd as 'the rate you currently PAY'), usage context (annual_containers to annualize savings), and how optional parameters affect benchmarking (is_contract flags high contracts). This goes beyond the schema 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 benchmarks a rate against market bands, using specific verbs like 'Benchmark' and explaining the output (percentile, over/under payment). It distinguishes itself from sibling tools like 'get_spot_rate' or 'market_report' by focusing on comparing an existing rate.

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 explicitly tells when to use: 'the am I being clamped? check every shipper wants.' It provides guidance on required inputs (lane + paid_rate_usd) and mentions honest limitations (modeled dispersion, not real quotes), though it lacks explicit when-not-to-use scenarios.

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