get_myshows_recomendations
Retrieve personalized TV show recommendations from your MyShows.me 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 (handler)MCP tool handler function for 'get_myshows_recomendations', decorated with @mcp.tool() for registration and execution. Delegates to the API client's method.@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()
- Core implementation in the MyShowsAPI class that performs the JSON-RPC API call to fetch recommendations using the 'recommendation.Get' method.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} )
- src/myshows_mcp/server.py:115-115 (registration)The @mcp.tool() decorator registers the function as an MCP tool.@mcp.tool()