Skip to main content
Glama

romm_tasks

Monitor running and scheduled task status to track progress and identify issues in your workflow.

Instructions

Check running and scheduled task status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function romm_tasks, which calls the tasks/status endpoint of the RomM API to retrieve and format the status of background tasks.
    async def romm_tasks() -> str:
        """Check running and scheduled task status."""
        data = await _get("tasks/status")
    
        if not isinstance(data, (dict, list)):
            return "No task data available."
    
        if isinstance(data, dict):
            lines = ["Task Status:\n"]
            for task_name, info in data.items():
                if isinstance(info, dict):
                    status = info.get("status", "unknown")
                    last_run = info.get("last_run", "")
                    next_run = info.get("next_run", "")
                    line = f"  {task_name}: {status}"
                    if last_run:
                        line += f" (last: {last_run})"
                    if next_run:
                        line += f" (next: {next_run})"
                    lines.append(line)
                else:
                    lines.append(f"  {task_name}: {info}")
            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