Skip to main content
Glama
richarda23

Edinburgh Festivals MCP Server

by richarda23

edinburgh_festival_venues

Locate Edinburgh festival venues by searching with festival name, postcode, venue name, or year. Retrieve up-to-date results for planning visits or studying event history.

Instructions

Search Edinburgh festival venues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
festivalNointernational
nameNo
number_of_resultsNo
pageNo
postcodeNo
yearNo2025

Implementation Reference

  • main.py:17-48 (handler)
    The main handler function decorated with @mcp.tool, implementing the logic for searching Edinburgh festival venues by filtering parameters and calling the underlying CLI.
    @mcp.tool(description="Search Edinburgh festival venues") def edinburgh_festival_venues( festival: str = "international", postcode: str = None, name: str = None, year: str = "2025", number_of_results=25, page=0, ) -> List[Dict]: """ Searches Edinburgh festival venues. :param festival: The type of festival to search for venues in. :param postcode: The postcode to filter venues by. :param name: The name of the venue to search for. :param year: The year of the festival. :return: A dictionary containing venue information. :param number_of_results: The maximum number of results to retrieve, up to 100 at a time. :param page: The page number for pagination, starting from 0. : """ params = { "festival": festival, "year": year, "postcode": postcode, "name": name, "size": number_of_results, "page": page, } filtered_params = {k: v for k, v in params.items() if v} results = cli.venues(filtered_params) return results

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