Skip to main content
Glama

MCP Server Boilerplate

get-directions

Calculate precise directions between two locations using addresses or coordinates. Specify travel modes like driving, walking, bicycling, or transit for tailored route guidance.

Instructions

Get directions between two locations

Input Schema

NameRequiredDescriptionDefault
destinationYesEnding location (address or lat,lng)
modeNoTravel mode
originYesStarting location (address or lat,lng)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "destination": { "description": "Ending location (address or lat,lng)", "type": "string" }, "mode": { "description": "Travel mode", "enum": [ "driving", "walking", "bicycling", "transit" ], "type": "string" }, "origin": { "description": "Starting location (address or lat,lng)", "type": "string" } }, "required": [ "origin", "destination" ], "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