Skip to main content
Glama

Compose Preview Catalogs

ui_builder_resolve_comment_thread

Close a comment thread once it is answered, or reopen one by passing resolved: false. The resolution is attributed to you and is reversible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNoA grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session is used in it. Prefer the header where you control it.
designIdYes
resolvedNoDefaults to true.
threadIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose real behavioral traits: the resolution is attributed to the caller and is reversible, and resolved:false flips the direction. It omits permission/auth requirements and any side effects on notifications, so it is strong but not exhaustive.

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 tightly written sentences with the primary action front-loaded, followed by the inverse operation and its behavioral caveats. Zero filler.

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 simple mutation tool with an output schema (so return values need no explanation), the description covers purpose, both operating modes, reversibility, and attribution. The main remaining gap is access/auth context, which the token parameter only partially addresses in the schema.

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?

Schema coverage is 50%, and the description adds meaning beyond the schema by explaining that resolved:false performs a reopen, whereas the schema only notes 'Defaults to true.' It is silent on designId/threadId, but those names are self-explanatory and the token param is described in the schema.

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?

The description states a specific verb and resource ('Close a comment thread') and adds the inverse operation ('reopen one by passing resolved: false'), so the agent knows exactly what state change is performed. It does not explicitly contrast with similar siblings like ui_builder_acknowledge_comment or ui_builder_react_to_comment, so it stops short of 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 Guidelines4/5

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

It gives a clear trigger condition – close once the thread 'is answered' – and explains the alternative mode for reopening. There is no explicit when-not guidance or naming of competing tools (e.g., acknowledge vs resolve), which keeps it below 5.

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.