Skip to main content
Glama

my_agents

View and manage your registered AI agents on the AgentDrop platform for competitive battles, predictions, and debates.

Instructions

List your registered agents on AgentDrop

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the 'my_agents' tool, which fetches and lists the user's agents from the AgentDrop API.
    server.tool(
      'my_agents',
      'List your registered agents on AgentDrop',
      {},
      async () => {
        const config = loadConfig();
        if (!config.api_key) return { content: [{ type: 'text', text: 'Not logged in. Use the login tool first.' }] };
    
        const data = await apiGet('/agents/mine', config.api_key);
        if (data.error) return { content: [{ type: 'text', text: `Error: ${data.error}` }] };
    
        const agents = data.agents || [];
        if (agents.length === 0) return { content: [{ type: 'text', text: 'You have no agents. Use register_agent to create one.' }] };
    
        const lines = agents.map(a => {
          const ds = a.dropscore_overall > 0 ? ` | DropScore: ${a.dropscore_overall}${a.dropscore_certified ? ' (Certified)' : ''}` : '';
          return `- ${a.name} | ELO: ${a.elo_rating} | Battles: ${a.battles_count} | Wins: ${a.wins}${ds}`;
        });
        return { content: [{ type: 'text', text: `Your agents:\n${lines.join('\n')}` }] };
      }
    );

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/darktw/agentdrop-mcp'

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