Skip to main content
Glama

delete_user

Remove a user from TeamRetro by specifying their email address. This action ensures user data is permanently deleted from the system for retrospective management.

Instructions

Delete a user by email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesstring

Implementation Reference

  • The handler function for the 'delete_user' tool, which wraps the usersService.deleteUser call with createToolResponse.
    handler: async (args: { email: string }) => createToolResponse(usersService.deleteUser(args.email)),
  • Input schema definition for the 'delete_user' tool using Zod, requiring a validated email.
    schema: z.object({ email: emailSchema, }),
  • src/tools.ts:13-22 (registration)
    Central registration where userTools (containing 'delete_user') is merged into the main tools object for schema and handler generation.
    const tools = { ...userTools, ...teamTools, ...teamMembersTools, ...actionTools, ...retrospectiveTools, ...agreementTools, ...healthModelTools, ...healthCheckTools, };
  • Core helper function in usersService that performs the actual DELETE API request to /v1/users/{email}.
    async deleteUser(email: string): Promise<SingleApiResponse<any>> { return this.delete<SingleApiResponse<any>>(`/v1/users/${email}`); }
  • Reusable Zod schema for email strings, referenced in the 'delete_user' tool schema.
    export const emailSchema = z.string().email().describe("email");

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