Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

list_cycle_issues

Retrieve all issues associated with a specific cycle in a project by providing the project and cycle identifiers through the Plane MCP Server. Simplifies issue tracking and management.

Instructions

Get all issues for a specific cycle

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycle_idYesThe uuid identifier of the cycle to get issues for
project_idYesThe uuid identifier of the project containing the cycle

Implementation Reference

  • The handler function that implements the core logic of the 'list_cycle_issues' tool: fetches issues for a given project and cycle via the Plane API and returns the response as formatted text.
    async ({ project_id, cycle_id }) => {
      const response = await makePlaneRequest(
        "GET",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/cycle-issues/`
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Zod input schema defining required parameters: project_id and cycle_id as UUID strings.
    {
      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 get issues for"),
    },
  • Direct registration of the 'list_cycle_issues' tool using server.tool(), including name, description, schema, and handler.
    server.tool(
      "list_cycle_issues",
      "Get all issues for a specific 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 get issues for"),
      },
      async ({ project_id, cycle_id }) => {
        const response = await makePlaneRequest(
          "GET",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/cycle-issues/`
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
  • Call to registerCycleIssueTools within the central registerTools function, which registers multiple tools including list_cycle_issues.
    registerCycleIssueTools(server);
  • Wrapper function that registers cycle issue related tools, including list_cycle_issues.
    export const registerCycleIssueTools = (server: McpServer) => {
      server.tool(
        "list_cycle_issues",
        "Get all issues for a specific 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 get issues for"),
        },
        async ({ project_id, cycle_id }) => {
          const response = await makePlaneRequest(
            "GET",
            `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/cycle-issues/`
          );
          return {
            content: [
              {
                type: "text",
                text: JSON.stringify(response, null, 2),
              },
            ],
          };
        }
      );
    
      server.tool(
        "add_cycle_issues",
        "Add issues to a 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 add issues to"),
          issues: z.array(z.string()).describe("Array of issue UUIDs to add to the cycle"),
        },
        async ({ project_id, cycle_id, issues }) => {
          const response = await makePlaneRequest(
            "POST",
            `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/cycle-issues/`,
            { issues }
          );
          return {
            content: [
              {
                type: "text",
                text: JSON.stringify(response, null, 2),
              },
            ],
          };
        }
      );
    
      server.tool(
        "delete_cycle_issue",
        "Remove an issue from a 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 containing the issue"),
          issue_id: z.string().describe("The uuid identifier of the issue to remove from the cycle"),
        },
        async ({ project_id, cycle_id, issue_id }) => {
          await makePlaneRequest(
            "DELETE",
            `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/cycle-issues/${issue_id}/`
          );
          return {
            content: [
              {
                type: "text",
                text: "Issue removed from cycle successfully",
              },
            ],
          };
        }
      );
    };
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('Get all issues') but lacks critical details: it doesn't specify whether this is a read-only operation (implied by 'Get' but not explicit), describe pagination or limits for 'all issues', mention authentication requirements, indicate rate limits, or explain the return format (e.g., list structure, error handling). For a tool with no annotations, this leaves significant behavioral gaps.

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 front-loads the core action ('Get all issues') and context ('for a specific cycle'). There is zero waste or redundancy, making it easy to parse quickly. It appropriately sized for a simple retrieval tool, with every word earning its place.

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 tool's complexity (a read operation with 2 required parameters), lack of annotations, and no output schema, the description is incomplete. It doesn't address behavioral aspects like safety (read-only vs. mutating), return format, error conditions, or usage context. While the schema covers parameters well, the description fails to compensate for missing annotations and output details, leaving the agent with insufficient guidance for reliable invocation.

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 both parameters (cycle_id and project_id) clearly documented in the schema as UUID identifiers. The description adds no additional parameter semantics beyond implying that 'cycle_id' specifies the cycle and 'project_id' specifies the containing project, which is already covered by the schema. Since the schema does the heavy lifting, the baseline score of 3 is appropriate, with no extra value from the description.

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 verb ('Get') and resource ('all issues for a specific cycle'), making the purpose immediately understandable. It distinguishes from siblings like 'list_cycles' (which lists cycles) and 'list_module_issues' (which lists issues for modules), though it doesn't explicitly contrast with 'get_issue_using_readable_identifier' (which retrieves a single issue). The description is specific but could be more precise about differentiation from similar retrieval tools.

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. It doesn't mention prerequisites (e.g., needing a valid cycle_id and project_id), contrast with sibling tools like 'get_issue_using_readable_identifier' (for single issues) or 'list_module_issues' (for module-specific issues), or specify use cases (e.g., bulk retrieval vs. filtered searches). Usage is implied by the name and description but not explicitly stated.

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