Skip to main content
Glama

get_team

Retrieve detailed information about a specific team in Coolify, including its configuration and members, using the team ID.

Instructions

Get details of a specific team

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
team_idYesTeam ID

Implementation Reference

  • The handler logic for the 'get_team' tool. Validates 'team_id' parameter and calls the Coolify API to fetch team details.
    case 'get_team': requireParam(args, 'team_id'); return client.get(`/teams/${args.team_id}`);
  • Input schema and description for the 'get_team' tool, defining the required 'team_id' parameter.
    { name: 'get_team', description: 'Get details of a specific team', inputSchema: { type: 'object', properties: { team_id: { type: 'string', description: 'Team ID' } }, required: ['team_id'] } },
  • src/index.ts:36-38 (registration)
    Registration of tools via MCP Server's listTools handler, which returns all tool definitions including 'get_team' from getToolDefinitions().
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • src/index.ts:57-57 (registration)
    Tool execution handler in MCP Server that dispatches to handleTool, which contains the 'get_team' case.
    const result = await handleTool(this.client, name, args || {});
  • Helper function used by 'get_team' handler to validate required parameters.
    function requireParam(args: ToolArgs, param: string): void { if (!args[param]) { throw new McpError(ErrorCode.InvalidParams, `${param} is required`); } }
Install Server

Other Tools

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/kof70/coolify-mcp-server'

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