Skip to main content
Glama
richarda23

Edinburgh Festivals MCP Server

by richarda23

edinburgh_festival_venue_routes

Calculate the optimal route between two venues for Edinburgh Festivals, enabling efficient navigation and planning for event attendees.

Instructions

Calculate route between venues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
destinationYes
originYes

Implementation Reference

  • main.py:51-63 (handler)
    The handler function implementing the 'edinburgh_festival_venue_routes' tool logic, which uses Google Maps to compute walking directions between two venues. It is registered as a tool via the @mcp.tool decorator.
    @mcp.tool(description="Calculate route between venues") def edinburgh_festival_venue_routes(origin: str, destination: str) -> Dict: """ Calculates the route between two venues. :param origin: The starting venue :param destination: The destination venue. :return: A dictionary containing route information:. """ gmaps_cli = gmaps.GMAPS() if not gmaps_cli.enabled: return {"error": "Google Maps API key is not set. This tool is not available."} directions = gmaps_cli.get_directions(origin, destination, mode="walking") return directions

Other Tools

Related 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/richarda23/edfest-mcp'

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