Skip to main content
Glama

uncheck_episode

Unmark TV show episodes as unwatched by episode ID to correct viewing history or manage watch status in batch operations.

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 for uncheck_episode. Decorated with @mcp.tool() for registration and @tool_handler for error handling. Delegates execution to the MyShowsAPI 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 in MyShowsAPI class that prepares parameters and makes the JSON-RPC call to 'manage.UncheckEpisode' endpoint.
    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 )

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