Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

delete_label

Remove a specific label from a project in Plane MCP Server by providing the project and label UUID identifiers.

Instructions

Delete a label

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
label_idYesThe uuid identifier of the label to delete
project_idYesThe uuid identifier of the project containing the label

Implementation Reference

  • Full registration of the 'delete_label' MCP tool, including inline Zod input schema (project_id and label_id) and the handler function that executes a DELETE request to the Plane API to delete the specified label, returning the JSON response as text content.
    server.tool(
      "delete_label",
      "Delete a label",
      {
        project_id: z.string().describe("The uuid identifier of the project containing the label"),
        label_id: z.string().describe("The uuid identifier of the label to delete"),
      },
      async ({ project_id, label_id }) => {
        const response = await makePlaneRequest(
          "DELETE",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/labels/${label_id}/`
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
  • The handler function for the delete_label tool. It takes project_id and label_id, makes a DELETE request to the corresponding Plane API endpoint using makePlaneRequest helper, and returns the response as a text content block with JSON stringified.
    async ({ project_id, label_id }) => {
      const response = await makePlaneRequest(
        "DELETE",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/labels/${label_id}/`
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Zod input schema for the delete_label tool, requiring project_id (string) and label_id (string) with descriptions.
    {
      project_id: z.string().describe("The uuid identifier of the project containing the label"),
      label_id: z.string().describe("The uuid identifier of the label to delete"),
    },
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. 'Delete a label' implies a destructive mutation, but it doesn't disclose behavioral traits like whether deletion is permanent, requires specific permissions, affects related issues or cycles, or has rate limits. For a destructive tool with zero annotation coverage, this is a significant gap.

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?

Extremely concise with zero waste—'Delete a label' is a single, front-loaded sentence that directly states the purpose. Every word earns its place, though this conciseness comes at the cost of detail.

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?

Incomplete for a destructive tool with no annotations and no output schema. The description lacks context on consequences, permissions, or return values. Given the complexity of deletion operations and rich sibling tools, more information is needed to guide safe and correct usage.

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 clear descriptions for both parameters (label_id and project_id as UUID identifiers). The description adds no additional meaning beyond the schema, which already documents the parameters adequately. Baseline 3 is appropriate when schema does the heavy lifting.

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

Purpose3/5

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

The description 'Delete a label' clearly states the verb (delete) and resource (label), but it's vague about scope and doesn't differentiate from sibling tools like delete_cycle, delete_module, or delete_state. It doesn't specify whether this is a soft or hard deletion, or what happens to associated data.

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 on when to use this tool versus alternatives. There's no mention of prerequisites (e.g., needing to retrieve label_id first), consequences of deletion, or when not to use it. Sibling tools include create_label, get_label, update_label, and list_labels, but no comparison is provided.

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/makeplane/plane-mcp-server'

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