Skip to main content
Glama

agentic_kpi_collect

Collects and visualizes key performance indicators for GitHub development workflows to track progress and identify areas for improvement.

Instructions

KPI収集・ダッシュボード生成

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNo集計期間

Implementation Reference

  • The handler function that implements the core logic for the 'agentic_kpi_collect' tool. It runs a Node.js script to collect KPIs for the specified period and returns the output in a formatted response.
      private async handleKPICollect(args: { period?: string }) {
        const period = args.period || '24h';
    
        const { stdout } = await execAsync(
          `node scripts/collect-metrics.js --period=${period}`
        );
    
        return {
          content: [
            {
              type: 'text',
              text: `## 📊 KPI収集完了
    
    **期間**: ${period}
    
    ${stdout}`
            }
          ]
        };
      }
  • The tool definition in the TOOLS array, including name, description, and input schema for validating parameters like 'period'.
    {
      name: 'agentic_kpi_collect',
      description: 'KPI収集・ダッシュボード生成',
      inputSchema: {
        type: 'object',
        properties: {
          period: {
            type: 'string',
            enum: ['6h', '24h', '7d', '30d'],
            description: '集計期間'
          }
        }
      }
    },
  • server.ts:241-242 (registration)
    The switch case that registers and routes calls to the 'agentic_kpi_collect' handler within the CallToolRequestSchema handler.
    case 'agentic_kpi_collect':
      return await this.handleKPICollect(args as any);

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/ShunsukeHayashi/agentic-mcp-server'

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