Skip to main content
Glama

flypod

Resolve, reopen, approve or reject a comment thread

update_comment_thread
DestructiveIdempotent

Changes the state of a comment thread: resolve marks it done, reopen undoes that, and approve or reject decide a thread waiting in the moderation queue (owner only).

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": {
      "site_id": "<site_id>",
      "thread_id": "<thread_id>",
      "action": "<action>"
    },
    "name": "update_comment_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
site_idYesThe site_id returned by deploy_site, or listed by list_sites.
thread_idYesThe thread_id of a comment thread, as returned by list_comments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, openWorldHint=true), the description adds the key behavioral fact that these are reversible state transitions ("reopen undoes that") and that approve/reject require owner privileges. It does not describe what happens to the comments inside a thread after resolve/reject or how a moderation decision interacts with later reopening.

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?

A single sentence, front-loaded with the core verb and resource, then a compact per-action mapping. No restatement of the title and no filler; every clause carries semantic content.

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 three-parameter mutation tool with no output schema and full annotation coverage, the description supplies what the structured data cannot: per-action semantics and the owner-only constraint. Minor gaps remain around effects on contained comments and post-rejection states.

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 coverage is 67% and the enum values for `action` carry no per-value descriptions in the schema; the description supplies exactly that missing meaning for all four values. The credential-style parameters (site_id, thread_id) are already documented as coming from deploy_site/list_sites and list_comments.

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?

States a specific verb-plus-resource ("Changes the state of a comment thread") and then defines each of the four state transitions inline. This clearly separates it from siblings like delete_comment_thread (removal) and get_comment_thread (read), even without naming them.

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

Usage Guidelines4/5

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

The four action values are mapped to their situations: resolve for done, reopen to undo, approve/reject for threads in the moderation queue. The "owner only" qualifier tells the agent a precondition for two of the actions. It stops short of explicitly excluding adjacent tools such as delete_comment_thread when a thread should be removed rather than closed.

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.