Skip to main content
Glama

uncheck_episode

Mark specific TV show episodes as unwatched using episode IDs. Supports single or batch operations to update your MyShows.me viewing status.

Instructions

Unmarks a specific episode as watched by its ID. Supports both single episode ID and list of episode IDs for batch operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
episode_idYes

Implementation Reference

  • MCP tool handler function for 'uncheck_episode', decorated with @mcp.tool() for registration and @tool_handler. Delegates execution to the API client.
    @mcp.tool() @tool_handler async def uncheck_episode(episode_id: Union[int, List[int]]): """Unmarks a specific episode as watched by its ID. Supports both single episode ID and list of episode IDs for batch operations.""" return await api_client.uncheck_episode(episode_id=episode_id)
  • Core implementation of uncheck_episode in MyShowsAPI class, handling single or batch episode unchecking via JSON-RPC call to 'manage.UncheckEpisode'.
    async def uncheck_episode(self, episode_id: Union[int, List[int]]) -> Dict[str, Any]: """Unmarks an episode as watched by its ID. :param episode_id: The ID of the episode to uncheck, or a list of episode IDs for batch operation. :return: A dictionary containing the result of the uncheck operation. """ if isinstance(episode_id, list): params = [{"id": int(ep_id)} for ep_id in episode_id] else: params = {"id": int(episode_id)} return await self._make_request( "manage.UncheckEpisode", params=params, id=111 )
  • Registration of the 'uncheck_episode' tool using FastMCP's @mcp.tool() decorator.
    @mcp.tool()

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