Skip to main content
Glama

MCP Server Boilerplate

distance-matrix

Calculate travel distances and times between multiple origins and destinations using driving, walking, bicycling, or transit modes.

Instructions

Calculate travel distance and time between multiple origins and destinations

Input Schema

NameRequiredDescriptionDefault
destinationsYesArray of destination locations
modeNoTravel mode
originsYesArray of origin locations

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "destinations": { "description": "Array of destination locations", "items": { "type": "string" }, "type": "array" }, "mode": { "description": "Travel mode", "enum": [ "driving", "walking", "bicycling", "transit" ], "type": "string" }, "origins": { "description": "Array of origin locations", "items": { "type": "string" }, "type": "array" } }, "required": [ "origins", "destinations" ], "type": "object" }

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/CaptainCrouton89/maps-mcp'

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