Skip to main content
Glama
adepanges

TeamRetro MCP Server

delete_team

Remove an existing team from TeamRetro MCP Server by specifying the team ID. Streamline team management and maintain accurate organizational structures.

Instructions

Delete an existing team

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamIdYesstring

Implementation Reference

  • Core handler function that executes the team deletion by sending an HTTP DELETE request to the TeamRetro API endpoint `/v1/teams/${teamId}` and returns a success response.
    async deleteTeam(
      teamId: string
    ): Promise<SingleApiResponse<any>> {
      await this.delete<any>(`/v1/teams/${teamId}`);
      return {
        success: true,
        data: {},
      };
    }
  • Registers the 'delete_team' tool with its Zod input schema, description, and handler function that calls the service method.
    delete_team: {
      schema: z.object({
        teamId: idSchema,
      }),
      description: "Delete an existing team by its ID",
      handler: async (args: { teamId: string }) =>
        createToolResponse(teamsService.deleteTeam(args.teamId)),
    },
  • src/tools.ts:13-22 (registration)
    Top-level registration where teamTools (including delete_team) is spread into the main tools object used for MCP tool schema and handler generation.
    const tools = {
      ...userTools,
      ...teamTools,
      ...teamMembersTools,
      ...actionTools,
      ...retrospectiveTools,
      ...agreementTools,
      ...healthModelTools,
      ...healthCheckTools,
    };
  • Generates the JSON schema for all tools, including delete_team, from their Zod schemas for MCP protocol.
    const toolSchema = Object.entries(tools).map(([name, tool]) => ({
      name,
      description: tool.description,
      inputSchema: zodToJsonSchema(tool.schema, {
        $refStrategy: "none",
      }),
    }));
  • src/tools.ts:36-38 (registration)
    Registers the handlers for all tools, including delete_team, with error handling wrappers.
    Object.entries(tools).forEach(([name, tool]) => {
      toolHandlers[name] = (args: any) => toolErrorHandlers(tool.handler, args);
    });
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states 'delete' but doesn't disclose if this is permanent, reversible, requires admin permissions, affects associated data (e.g., members, projects), or has side effects. For a destructive tool with zero annotation coverage, this is a significant gap in behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, direct sentence with zero waste. It is appropriately sized and front-loaded, clearly stating the tool's purpose without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool with no annotations and no output schema, the description is incomplete. It lacks critical context such as irreversible consequences, permission requirements, error conditions, or return values. Given the complexity and risk of deletion, more behavioral and usage details are needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with the parameter 'teamId' documented in the schema (including pattern and type). The description adds no parameter-specific information beyond implying a team identifier is needed. Baseline 3 is appropriate as the schema handles parameter documentation adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Delete an existing team' clearly states the action (delete) and target resource (team). It distinguishes from siblings like 'create_team' or 'update_team' by specifying deletion. However, it lacks specificity about what 'delete' entails (e.g., permanent removal vs archiving).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., team must be empty), exclusions (e.g., cannot delete default teams), or related tools like 'detail_team' for verification. The description alone offers no usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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