Skip to main content
Glama
zebbern

agloop-mcp

by zebbern

agloop_update_task

Update task status and result logs in AgLoop's agent framework. Automatically sets timestamps for coordinator users managing agent workflows.

Instructions

Update a task's status and/or result log. Auto-sets timestamps. COORDINATOR ONLY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
statusNo
result_logNo

Implementation Reference

  • The implementation of the `agloop_update_task` tool, which updates a task's status and result log, is defined as a tool handler decorated with `@mcp.tool()`.
    @mcp.tool()
    def agloop_update_task(
        task_id: str,
        status: str = "",
        result_log: str = "",
    ) -> str:
        """Update a task's status and/or result log. Auto-sets timestamps. COORDINATOR ONLY."""
        task = _sm().update_task(
            task_id,
            status=status or None,
            result_log=result_log or None,
        )
        if not task:
            return json.dumps({"error": f"Failed to update task '{task_id}'"})
        return json.dumps(asdict(task), indent=2)

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/zebbern/agloop-mcp'

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