Skip to main content
Glama

create_team

Create a new team with optional members and tags to manage team retrospectives effectively. Input a team name, add members with email and optional admin status, and assign tags for organization.

Instructions

Create a new team with optional members and tags

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
membersNo{ email: string, name?: string, teamAdmin?: boolean }[]
nameYesstring
tagsNostring[]

Implementation Reference

  • The main handler function that performs the actual team creation by posting data to the /v1/teams API endpoint.
    async createTeam(data: { name: string; tags?: string[]; members?: TeamMember[]; }): Promise<SingleApiResponse<Team>> { return this.post<SingleApiResponse<Team>>("/v1/teams", data); }
  • Local registration of the 'create_team' tool within the teamTools object, including inline schema, description, and wrapper handler.
    create_team: { schema: teamSchema.pick({ name: true, tags: true, members: true, }), description: "Create a new team with a required name, and optional tags and members", handler: async (args: { name: string; tags?: string[]; members?: TeamMember[]; }) => createToolResponse(teamsService.createTeam(args)), },
  • Input schema for the create_team tool using Zod pick from teamSchema.
    schema: teamSchema.pick({ name: true, tags: true, members: true, }),
  • src/tools.ts:14-22 (registration)
    Global registration where teamTools (containing create_team) is spread into the main tools object.
    ...userTools, ...teamTools, ...teamMembersTools, ...actionTools, ...retrospectiveTools, ...agreementTools, ...healthModelTools, ...healthCheckTools, };
  • src/tools.ts:36-38 (registration)
    Registers the handler for each tool (including create_team) with error handling wrapper.
    Object.entries(tools).forEach(([name, tool]) => { toolHandlers[name] = (args: any) => toolErrorHandlers(tool.handler, args); });

Other Tools

Related 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/adepanges/teamretro-mcp-server'

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