Skip to main content
Glama
ogSINGH

OpenStreetMap MCP Server v2

by ogSINGH

analyze_commute

Analyze commute options between home and work, comparing travel times and distances for car, bike, and foot to aid relocation or real estate decisions.

Instructions

Perform a detailed commute analysis between home and work locations.

This advanced tool analyzes commute options between two locations (typically home and work), comparing multiple transportation modes and providing detailed metrics for each option. Includes estimated travel times, distances, turn-by-turn directions, and other commute-relevant data. Essential for real estate decisions, lifestyle planning, and workplace relocation analysis.

Args: home_latitude: Home location latitude (decimal degrees) home_longitude: Home location longitude (decimal degrees) work_latitude: Workplace location latitude (decimal degrees) work_longitude: Workplace location longitude (decimal degrees) modes: List of transportation modes to analyze (options: "car", "foot", "bike") depart_at: Optional departure time (format: "HH:MM") for time-sensitive routing

Returns: Comprehensive commute analysis with: - Summary comparing all transportation modes - Detailed route information for each mode - Total distance and duration for each option - Turn-by-turn directions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modesNo
depart_atNo
home_latitudeYes
work_latitudeYes
home_longitudeYes
work_longitudeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the operation is an analysis producing multi-mode comparisons and is sensitive to departure time, which implies a read-only, side-effect-free operation. It says nothing about permissions, rate limits, mode-availability fallbacks, or error behavior, so the disclosure is useful but not complete.

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?

Purpose is front-loaded and the Args/Returns structure is easy to scan. There is mild padding ('advanced tool,' 'Essential for...'), and the Returns block duplicates what the output schema already provides, but nothing is confusing or badly ordered.

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?

For a complex 6-parameter tool with a rich output schema, the definition covers purpose, parameter formats, and output shape adequately, so an agent can invoke it correctly. The remaining gap is routing guidance among the many nearby siblings, which the description does not address.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: it documents all six parameters with units ('decimal degrees'), the accepted mode values ('car', 'foot', 'bike'), and the time format ('HH:MM'). This adds semantics the bare schema (titles only, no enum constraint, no format) entirely lacks.

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

Purpose4/5

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

The description gives a specific verb and resource: 'Perform a detailed commute analysis between home and work locations,' and clarifies it compares multiple transportation modes with metrics. This distinguishes it conceptually from a plain point-to-point router. However, it never names or contrasts with siblings like get_route_directions or suggest_meeting_point, so the agent must infer the boundary itself.

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?

It offers use contexts ('real estate decisions, lifestyle planning, and workplace relocation analysis'), which implies when the tool is valuable. But it gives no when-not-to-use guidance and does not point to an alternative for simpler single-mode routing, leaving the choice among siblings to inference.

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