Skip to main content
Glama

romm_devices

List registered devices like handhelds and emulators to manage and track your gaming hardware collection.

Instructions

List registered devices (handhelds, emulators, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler implementation for the 'romm_devices' MCP tool, which fetches and lists registered devices from the Romm API.
    @mcp.tool()
    async def romm_devices() -> str:
        """List registered devices (handhelds, emulators, etc.)."""
        data = await _get("devices")
    
        if not isinstance(data, list) or not data:
            return "No devices registered."
    
        lines = [f"Devices ({len(data)}):\n"]
        for d in data:
            name = d.get("name", "Unknown")
            device_type = d.get("type", "")
            device_id = d.get("id", "?")
    
            line = f"  - {name}"
            if device_type:
                line += f" ({device_type})"
            lines.append(line)
            lines.append(f"    ID: {device_id}")
    
        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