Skip to main content
Glama

Resolve Comment

resolve_comment

Closes a Docmost discussion by its top-level comment ID, marking it resolved. Use the ID returned by list_comments; requires Docmost CE 0.98+.

Instructions

Close a discussion using its top-level comment id. Needs Docmost 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": "resolve_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

B3.4/5.0
Behavior3/5

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

Annotations already declare this as a non-read-only, non-destructive, closed-world mutation, so the safety profile is covered. The description adds the meaningful constraint that the id must be a top-level comment, and a version requirement. It does not disclose whether resolution is reversible, what happens on an already-resolved thread, or whether replies are affected — gaps for a mutation tool, so a moderate score.

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?

Two compact sentences that front-load the action, with the version caveat last where it belongs. No filler, though the second sentence is a bare environment note rather than tool guidance.

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 definition is minimal but the surrounding structure is rich: annotations cover the safety profile, the schema fully documents the sole parameter, and an output schema presumably covers return values. What remains missing is behavioral detail on the effect of resolution and its reversibility, so it is adequate rather than complete.

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?

With a single parameter at 100% schema coverage, the schema already documents comment_id fully, including its 'top-level' and 'from list_comments' origin. The description's 'top-level comment id' merely restates the schema, adding no new syntax or format meaning; 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 and resource: 'Close a discussion using its top-level comment id.' An agent can distinguish this from a general comment update, and the existence of a sibling reopen_comment makes the directionality clear by implication. It stops short of naming the inverse operation explicitly, which keeps it from 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 Guidelines3/5

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

The phrase 'Close a discussion' implies the use case, and 'Needs Docmost CE 0.98+' gives a version prerequisite. However, it never says when-not to use it (e.g. already-resolved threads) nor points to reopen_comment as the alternative for undoing, leaving routing to inference.

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