Skip to main content
Glama

Compose Preview Catalogs

ui_builder_react_to_comment

React to one comment with an emoji, or take the reaction back with on: false. The lightest thing you can say: 👀 on a comment you have just picked up, 👍 on a fix somebody made, where a reply would be noise in a thread a person has to read. commentId is the id of a comment inside a thread, from ui_builder_list_comments. Reacting also acknowledges that thread for you, so it counts as the lightest acknowledgement; it says nothing about whether the question is settled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onNoFalse takes your reaction back. Defaults to true.
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
reactionYesOne emoji, at most 24 characters.
commentIdYesThe comment to react to, from its thread's `comments`.

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?

With no annotations, the description carries the full burden and does well: it discloses reversibility (on:false takes the reaction back), the acknowledgment side effect, and the semantic limit ('says nothing about whether the question is settled'). It does not mention auth requirements or rate limits, but the token parameter in the schema covers the auth mechanism.

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?

The core action and the on:false reversal are front-loaded in the first sentence, followed by concrete usage examples. The emoji illustrations and the acknowledge/settled caveat are dense but each earns its place; slightly prose-heavy but not wasteful.

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 write-ish reaction tool with an output schema available, the description covers the action, reversal, side effect, and semantic boundaries. The main uncovered area is auth/error behavior, which is largely delegated to the token parameter documentation.

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?

Schema coverage is 80% and the schema already documents on, token, reaction, and commentId. The description adds provenance for commentId (from ui_builder_list_comments) and reinforces on:false, which is marginal beyond what the schema states, so baseline 3 is appropriate.

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 (react / take reaction back) on a specific resource (one comment) and clarifies the side-effect that it also acknowledges the thread. An agent can distinguish this from ui_builder_acknowledge_comment and ui_builder_post_comment from the description alone.

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?

Gives concrete when-to-use cases ('👀 on a comment you have just picked up, 👍 on a fix somebody made') and an implicit when-not ('where a reply would be noise in a thread'). It does not name an alternative tool by name, so routing between this and acknowledge_comment/post_comment still needs inference.

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.