Skip to main content
Glama

team_dashboard

Monitor team collaboration status across AI models, showing available experts, model configurations, and recent activities for coordinated task management.

Instructions

查看团队当前状态:可用专家、模型配置、最近活动

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'team_dashboard' tool. It constructs a markdown-formatted dashboard displaying available experts, model configurations, usage statistics, and recent history entries.
            case 'team_dashboard': {
              // 构建团队仪表盘信息
              const expertList = Object.entries(allExperts)
                .map(([id, e]) => `- **${e.name}** (\`${id}\`) - ${e.tier} 级别`)
                .join('\n');
              
              const modelList = Object.entries(config.models)
                .map(([name, m]) => `- **${name}**: ${m.model} (${m.provider}, ${m.tier || 'balanced'})`)
                .join('\n');
              
              const recentHistory = historyManager.list(3);
              const recentText = recentHistory.length > 0
                ? recentHistory.map(h => `- ${h.task.slice(0, 50)}${h.task.length > 50 ? '...' : ''} (${new Date(h.timestamp).toLocaleString()})`).join('\n')
                : '暂无记录';
              
              const stats = globalStats.getGlobalStats();
              
              const dashboard = `# 🎛️ 团队仪表盘
    
    ## 👥 可用专家 (${Object.keys(allExperts).length} 个)
    ${expertList}
    
    ## 🤖 模型配置
    ${modelList}
    
    ## 📊 运行统计
    - 总调用次数: ${stats.totalCalls}
    - 成功率: ${stats.totalCalls > 0 ? ((stats.totalSuccess / stats.totalCalls) * 100).toFixed(1) : 0}%
    - 平均耗时: ${stats.avgDuration.toFixed(0)}ms
    
    ## 📜 最近活动
    ${recentText}`;
    
              return {
                content: [{ type: 'text', text: dashboard }],
              };
            }
  • src/server.ts:267-274 (registration)
    Registration of the 'team_dashboard' tool in the list of tools returned by ListToolsRequestSchema. Includes name, description, and empty input schema.
    {
      name: 'team_dashboard',
      description: '查看团队当前状态:可用专家、模型配置、最近活动',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • Input schema for the 'team_dashboard' tool, which takes no parameters.
    inputSchema: {
      type: 'object',
      properties: {},
    },

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/7836246/claude-team-mcp'

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