Skip to main content
Glama

lane_risk_index

Calculate a composite lane risk score (0-100) by modeling chokepoint criticality, geopolitical risk, concentration, labour, climate, congestion, and equipment factors, with driver breakdown and ranked mitigations.

Instructions

How FRAGILE is this route? The 0-100 lane-risk score a supply-chain director needs for their risk map. Give the lane and it COMPOSES the risk dimensions every other freight-pulse engine already models: CHOKEPOINT criticality (Suez / Red-Sea / Bab-el-Mandeb / Panama / Malacca, reusing the routing engine), GEOPOLITICAL risk per origin/destination/transit country (modeled bands), CONCENTRATION (single-port & single-carrier dependence), LABOUR risk (active strikes), CLIMATE risk (typhoon/hurricane/drought windows), CONGESTION (port-intel operational risk) and EQUIPMENT risk (box imbalance). It returns the composite score + the per-driver breakdown (which factor dominates) + ranked MITIGATIONS (alternate routings, add a second carrier/port, pre-position inventory, nearshore a second source). Honest (regla 7): MODELED, indicative — geopolitical risk is judgemental and time-varying; not a live threat feed or insurance-grade rating. 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) — overlays seasonal labour/climate windows. Optional; default today.
transit_countryNoA transit-country ISO2 to fold into geopolitical risk (e.g. 'EG' for Suez). Optional.
carrier_countNoHow many distinct carriers you use on this lane (concentration). Default 1.
port_countNoHow many distinct origin ports you use for this flow. Default 1.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the tool is modeled and indicative, not a live feed or insurance-grade, and mentions pay-per-call pricing. However, it does not detail data freshness or authentication requirements.

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 long and dense with all-caps emphasis, but front-loads the core concept. While informative, it could be more structured and concise; several sentences explain individual risk dimensions in detail.

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?

Given the complexity (7 parameters, no output schema), the description is highly complete: it explains what the score represents, lists all risk factors, describes output (score, breakdown, mitigations), and includes limitations and pricing. It covers what an agent needs to know.

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% and each parameter has a clear description in the schema. The tool description adds context, e.g., transit_country overlays geopolitical risk, carrier_count impacts concentration, adding meaning beyond the schema.

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 computes a lane-risk score (0-100) for supply-chain risk mapping. It specifies the verb 'compose' and lists multiple risk dimensions, distinguishing it from sibling tools like carbon_footprint or get_lane_trend.

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

Usage Guidelines3/5

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

The description implies use for risk mapping by a supply-chain director but does not explicitly state when to use this tool versus alternatives, nor does it provide exclusion criteria. No guidance on when not to use is given.

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