get_myshows_recomendations
Retrieve personalized TV show recommendations from your MyShows profile to discover new series based on your viewing preferences.
Instructions
Retrieves recommendations from MyShows. :return: A dictionary containing the recommendations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| self | Yes |
Implementation Reference
- src/myshows_mcp/server.py:115-122 (registration)Registration of the MCP tool using @mcp.tool() decorator and the wrapper handler function that delegates to the API client.@mcp.tool() @tool_handler async def get_myshows_recomendations(self): """Retrieves recommendations from MyShows. :return: A dictionary containing the recommendations. """ return await api_client.get_myshows_recomendations()
- The main handler logic in MyShowsAPI class, performing the JSON-RPC API call to fetch recommendations.async def get_myshows_recomendations(self) -> Dict[str, Any]: """Retrieves recommendations from MyShows. :return: A dictionary containing the recommendations. """ return await self._make_request( method="recommendation.Get", id=107, params={"count": 10} )