Skip to main content
Glama

Resolve or Reopen Comment

resolve_comment
DestructiveIdempotent

Change a comment thread's resolution without posting a reply. Pass comment_id from list_comments (threads[].id); omit resolved or set it true to resolve, and set resolved=false to reopen. Comments must be enabled and the thread writable. Returns the thread ID and resulting resolved flag. Use reply_comment to post a message instead. Requires envelopes:send access.

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
resolvedNo
comment_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=true, so the mutation/repeatability profile is covered structurally. The description adds value beyond that with preconditions (comments enabled, writable thread), an auth requirement (envelopes:send), and a note that the resulting resolved flag is returned, implying reversibility. It does not explain why the operation is flagged destructive or what a non-writable thread returns, leaving a small 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?

Four short sentences, front-loaded with the core action, then ID sourcing, then mode semantics, then the alternative and auth. No sentence is redundant or restates the title.

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

Completeness5/5

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

For a two-parameter mutation with an output schema, the description is complete: preconditions, auth scope, parameter sourcing, mode semantics, the sibling alternative, and even the return values are covered. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so: it explains the provenance of comment_id and fully specifies the resolved flag's three-way semantics (omit, true, false). This is meaning the schema alone (a bare boolean with default true) cannot convey.

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 opens with a specific verb and resource ("Change a comment thread's resolution") and immediately scopes it negatively ("without posting a reply"), which separates it from reply_comment. An agent can identify the operation without inspecting the schema.

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?

It states exactly when to use each mode (omit resolved or set true to resolve, set false to reopen), where to source the ID (comment_id from list_comments threads[].id), and names the explicit alternative ("Use reply_comment to post a message instead"). Preconditions for use (comments enabled, thread writable) are also given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources