Skip to main content
Glama

romm_rom_notes

View notes associated with a specific ROM in the RomM library to track details and management information.

Instructions

View notes on a ROM.

rom_id: The ROM's ID (from romm_library_items or romm_search).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rom_idYes

Implementation Reference

  • The handler function `romm_rom_notes` fetches notes for a specific ROM ID from the API and formats them into a string.
    @mcp.tool()
    async def romm_rom_notes(rom_id: int) -> str:
        """View notes on a ROM.
    
        rom_id: The ROM's ID (from romm_library_items or romm_search).
        """
        data = await _get(f"roms/{rom_id}/notes")
    
        if not isinstance(data, list) or not data:
            return f"No notes found for ROM {rom_id}."
    
        lines = [f"Notes for ROM {rom_id} ({len(data)}):\n"]
        for n in data:
            body = n.get("raw_markdown") or n.get("body", "")
            created = n.get("created_at", "")
            updated = n.get("updated_at", "")
            note_id = n.get("id", "?")
    
            if body:
                short = body[:300]
                if len(body) > 300:
                    short += "..."
                lines.append(f"  [{note_id}] {short}")
            if created:
                line = f"    Created: {created}"
                if updated and updated != created:
                    line += f" | Updated: {updated}"
                lines.append(line)
            lines.append("")
    
        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