Skip to main content
Glama

add_comment

Idempotent

Create a new open review thread with its first comment, anchored to the whole artifact, exact text, or an HTML element in one immutable version. The caller needs comment access and comment creation is rate-limited. Use reply_to_thread for an existing discussion instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesInitial review comment for the new thread.
anchorNoLocation in the specified version; defaults to the whole artifact.
versionIdYesID of the exact immutable artifact version.
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.4/5.0
Behavior4/5

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

Annotations already cover readOnlyHint=false, destructiveHint=false, idempotentHint=true. The description adds genuinely useful behavioral context: the caller must have comment access and creation is rate-limited. It clarifies that the thread is open and anchored to an immutable version. This goes beyond annotations without contradicting them.

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 only two sentences, with the core purpose front-loaded in the first sentence and usage guidance in the second. Every phrase earns its place—no fluff, no redundancy with schema.

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?

Given the tool's moderate complexity, the description covers purpose, usage context, permissions, and rate limits. The schema and annotations handle parameter details and safety semantics, and an output schema is present, so no return-value explanation is needed. It feels complete for an agent to select and call correctly.

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 100% with descriptive parameter details, so the baseline is 3. The description's mention of anchoring options (whole artifact, exact text, HTML element) summarizes what the schema already documents in detail via const values and descriptions. It does not add new semantic meaning beyond the schema.

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 clearly states a specific verb and resource: 'Create a new open review thread with its first comment', and specifies anchoring options (whole artifact, exact text, HTML element) and immutable version. It distinguishes itself from the sibling tool reply_to_thread by explicitly directing existing discussions there.

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 for creating a new thread, and 'Use reply_to_thread for an existing discussion instead' names the alternative. It also adds context about caller permissions ('needs comment access') and rate limiting, helping the agent decide when to invoke.

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