Skip to main content
Glama
OpenProject MCP Server

OpenProject MCP Server

by billmal071

add_comment

Adds a comment to an OpenProject work package using its numeric ID and the comment text.

Instructions

Add a comment to a work package

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "work_package_id": "<work_package_id>",
      "body": "<body>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe comment text
work_package_idYesThe numeric ID of the work package

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure and it delivers almost nothing. It does not state whether the caller needs write permission on the work package, whether the comment is attributed to the authenticated user, whether the body is plain text or markup, or what the response contains. Only the single word "Add" signals a mutating side effect.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity is efficient, though it borders on under-specification given the complete absence of annotations.

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

Completeness3/5

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

The tool is simple (two fully documented required parameters, no nesting, no output schema), so little explanation is strictly required. However, with no annotations at all, a note on permissions or the returned value would have closed the remaining gap.

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%: work_package_id is documented as "The numeric ID of the work package" and body as "The comment text". The description adds nothing beyond that, but with the schema doing the work the baseline of 3 applies.

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?

"Add a comment to a work package" gives a specific verb (add) and resource (comment) anchored to a parent resource, so the operation is unambiguous. It does not differentiate from the sibling list_comments (read path), nor indicate whether this is the only write path for comments, so it stops short of a 5.

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?

There is no guidance on when to use this tool versus alternatives, or any prerequisite such as needing an existing work_package_id or the fact that list_comments is the counterpart for reading. The agent must infer everything 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.