Skip to main content
Glama

romm_firmware

List BIOS and firmware files for ROM management, with optional filtering by platform to organize your collection.

Instructions

List BIOS/firmware files. Optionally filter by platform.

platform_id: Filter to a specific platform (0 = all).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platform_idNo

Implementation Reference

  • The `romm_firmware` tool is implemented as an async function decorated with `@mcp.tool()`. It takes an optional `platform_id` and fetches firmware data from the RomM API using a helper function `_get`.
    @mcp.tool()
    async def romm_firmware(platform_id: int = 0) -> str:
        """List BIOS/firmware files. Optionally filter by platform.
    
        platform_id: Filter to a specific platform (0 = all).
        """
        params: dict = {}
        if platform_id:
            params["platform_id"] = platform_id
    
        data = await _get("firmware", params=params)
    
        if not isinstance(data, list) or not data:
            qualifier = f" for platform {platform_id}" if platform_id else ""
            return f"No firmware found{qualifier}."
    
        lines = [f"Firmware ({len(data)}):\n"]
        for fw in data[:50]:
            fname = fw.get("file_name", "?")
            size = fw.get("file_size_bytes", 0)

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