Skip to main content
Glama
lmorchard

Oblique Strategies MCP Server

by lmorchard

list_editions

Browse available editions of the Oblique Strategies card deck to select creative prompts that help overcome creative blocks through lateral thinking.

Instructions

List all available editions and their descriptions.

Returns: Information about all available editions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual implementation of the 'list_editions' logic resides in the StrategiesManager class within strategies_core.py.
    def list_editions(self) -> Dict[str, Any]:
        """List all available editions and their descriptions."""
        edition_info = []
    
        for key, filename in self.EDITIONS.items():
            file_path = self.strategies_dir / filename
            if file_path.exists():
                try:
                    strategies = self.load_strategies(key)
                    count = len(strategies)
                except Exception:
                    count = 0
    
                edition_info.append(
                    {
                        "key": key,
                        "filename": filename,
                        "strategy_count": count,
                        "is_default": key == self.DEFAULT_EDITION,
                    }
                )
    
        return {"editions": edition_info, "default_edition": self.DEFAULT_EDITION}
  • The MCP tool registration and wrapper function for 'list_editions' in the MCP server setup.
    @mcp.tool()
    def list_editions() -> Dict[str, Any]:
        """
        List all available editions and their descriptions.
    
        Returns:
            Information about all available editions.
        """
        return manager.list_editions()
Install Server

Other Tools

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/lmorchard/oblique-strategies-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server