Skip to main content
Glama

list_teams

Retrieve all teams accessible to the authenticated user and obtain their UUIDs, which are required for performing other team-related operations within Coolify.

Instructions

List all teams the authenticated user has access to. Use this to get team UUIDs needed for other operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the list_teams tool: sends GET request to Coolify's /teams endpoint and returns the JSON response as text content.
    case 'list_teams': const teamsResponse = await this.axiosInstance.get('/teams'); return { content: [{ type: 'text', text: JSON.stringify(teamsResponse.data, null, 2) }] };
  • src/index.ts:147-159 (registration)
    Registration of the list_teams tool in the ListToolsRequestSchema response, including name, description, input schema, and additional usage information.
    { name: 'list_teams', description: 'List all teams the authenticated user has access to. Use this to get team UUIDs needed for other operations.', inputSchema: { type: 'object', properties: {}, required: [], examples: [{}], additionalInfo: { responseFormat: 'Returns an array of team objects, each containing: id (UUID), name, and other team details', usage: 'Call this first to get team IDs needed for get_team or other team-related operations' } }
  • Schema definition for list_teams tool: no input parameters required, returns team list.
    { name: 'list_teams', description: 'List all teams the authenticated user has access to. Use this to get team UUIDs needed for other operations.', inputSchema: { type: 'object', properties: {}, required: [], examples: [{}], additionalInfo: { responseFormat: 'Returns an array of team objects, each containing: id (UUID), name, and other team details', usage: 'Call this first to get team IDs needed for get_team or other team-related operations' } }

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

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