Skip to main content
Glama

teams-list

Retrieve all teams from Shortcut project management to view team structure and members for project coordination.

Instructions

List all Shortcut teams

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the "teams-list" tool. Fetches all teams using the Shortcut client and returns a formatted result, handling empty list case.
    async getTeams() { const teams = await this.client.getTeams(); if (!teams.length) return this.toResult(`No teams found.`); return this.toResult( `Result (first ${teams.length} shown of ${teams.length} total teams found):`, await this.entitiesWithRelatedEntities(teams, "teams"), ); } }
  • Registration of the "teams-list" tool on the MCP server, with no input parameters, delegating to the getTeams() method.
    server.addToolWithReadAccess( "teams-list", "List all Shortcut teams", async () => await tools.getTeams(), );

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/useshortcut/mcp-server-shortcut'

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