Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

maps_directions

Read-only

Get route distance, traffic-aware travel time, turn-by-turn steps, and a Google Maps link between two places, with optional stops and alternative routes.

Instructions

Route between two places: distance, travel time (traffic-aware for driving), turn-by-turn steps and a Google Maps link. Optional stops and alternatives.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "maps_directions"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDRIVE
stopsNo
unitsNoMETRIC
originYesAddress/place name, or {lat, lng}
avoidTollsNo
destinationYesAddress/place name, or {lat, lng}
alternativesNo
includeStepsNo
avoidHighwaysNo
departureTimeNoISO date-time; default now

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only say readOnlyHint and openWorldHint, so the description does real work: it discloses that travel time is traffic-aware for driving and that results include turn-by-turn steps plus a Maps link. It omits what happens on unroutable input or whether stops are reordered, but the core behavioral profile is better than the annotations alone.

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?

Two compact sentences, front-loaded with the purpose and then the output/option surface. No filler, repetition, or hedging.

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?

With no output schema, naming the return values (distance, time, steps, link) is exactly what an agent needs, and the traffic-aware qualification prevents misreading travel time. Missing only edge-case behavior such as no-route handling and whether multi-stop order is respected.

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

Parameters3/5

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

Schema coverage is 30%, so the description must compensate and it only partly does — it explains stops and alternatives and ties mode to traffic awareness, but avoidTolls, avoidHighways, units, includeSteps and the departureTime default are left to the schema. Most remaining names are self-explanatory or enum-backed, so the gap is moderate rather than severe.

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?

States a specific verb and resource ("Route between two places") and enumerates what comes back: distance, travel time, turn-by-turn steps and a Maps link. That output list implicitly separates it from the sibling maps_distance_matrix (many-to-many distances), but no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance and no mention of prerequisites or alternatives such as maps_distance_matrix or maps_geocode. The only usage hint is "Optional stops and alternatives," which describes capability rather than selection criteria.

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

Deploy Server

Other Tools