Skip to main content
Glama

Reopen Comment

reopen_comment

Reopens a resolved discussion using its top-level comment ID, enabling continued conversation in Docmost CE 0.98+.

Instructions

Reopen a resolved discussion using its top-level comment id. Needs CE 0.98+.

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": {
      "comment_id": "<comment_id>"
    },
    "name": "reopen_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
comment_idYesTop-level comment id from list_comments.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation. The description adds one genuinely useful piece of context beyond them — the compatibility requirement 'Needs CE 0.98+' — but says nothing about idempotency, what happens to existing replies, or permission needs.

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?

Two short sentences, action and requirement front-loaded, with no redundant wording. Every clause carries information.

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 one-parameter mutation with an output schema and annotations covering the safety profile, this is nearly sufficient; the version requirement is a welcome addition. Only permission/behavioral side effects are left unstated.

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 coverage is 100% and the schema already documents comment_id as 'Top-level comment id from list_comments'. The description restates the top-level requirement without adding format or sourcing detail beyond the schema, so the baseline 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?

States a specific verb ('reopen') and resource ('a resolved discussion') plus the keying parameter ('its top-level comment id'), so an agent can immediately tell this is the inverse of resolve_comment. It stops short of naming the sibling alternative explicitly.

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

Usage Guidelines3/5

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

The phrase 'a resolved discussion' implies the precondition for use (the discussion must currently be resolved), but there is no explicit statement of when not to use it or which sibling to prefer if the comment is still open.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.