Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

create_worklog

Generate a new worklog entry for a specific issue in a project, detailing the work performed, duration, and other essential data to track and manage tasks effectively.

Instructions

Create a new worklog for an issue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issue_idYesThe uuid identifier of the issue to create worklog for
project_idYesThe uuid identifier of the project containing the issue
worklog_dataYesThe data for creating the worklog

Implementation Reference

  • The async handler function that executes the create_worklog tool by making a POST request to the Plane API with the provided worklog data.
    async ({ project_id, issue_id, worklog_data }) => {
      const response = await makePlaneRequest(
        "POST",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/issues/${issue_id}/worklogs/`,
        worklog_data
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Zod schema definition for IssueWorkLog, used to validate the worklog_data input for the create_worklog tool.
    export const IssueWorkLog = z.object({
      issue_id: z.string().uuid(),
      description: z.string().optional(),
      logged_by_id: z.string().uuid(),
      duration: z.number().int().min(0).describe("The duration of the worklog in minutes"),
      created_at: z.string().datetime(),
      updated_at: z.string().datetime(),
      project_id: z.string().uuid(),
      workspace_id: z.string().uuid(),
    });
    
    export type IssueWorkLog = z.infer<typeof IssueWorkLog>;
  • Direct registration of the create_worklog tool on the MCP server within registerWorkLogTools, including inline schema and handler.
      "create_worklog",
      "Create a new worklog for an issue",
      {
        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 to create worklog for"),
        worklog_data: IssueWorkLog.partial()
          .required({
            duration: true,
            description: true,
          })
          .describe("The data for creating the worklog"),
      },
      async ({ project_id, issue_id, worklog_data }) => {
        const response = await makePlaneRequest(
          "POST",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/issues/${issue_id}/worklogs/`,
          worklog_data
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
  • Higher-level registration call that invokes registerWorkLogTools to set up the create_worklog tool among others.
    registerWorkLogTools(server);
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. While 'Create' implies a write operation, it doesn't address permission requirements, whether the operation is idempotent, potential side effects, error conditions, or response format. This is inadequate for a mutation tool with zero annotation coverage.

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, efficient sentence that communicates the core purpose without any wasted words. It's appropriately sized for a simple creation operation and gets straight to the point with no 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 mutation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what happens after creation, potential constraints, error handling, or relationship to sibling tools. The agent would need to guess about behavioral aspects and output format, creating significant gaps in understanding.

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%, so the schema already documents all three parameters thoroughly. The description adds no additional parameter information beyond what's in the schema, which is acceptable but not exceptional. The baseline score of 3 reflects adequate but minimal value addition.

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 clearly states the action ('Create') and resource ('new worklog for an issue'), making the purpose immediately understandable. However, it doesn't differentiate this tool from sibling tools like 'update_worklog' or 'delete_worklog', which would require explicit comparison to achieve a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives like 'update_worklog' or 'delete_worklog'. It also doesn't mention prerequisites, dependencies, or contextual constraints, leaving the agent with insufficient information for optimal tool selection.

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