Skip to main content
Glama

list-teams

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

Instructions

List all Shortcut teams

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implements the core logic for the list-teams tool by fetching all teams from the Shortcut client, handling empty results, and formatting the output using base tool methods.
    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"), ); }
  • Registers the 'list-teams' tool on the MCP server with no input parameters and a handler that delegates to the getTeams method.
    server.tool("list-teams", "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/ampcome-mcps/shortcut-mcp'

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