Skip to main content
Glama

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

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

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "issue_id": { "description": "The uuid identifier of the issue containing the worklog", "type": "string" }, "project_id": { "description": "The uuid identifier of the project containing the issue", "type": "string" }, "worklog_id": { "description": "The uuid identifier of the worklog to delete", "type": "string" } }, "required": [ "project_id", "issue_id", "worklog_id" ], "type": "object" }

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