Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

update_cycle

Modify existing project cycles in Plane's project management system by updating fields like start date, end date, progress, and issue statuses using the MCP server's standardized API.

Instructions

Update an existing cycle

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycle_dataYesThe fields to update on the cycle
cycle_idYesThe uuid identifier of the cycle to update
project_idYesThe uuid identifier of the project containing the cycle

Implementation Reference

  • The async handler function for the update_cycle tool that performs a PATCH request to the Plane API endpoint to update the cycle and returns the JSON response.
    async ({ project_id, cycle_id, cycle_data }) => {
      const response = await makePlaneRequest(
        "PATCH",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/`,
        cycle_data
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Inline Zod input schema for the update_cycle tool parameters.
    {
      project_id: z.string().describe("The uuid identifier of the project containing the cycle"),
      cycle_id: z.string().describe("The uuid identifier of the cycle to update"),
      cycle_data: CycleSchema.partial().describe("The fields to update on the cycle"),
    },
  • Zod schema for Cycle object, imported as CycleSchema and used as partial() for the cycle_data parameter in update_cycle.
    export const Cycle = z.object({
      archived_at: z.string().datetime({ offset: true }).optional(),
      backlog_issues: z.number().int().readonly(),
      cancelled_issues: z.number().int().readonly(),
      completed_estimates: z.number().readonly(),
      completed_issues: z.number().int().readonly(),
      created_at: z.string().datetime({ offset: true }).readonly(),
      created_by: z.string().uuid().readonly(),
      deleted_at: z.string().datetime({ offset: true }).readonly(),
      description: z.string().optional(),
      end_date: z.string().date().optional().describe("The end date of the cycle of format YYYY-MM-DD"),
      external_id: z.string().max(255).optional(),
      external_source: z.string().max(255).optional(),
      id: z.string().uuid().readonly(),
      logo_props: z.any().optional(),
      name: z.string().max(255),
      owned_by: z.string().uuid().readonly(),
      progress_snapshot: z.any().optional(),
      project_id: z.string().uuid().readonly(),
      sort_order: z.number().optional(),
      start_date: z.string().date().optional().describe("The start date of the cycle of format YYYY-MM-DD"),
      started_estimates: z.number().readonly(),
      started_issues: z.number().int().readonly(),
      timezone: z.any().optional(),
      total_estimates: z.number().readonly(),
      total_issues: z.number().int().readonly(),
      unstarted_issues: z.number().int().readonly(),
      updated_at: z.string().datetime({ offset: true }).readonly(),
      updated_by: z.string().uuid().readonly(),
      version: z.number().int().gte(-2147483648).lte(2147483647).optional(),
      view_props: z.any().optional(),
      workspace: z.string().uuid().readonly(),
    });
  • Registration of the update_cycle tool via server.tool() within the registerCycleTools function.
    server.tool(
      "update_cycle",
      "Update an existing cycle",
      {
        project_id: z.string().describe("The uuid identifier of the project containing the cycle"),
        cycle_id: z.string().describe("The uuid identifier of the cycle to update"),
        cycle_data: CycleSchema.partial().describe("The fields to update on the cycle"),
      },
      async ({ project_id, cycle_id, cycle_data }) => {
        const response = await makePlaneRequest(
          "PATCH",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/`,
          cycle_data
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
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. 'Update an existing cycle' implies a mutation operation but doesn't disclose behavioral traits like required permissions, whether updates are partial or complete, if changes are reversible, rate limits, or what happens on success/failure. For a mutation tool with zero annotation coverage, this leaves critical gaps.

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

Conciseness4/5

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

The description is a single, efficient sentence with zero waste. It's appropriately sized for a basic tool definition, though it could be more informative. The structure is front-loaded with the core action, but lacks supporting details that would enhance utility.

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?

Given the complexity (mutation tool with 3 required parameters, nested objects, no output schema, and no annotations), the description is incomplete. It doesn't explain what fields can be updated, the update behavior, or expected outcomes. For a tool that modifies data, this minimal description leaves too much undefined for safe and effective use.

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 all parameters documented in the schema. The description adds no additional meaning beyond the schema's parameter details. According to guidelines, when schema coverage is high (>80%), the baseline score is 3 even with no param info in the description.

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 'Update an existing cycle' states the verb ('update') and resource ('cycle'), but is vague about what specifically gets updated. It doesn't differentiate from sibling tools like 'update_issue' or 'update_module' beyond the resource name. The purpose is clear at a basic level but lacks specificity about the update scope.

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 about when to use this tool versus alternatives. The description doesn't mention prerequisites (e.g., needing an existing cycle ID), when not to use it (e.g., for creating new cycles), or how it differs from related tools like 'create_cycle' or 'delete_cycle'. The agent must infer usage from the name alone.

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