Skip to main content
Glama
zebbern

agloop-mcp

by zebbern

agloop_get_agent_info

Retrieve the full agent prompt and definition from .agent.md files to understand agent capabilities and configurations within the AgLoop framework.

Instructions

Read the definition file (.agent.md) for a specific agent. Returns the full agent prompt including frontmatter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_nameYes

Implementation Reference

  • The handler function for agloop_get_agent_info, which reads agent information using the _sm() state manager.
    @mcp.tool()
    def agloop_get_agent_info(agent_name: str) -> str:
        """Read the definition file (.agent.md) for a specific agent. Returns the full agent prompt including frontmatter."""
        info = _sm().get_agent_info(agent_name)
        if not info:
            return json.dumps({"error": f"Agent '{agent_name}' not found"})
        return info

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