Skip to main content
Glama
zebbern

agloop-mcp

by zebbern

agloop_get_logs

Retrieve execution logs from the AgLoop agent framework with filtering options for agent, task, or result limits to monitor and analyze workflow performance.

Instructions

Read execution log entries. Supports filtering by agent, task, and limiting results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
agentNo
task_idNo

Implementation Reference

  • The 'agloop_get_logs' tool is defined as an MCP tool in 'src/agloop_mcp/server.py'. It acts as a handler that retrieves log entries from the 'StateManager'.
    def agloop_get_logs(
        limit: int = 0,
        agent: str = "",
        task_id: str = "",
    ) -> str:
        """Read execution log entries. Supports filtering by agent, task, and limiting results."""
        entries = _sm().get_logs(
            limit=limit or None,
            agent=agent or None,
            task_id=task_id or None,
        )
        return json.dumps([asdict(e) for e in entries], 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