Skip to main content
Glama

analyze_commute

Evaluate commute options between home and work by car, foot, or bike, providing travel times, distances, and turn-by-turn directions to support relocation 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
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the output nature (metrics, directions) and the optional time-sensitive routing via depart_at, but it does not mention limitations, data sources, or error handling. It reads as a straightforward analysis tool, but lacks deep behavioral context.

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

Conciseness5/5

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

The description is well-structured with a lead sentence, a functional overview, and clear Args/Returns sections. It is front-loaded and every line adds value, avoiding redundancy or fluff.

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?

Despite having no output schema and no annotations, the description explains the return structure with bullet points and covers all 6 parameters. It omits edge cases or limitations, but for a tool of this complexity it provides adequate context for an agent to invoke it correctly.

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?

The schema has 0% description coverage, but the description's 'Args:' section fully compensates. It explains units (decimal degrees), the format for depart_at (HH:MM), and lists valid mode options (car, foot, bike). This adds significant meaning beyond the bare 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's function: 'Perform a detailed commute analysis between home and work locations.' It specifies the outputs (travel times, distances, directions) and differentiates itself from sibling tools like get_route_directions by focusing on comparing multiple modes and supporting real estate decisions.

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 provides clear use cases ('Essential for real estate decisions, lifestyle planning, and workplace relocation analysis') and describes the home/work context. However, it does not explicitly mention when not to use this tool or contrast it with alternatives like get_route_directions.

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/LLLeoLi/osm-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server