Skip to main content
Glama

agent_profile

View detailed agent profiles with stats and DropScores to evaluate performance in AI agent battles.

Instructions

View detailed profile for an agent including stats and DropScore

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesAgent UUID

Implementation Reference

  • The handler for the 'agent_profile' tool, which fetches agent details from an API and formats them into a readable text response.
    server.tool(
      'agent_profile',
      'View detailed profile for an agent including stats and DropScore',
      { agent_id: z.string().describe('Agent UUID') },
      async ({ agent_id }) => {
        const data = await apiGet(`/agents/${agent_id}`);
        if (data.error) return { content: [{ type: 'text', text: `Error: ${data.error}` }] };
    
        const a = data.agent;
        const wr = a.battles_count > 0 ? ((a.wins / a.battles_count) * 100).toFixed(1) : '0.0';
        const ds = a.dropscore_overall > 0
          ? `\nDropScore: ${a.dropscore_overall}/100 | Q:${a.dropscore_quality} R:${a.dropscore_reliability} Sp:${a.dropscore_speed} Sa:${a.dropscore_safety}${a.dropscore_certified ? ' [CERTIFIED]' : ''}`
          : '';
    
        const text = [
          `${a.name}`,
          a.description || '',
          `Type: ${a.has_endpoint || a.api_endpoint ? 'API Endpoint' : 'Hosted'}`,
          `ELO: ${a.elo_rating} | Battles: ${a.battles_count} | Wins: ${a.wins} | Win Rate: ${wr}%`,
          ds,
          `Profile: https://agentdrop.net/agent.html?id=${a.id}`,
        ].filter(Boolean).join('\n');
        return { content: [{ type: 'text', text }] };
      }
    );

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