Skip to main content
Glama

list_available_frameworks

Discover available reasoning frameworks to understand their purposes and identify the best approach for specific tasks.

Instructions

List all available reasoning frameworks with their descriptions.

Use this to understand what frameworks are available and when each is best used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The MCP tool `list_available_frameworks` is implemented in `src/promptcore/main.py` using the `@mcp.tool()` decorator. It iterates over `FRAMEWORK_REGISTRY` to return a list of available reasoning frameworks with their details.
    @mcp.tool()
    def list_available_frameworks() -> dict:
        """
        List all available reasoning frameworks with their descriptions.
        
        Use this to understand what frameworks are available and when each is best used.
        """
        # This tool reads from static registry, valid to stay static or move to selector
        # For consistency, we can leave it as is since FRAMEWORK_REGISTRY is a constant
        frameworks = []
        for name, cls in FRAMEWORK_REGISTRY.items():
            frameworks.append({
                "name": name,
                "description": cls.description,
                "best_for": [cat.value for cat in cls.best_for],
                "complexity_threshold": cls.complexity_threshold,
            })
        
        return {
            "frameworks": frameworks,
            "count": len(frameworks),
        }

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/BlinkVoid/PromptSmith'

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