Skip to main content
Glama

set_thread_status

DestructiveIdempotent

Resolve or reopen an existing review thread without adding a reply. Only the artifact owner or original thread creator may change its state; reopening clears the recorded resolution attribution. Use reply_to_thread when discussion is still needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYesDesired state: resolved closes the finding; open reopens it.
threadIdYesID of an existing review thread in the artifact.
documentIdYesID of the artifact containing the target resource.
idempotencyKeyYesStable unique key for this intended change; reuse only to retry the same inputs.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
anchorYesLocation for a new thread: the whole artifact, exact text, or an HTML element.
statusYesCurrent review-thread state.
commentsYes
outdatedYes
createdAtYesISO 8601 timestamp.
documentIdYes
resolvedAtYes
resolvedByYes
resolvedByNameYes
statusUpdatedAtYes
statusUpdatedByYes
createdVersionIdYes
currentVersionIdYes
statusUpdatedByNameYes
resolvedOnBehalfOfIdYes
resolvedOnBehalfOfNameYes
statusUpdatedOnBehalfOfIdYes
statusUpdatedOnBehalfOfNameYes

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructive and idempotent hints, but the description adds specific behavioral context beyond these: reopening clears recorded resolution attribution, and only certain users may change state. This provides valuable side-effect and permission details not present in the annotations.

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?

The description is two sentences and front-loaded with the action. Every clause earns its place: purpose, permission, side effect, and alternative. There is no redundant or filler content.

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?

Given the rich schema (100% param coverage), existing output schema, and annotations indicating idempotency/destructive behavior, the description covers the remaining essential context: what it does, permissions, side effects, and when to use an alternative. It is sufficiently complete for this tool's complexity.

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

Parameters4/5

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

All four parameters have descriptive schema entries (100% coverage), so the baseline is 3. The description supplements by explaining a status-specific side effect (reopening clears resolution attribution), which adds meaning to the status parameter beyond the schema's enum description.

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 specific verbs and a resource: 'Resolve or reopen an existing review thread without adding a reply.' This clearly indicates the tool's function and explicitly distinguishes it from sibling reply_to_thread by stating it does not add a reply.

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?

The description provides explicit guidance: 'Use reply_to_thread when discussion is still needed.' It also states who is allowed to change state (artifact owner or original creator), giving clear when-to-use and when-not-to-use context.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool targets a distinct action: comment creation vs. reply, review request vs. completion, thread status vs. comment, document read vs. list. No two tools have overlapping responsibilities, and descriptions clarify precise usage.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (add_comment, complete_review, create_document, get_document, list_documents, list_review_inbox, list_threads, publish_version, reply_to_thread, request_review, set_thread_status). whoami deviates slightly but is a standard, recognizable exception.

Tool Count5/5

12 tools is well within the optimal 3-15 range and appropriately covers the document/review/thread domain without bloat or excessive abstraction. Each tool serves a clear purpose in the workflow.

Completeness4/5

Core lifecycle is covered: document creation/reading/versioning, review request/completion/inbox, and thread create/reply/status. Minor gaps exist, such as no explicit document deletion or metadata update, but these do not hinder primary review workflows.

Resources