Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

add_issue_comment

Enables users to add HTML-formatted comments to specific issues in Plane projects using project_id and issue_id. Supports issue management by facilitating clear communication and updates.

Instructions

Add a comment to a specific issue. This requests project_id and issue_id as uuid parameters. If you have a readable identifier, you can use the get_issue_using_readable_identifier tool to get the issue_id and project_id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
comment_htmlYesThe html content of the comment to add
issue_idYesThe uuid identifier of the issue to get
project_idYesThe uuid identifier of the project to get issues for

Implementation Reference

  • Handler function that adds a comment to the specified issue by making a POST request to the Plane API using makePlaneRequest.
      async ({ project_id, issue_id, comment_html }) => {
        const response = await makePlaneRequest(
          "POST",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/issues/${issue_id}/comments/`,
          {
            comment_html,
          }
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
  • Zod schema defining input parameters: project_id (UUID), issue_id (UUID), comment_html (string).
    {
      project_id: z.string().describe("The uuid identifier of the project to get issues for"),
      issue_id: z.string().describe("The uuid identifier of the issue to get"),
      comment_html: z.string().describe("The html content of the comment to add"),
    },
  • Registration of the add_issue_comment tool on the McpServer, including description, schema, and handler.
    server.tool(
      "add_issue_comment",
      "Add a comment to a specific issue. This requests project_id and issue_id as uuid parameters. If you have a readable identifier, you can use the get_issue_using_readable_identifier tool to get the issue_id and project_id",
      {
        project_id: z.string().describe("The uuid identifier of the project to get issues for"),
        issue_id: z.string().describe("The uuid identifier of the issue to get"),
        comment_html: z.string().describe("The html content of the comment to add"),
      },
      async ({ project_id, issue_id, comment_html }) => {
        const response = await makePlaneRequest(
          "POST",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/issues/${issue_id}/comments/`,
          {
            comment_html,
          }
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
Behavior3/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. It correctly identifies this as a write operation ('Add'), but doesn't mention permission requirements, rate limits, or what happens on success/failure. The description adds some context about parameter requirements but lacks comprehensive behavioral traits.

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 perfectly sized with two focused sentences. The first sentence states the core purpose, and the second provides crucial usage guidance. Every word earns its place with zero redundancy or unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write operation with no annotations and no output schema, the description does well by covering the core purpose and providing important usage guidance about parameter requirements. However, it doesn't address what the tool returns or potential side effects, leaving some gaps in completeness for a mutation tool.

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 minimal value by mentioning that project_id and issue_id are UUID parameters, but doesn't provide additional semantic context beyond what's in the schema. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Add a comment') and target resource ('to a specific issue'), distinguishing it from sibling tools like get_issue_comments (which retrieves comments) or update_issue (which modifies the issue itself). The verb+resource combination is precise and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly provides when-to-use guidance by naming an alternative tool (get_issue_using_readable_identifier) for cases where the user has readable identifiers instead of UUIDs. It also implies this tool should be used when you already have the UUID parameters, creating clear contextual boundaries.

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