Skip to main content
Glama

romm_filters

Retrieve filter values like genres, regions, languages, and tags to refine ROM searches and organize game collections effectively.

Instructions

Get available filter values for ROM browsing — genres, regions, languages, tags.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the `romm_filters` tool which fetches filter data (genres, regions, etc.) from the ROMM API and formats it into a string summary.
    async def romm_filters() -> str:
        """Get available filter values for ROM browsing — genres, regions, languages, tags."""
        data = await _get("roms/filters", long_timeout=True)
    
        if not isinstance(data, dict):
            return "No filter data available."
    
        lines = ["Available ROM Filters:\n"]
    
        for key in ("genres", "franchises", "collections", "companies", "regions",
                    "languages", "tags"):
            values = data.get(key, [])
            if values:
                display = ", ".join(str(v) for v in values[:30])
                if len(values) > 30:
                    display += f"... (+{len(values) - 30} more)"
                lines.append(f"  {key.title()} ({len(values)}): {display}")
    
        if len(lines) == 1:
            return "No filters available (library may be empty)."
    
        return "\n".join(lines)

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/lodordev/mcp-romm'

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