Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

delete_worklog

Remove a specific worklog from an issue within a project using the Plane MCP Server. Specify the project_id, issue_id, and worklog_id to complete the deletion.

Instructions

Delete a worklog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issue_idYesThe uuid identifier of the issue containing the worklog
project_idYesThe uuid identifier of the project containing the issue
worklog_idYesThe uuid identifier of the worklog to delete

Implementation Reference

  • Handler function that performs the DELETE request to the Plane API to delete the specified worklog.
    async ({ project_id, issue_id, worklog_id }) => {
      await makePlaneRequest(
        "DELETE",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/issues/${issue_id}/worklogs/${worklog_id}/`
      );
      return {
        content: [
          {
            type: "text",
            text: "Worklog deleted successfully",
          },
        ],
      };
    }
  • Input schema using Zod for the delete_worklog tool parameters.
    {
      project_id: z.string().describe("The uuid identifier of the project containing the issue"),
      issue_id: z.string().describe("The uuid identifier of the issue containing the worklog"),
      worklog_id: z.string().describe("The uuid identifier of the worklog to delete"),
    },
  • Direct registration of the delete_worklog tool on the MCP server.
    server.tool(
      "delete_worklog",
      "Delete a worklog",
      {
        project_id: z.string().describe("The uuid identifier of the project containing the issue"),
        issue_id: z.string().describe("The uuid identifier of the issue containing the worklog"),
        worklog_id: z.string().describe("The uuid identifier of the worklog to delete"),
      },
      async ({ project_id, issue_id, worklog_id }) => {
        await makePlaneRequest(
          "DELETE",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/issues/${issue_id}/worklogs/${worklog_id}/`
        );
        return {
          content: [
            {
              type: "text",
              text: "Worklog deleted successfully",
            },
          ],
        };
      }
    );

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