An MCP server that computes oceangoing routes and geodesic distances using searoute and geopy.
Three tools with complete input schemas (4 float parameters each) and descriptions present. However, descriptions are terse (34-89 chars, below the 50-200 char baseline for LLM optimization), lack context on WHEN to use each tool vs. alternatives, and omit error guidance. Parameter descriptions are minimal ('Starting latitude coordinate') without format constraints or ranges. No output schema documentation. Tools lack error handling patterns and recovery guidance. Naming is verb-forward (compute_*) but descriptions do not explain the semantic difference between oceangoing route distance vs. geodesic distance clearly enough for LLM selection.
Compute shortest oceangoing route distance in nautical miles.
Compute geodesic great-circle distance in nautical miles (ignores route, this is shortest distance on a sphere).
Compute shortest oceangoing route with distance and waypoints between two coordinates.
Descriptions lack LLM-optimized context. All three descriptions are 34 - 89 characters, below the 50 - 200 char baseline. Missing WHEN to use each tool (e.g., 'Use compute_distance for actual oceangoing routes avoiding land; use compute_geodesic for theoretical shortest distance on a sphere'). LLMs cannot distinguish between tools without this guidance.
No output schema documentation. Tools return float or dict, but LLMs do not know the structure of compute_route's dict (fields: distance_nm, geometry). Without documented output schemas, agents cannot plan downstream operations or extract the right data.
Parameter descriptions are minimal and lack format/range constraints. E.g., 'Starting latitude coordinate' does not specify valid range (-90 to 90), format, or units. LLMs may pass invalid values (e.g., latitude 200). Descriptions should state: 'Latitude in decimal degrees, range -90 to 90'.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | <=2025-11-25 | v2 |
No error handling or recovery guidance. Tools may fail (e.g., invalid coordinates, network timeout from searoute library) but provide no actionable error messages. LLMs receive raw exceptions with no guidance on retry, fallback, or user correction.
compute_route returns geometry as a GeoJSON object, which is verbose and token-wasteful for LLM processing. Should return simplified waypoints (array of [lat, lon] pairs) or a summary instead. Reduces context bloat and improves reasoning clarity.