Skip to main content
Glama

get_calendar_episodes

Retrieve upcoming TV show episodes from your MyShows calendar to track air dates and episode details for viewing planning.

Instructions

Retrieves the calendar episodes from MyShows with information about the next episodes. This method fetches the next episodes scheduled to air, including their details. :return: A dictionary containing the calendar episodes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler and registration for get_calendar_episodes using @mcp.tool(). Delegates to the API client.
    @mcp.tool() @tool_handler async def get_calendar_episodes(): """Retrieves the calendar episodes from MyShows with information about the next episodes. This method fetches the next episodes scheduled to air, including their details. :return: A dictionary containing the calendar episodes. """ return await api_client.get_calendar_episodes()
  • Core implementation in MyShowsAPI client: calls JSON-RPC method 'lists.Episodes' with {'list': 'next'} to fetch next episodes.
    async def get_calendar_episodes(self) -> Dict[str, Any]: """Retrieves the calendar episodes from MyShows with information about the next episodes. This method fetches the next episodes scheduled to air, including their details. :return: A dictionary containing the calendar episodes. """ return await self._make_request( method="lists.Episodes", id=86, params={"list": "next"} )

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/zeloras/myshows_mcp'

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