Skip to main content
Glama
dmarsters

Constellation Composition MCP Server

by dmarsters

list_all_constellations

Retrieve all 22 major constellations with abbreviations and themes to browse compositional patterns for AI image generation.

Instructions

List all available constellations with basic information.

Provides a quick overview of all 22 major constellations available in the system, including their abbreviations and primary themes. Useful for browsing options or understanding the full scope of available compositional patterns.

Args: response_format: Output format ('markdown' or 'json')

Returns: str: Complete list of constellations with basic metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNoOutput format for responses.markdown

Implementation Reference

  • Implementation of the 'list_all_constellations' MCP tool which lists all available constellations with their basic metadata.
    @mcp.tool(
        name="list_all_constellations",
        annotations={
            "title": "List All Available Constellations",
            "readOnlyHint": True,
            "destructiveHint": False,
            "idempotentHint": True,
            "openWorldHint": False
        }
    )
    async def list_all_constellations(response_format: ResponseFormat = ResponseFormat.MARKDOWN) -> str:
        """
        List all available constellations with basic information.
        
        Provides a quick overview of all 22 major constellations available in the system,
        including their abbreviations and primary themes. Useful for browsing options
        or understanding the full scope of available compositional patterns.
        
        Args:
            response_format: Output format ('markdown' or 'json')
        
        Returns:
            str: Complete list of constellations with basic metadata
        """
        
        constellation_list = []
        for name, data in sorted(CONSTELLATIONS.items()):
            constellation_list.append({
                'name': name,
                'abbreviation': data.get('abbr'),
                'theme': data.get('theme'),
                'shape': data.get('shape')
            })
        
        if response_format == ResponseFormat.JSON:
            return json.dumps({
                'constellations': constellation_list,
                'total_count': len(constellation_list)
            }, indent=2)
        else:
            md = f"# Available Constellations ({len(constellation_list)})\n\n"
            for item in constellation_list:
                md += f"## {item['name']} ({item['abbreviation']})\n\n"
                md += f"**Theme:** {item['theme']}\n\n"
                md += f"**Shape Pattern:** {item['shape'].replace('_', ' ').title()}\n\n"
                md += "---\n\n"
            return md

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/dmarsters/constellation-composition-mcp'

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