watched_movies
Retrieve your watched movie history from MyShows to track viewing progress and manage your personal film collection.
Instructions
Retrieves a list of watched movies from MyShows. :param page: The page number to retrieve (default is 0). :return: A dictionary containing the list of watched movies.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No |
Implementation Reference
- src/myshows_mcp/server.py:43-43 (registration)Registration of the 'watched_movies' tool using @mcp.tool() decorator@mcp.tool()
- src/myshows_mcp/server.py:45-50 (handler)Handler function for the 'watched_movies' tool, delegates to MyShowsAPIasync def watched_movies(page: int = 0): """Retrieves a list of watched movies from MyShows. :param page: The page number to retrieve (default is 0). :return: A dictionary containing the list of watched movies. """ return await api_client.get_watched_movies(page=page)
- Helper method in MyShowsAPI that performs the RPC call to profile.WatchedMoviesasync def get_watched_movies(self, page: int = 0) -> Dict[str, Any]: """Retrieves a list of watched movies from MyShows.""" return await self._make_request( method="profile.WatchedMovies", id=80, params={ "page": int(page), "pageSize": 20, "login": "", "search": {"sort": "watchedAt_desc"}, }, )