Skip to main content
Glama
kimhjort

aria-mcp-drivetime-dk

by kimhjort

drive_time

Calculate car driving distance and travel time between two places in Denmark. Optionally get the time you must leave to arrive by a specific time, including a buffer.

Instructions

Compute car driving distance and typical travel time between two places in Denmark using OpenStreetMap data. Both 'from' and 'to' accept a Danish place name / address (e.g. 'Horsens', 'Billund Lufthavn', 'Rådhuspladsen, København') or a coordinate string in 'lat,lon' format. Returns distanceKm, durationMin, and the resolved place names. If 'arriveBy' is given (ISO datetime such as '2026-06-12T12:00' or 'HH:MM' for today in Copenhagen time), also returns leaveByLocal — the time you must leave to arrive on time including a buffer (default 10 min from DEFAULT_BUFFER_MIN). IMPORTANT: Duration is free-flow routing time WITHOUT live traffic. Allow extra time during rush hours.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesOrigin place name, address, or "lat,lon". Required when DEFAULT_ORIGIN env is not set.
toYesDestination place name, address, or "lat,lon". Required.
arriveByNoDesired arrival time. ISO datetime ("2026-06-12T12:00") or "HH:MM" (today in Europe/Copenhagen). When provided, leaveByLocal is calculated: arriveBy − durationMin − bufferMin.
bufferMinNoExtra buffer minutes subtracted when computing leaveByLocal (default 10 from DEFAULT_BUFFER_MIN).
Behavior4/5

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

With no annotations, the description carries full burden. It discloses data source (OSM), that duration is free-flow without live traffic, the computation of leaveByLocal when arriveBy is given, and the buffer mechanism. However, it does not mention error handling (e.g., place not found) or any rate limits.

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 one paragraph of 4–5 sentences, front-loaded with the core purpose, followed by input/output details and a critical caveat. Every sentence adds value without 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?

Given no output schema, the description covers return values (distanceKm, durationMin, resolved place names, leaveByLocal) and explains the buffer and arrival parameters. It could mention potential errors (e.g., invalid place lookup) but is otherwise complete for a non-destructive routing tool.

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%, baseline 3. The description adds meaning beyond schema by providing example inputs for 'from'/'to', explaining the 'arriveBy' format (ISO datetime or HH:MM for today in Copenhagen), and detailing how 'bufferMin' is used in leaveByLocal calculation. This adds significant context.

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 car driving distance and typical travel time between two places in Denmark using OpenStreetMap data. It specifies the verb (compute), resource (distance and time), geographic scope (Denmark), data source (OSM), and output keys (distanceKm, durationMin, leaveByLocal). This is specific and distinguishes it from siblings like geocode.

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?

While the description implies the use case for driving time in Denmark and includes important caveats (no live traffic, rush hour allowance), it does not explicitly state when to use this tool versus siblings like geocode or leave_by. No verbal 'when-not' guidance or alternatives are 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/kimhjort/aria-mcp-drivetime-dk'

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