Skip to main content
Glama

update_comment

Destructive

Edit a comment body and / or pin it (pinned: true) or unpin it (false). Pinned comments are shown in a bar at the top of the issue (or project) discussion; list_comments and read_issue mark them.

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": {
      "comment_id": "<comment_id>"
    },
    "name": "update_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNocomment text in Markdown; @Name mentions a member and notifies them
pinnedNotrue = pin the comment at the top of the discussion, false = unpin it
comment_idYescomment id (from list_comments or read_issue)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"comment text in Markdown; @Name mentions a member and notifies them"
    • addedInput schema / properties / comment_id / description
      Added value: +"comment id (from list_comments or read_issue)"
    • addedInput schema / properties / pinned / description
      Added value: +"true = pin the comment at the top of the discussion, false = unpin it"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=false and destrictive=true, and the description adds genuinely useful context: pinning places the comment in a bar at the top of the issue/project discussion and is marked by list_comments/read_issue. It does not clarify the key mutation ambiguity — whether omitting body leaves the existing text intact or clears it — nor any permission requirements, so it adds partial value beyond 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?

Two tight sentences, front-loaded with the action and its two modes; the second sentence carries only non-redundant context about what pinning does. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three well-documented parameters, annotations, and no output schema, most of the burden is covered elsewhere. However, for a destructive update tool the description should resolve partial-update semantics (body omited) and say whether both fields can change at once, which it leaves open.

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 is 3; the description earns above that by explaining the visible effect of the pined flag (bar at the top of the discussion, surfaced by list_comments and read_issue), which the schema does not state. It still says nothing about the interaction of body with pinned in a single call.

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 opens with a specific verb and resource (edit a comment body) and adds the pin/unpin operation with explicit true/false values, so an agent can tell this apart from add_comment or delete_comment. It does not explicitly name a sibling as the alternative, 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 Guidelines3/5

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

Usage is only implied: the required comment_id (sourced from list_comments or read_issue) signals that this acts on an existing comment, but there is no statement of when to choose this over add_comment/delete_comment, and no prerequisites or exclusions are given.

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.