Skip to main content
Glama

Comment on a review

add_comment

Adds a comment to a page's review, such as an answer to a reviewer's question or a note on what you changed after their feedback. It is posted at once and the people on the review see it. Give reviewId, or pageId to use that page's latest review; with both, reviewId wins. Returns the comment. Fails when the page has never been sent for review: use submit_for_review first.

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": {
      "body": "<body>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe comment, plain text, up to 4,000 characters.
pageIdNoInstead of reviewId: the page's id, to comment on its latest review.
reviewIdNoThe review's id, as submit_for_review returned it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"The comment, plain text, up to 4,000 characters."
    • addedInput schema / properties / pageId / description
      Added value: +"Instead of reviewId: the page's id, to comment on its latest review."
    • addedInput schema / properties / reviewId / description
      Added value: +"The review's id, as submit_for_review returned it."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The annotations only declare the safety profile (not read-only, not destructive, closed-world), so the description carries the rest and does so well: the comment is posted immediately with no draft stage, it becomes visible to everyone on the review, it returns the comment object, and it fails on pages that were never submitted for review. That failure mode is the key behavioral fact an agent needs before invoking it.

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?

Four short sentences in a deliberate order: what it does, examples, delivery behavior, parameter selection, return value, then failure condition with the fix. No filler, and the operational constraint sits at the end where it is easy to scan before calling.

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?

There is no output schema, and the description compensates by stating what comes back (the comment) and what happens on failure. For a three-parameter mutation with no nested objects, nothing an agent needs in order to call it correctly is missing.

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 100%, so the baseline would be 3, but the description adds a precedence rule the schema does not express: supply reviewId, or pageId for that page's latest review, and reviewId wins when both are given. The remaining semantics (plain text, 4,000-character cap) stay in the schema, so this is additive rather than fully compensatory.

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 a specific verb and resource ("Adds a comment to a page's review") and immediately grounds it in concrete use cases: answering a reviewer's question or noting post-feedback changes. That distinguishes it cleanly from siblings like submit_for_review or update_draft, which operate on review state rather than on the review conversation.

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?

It gives explicit when-to-use context (replies to reviewers, change notes) and an explicit exclusion with the alternative named: if the page has never been sent for review, it fails and you should call submit_for_review first. The reviewId-vs-pageId selection rule is also stated as a usage decision with a tie-breaker.

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.

Resources