Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

create_module

Add a new module to a project in Plane MCP Server by specifying project ID and module details, managing issues and workflows effectively.

Instructions

Create a new module in a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
module_dataYes
project_idYesThe uuid identifier of the project to create the module in

Implementation Reference

  • MCP server.tool call registering the 'create_module' tool, including its description, input schema using ModuleSchema, and inline handler function.
    server.tool(
      "create_module",
      "Create a new module in a project",
      {
        project_id: z.string().describe("The uuid identifier of the project to create the module in"),
        module_data: ModuleSchema.partial().required({
          name: true,
        }),
      },
      async ({ project_id, module_data }) => {
        const response = await makePlaneRequest(
          "POST",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/modules/`,
          module_data
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
  • The handler function that executes the tool logic: POST request to create module in Plane API and returns JSON response.
    async ({ project_id, module_data }) => {
      const response = await makePlaneRequest(
        "POST",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/modules/`,
        module_data
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Zod schema for Module (imported as ModuleSchema), used to validate the module_data input parameter with partial() and name required.
    export const Module = z.object({
      archived_at: z.string().datetime({ offset: true }).optional(),
      backlog_issues: z.number().int().readonly(),
      cancelled_issues: z.number().int().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(),
      description_html: z.any().optional(),
      description_text: z.any().optional(),
      external_id: z.string().max(255).optional(),
      external_source: z.string().max(255).optional(),
      id: z.string().uuid().readonly(),
      lead: z.string().uuid().optional(),
      logo_props: z.any().optional(),
      members: z.array(z.string().uuid()).optional(),
      name: z.string().max(255),
      project: z.string().uuid().readonly(),
      sort_order: z.number().optional(),
      start_date: z.string().date().optional(),
      started_issues: z.number().int().readonly(),
      status: z.any().optional(),
      target_date: z.string().date().optional(),
      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(),
      view_props: z.any().optional(),
      workspace: z.string().uuid().readonly(),
    });
    export type Module = z.infer<typeof Module>;
  • Invocation of registerModuleTools which includes the create_module tool registration.
    registerModuleTools(server);
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Create' implies a write/mutation operation, the description doesn't address permissions required, whether the operation is idempotent, what happens on failure, or what the response contains. For a creation tool with zero annotation coverage, this is a significant gap.

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 with zero wasted words. It's appropriately sized for a simple creation tool and front-loads the essential information immediately.

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 creation tool with no annotations, no output schema, and complex nested input structure (module_data with 28 properties), the description is inadequate. It doesn't explain what a 'module' represents in this context, what fields are mandatory beyond 'name', or what the tool returns upon success.

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 50%, with only 'project_id' having a description. The tool description adds no parameter information beyond what's in the schema. However, with 2 parameters total and one already documented in the schema, the baseline of 3 is appropriate since the schema does some heavy lifting.

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 module in a project'), providing specific verb+resource information. However, it doesn't differentiate this tool from sibling tools like 'create_cycle' or 'create_project', which follow the same pattern but target different resources.

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. There's no mention of prerequisites, when-not-to-use scenarios, or comparison with sibling tools like 'update_module' or 'list_modules' that might be relevant in different contexts.

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