Skip to main content
Glama

Comment Management

comment_manage
Destructive

Fastio comments on files (write): add (with an optional anchor or attachments), edit, delete, bulk-delete, emoji reactions, attach/detach objects, resolve/reopen/assign threads, suggested edits. Destructive: delete, bulk-delete and some suggestion actions (see describe). Reads are on comment. action='describe' gives the full action/param reference.

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": {
      "action": "<action>"
    },
    "name": "comment_manage"
  }
}

Input Schema

NameRequiredDescriptionDefault
opNoSuggestion: replace the quoted text, or delete it.
noteNoSuggestion: optional rationale (sent as the comment body).
textNoMax 8192 characters; display text (mention markup excluded) max 500, usually the binding limit. CJK and emoji count as one.
emojiNoSingle emoji character.
actionYesOperation. Use 'describe' for full action reference.
reopenNoReply only: also reopen the resolved thread.
node_idNoFile node opaque ID.
assigneeNoassign: self (you; an agent is recorded as itself) or ripley. Not with assignee_user_id.
share_idNoAlias for profile_id; implies profile_type=share.
referenceNoAnchor: image region, A/V timestamp, PDF page, or text selection (exact + prefix + suffix). Max 2048 bytes JSON-encoded (non-ASCII costs 6 each).
target_idNoObject to attach: node, workspace, share, File Share or envelope ID.
comment_idNoComment opaque ID.
context_idNoAlias for profile_id (either name works)
profile_idNoWorkspace, share or File Share ID (pair with profile_type).
propertiesNoJSON object of app-defined key-values: stored on add, merged on edit (server-managed keys ignored).
target_idsNoObjects to attach (max 25 per comment).
comment_idsNoComment IDs (max 100).
replacementNoSuggestion: new text for op=replace (sent verbatim). op=delete takes none: omit it or pass an empty string.
context_typeNoAlias for profile_type (either name works)
profile_typeNoProfile type.
workspace_idNoAlias for profile_id; implies profile_type=workspace.
idempotency_keyNosuggestion-accept: 1-128 of A-Z a-z 0-9 . _ : -, one per accept. A retry with the same key resumes that accept and is not applied twice. Generated and returned when omitted.
assignee_user_idNoassign: user to assign (or use assignee).
if_state_versionNoCompare-and-set: state_version from the last read (thread's for resolve/reopen/assign/unassign, suggestion's for edit/withdraw/reject/accept/undo).
confirm_unsettledNoreject/withdraw: true decides even though an earlier accept may already be in the note (refused as suggestion_apply_unknown otherwise).
parent_comment_idNoParent comment ID (reply; one level).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "describe",
      -  "add",
      -  "edit",
      -  "delete",
      -  "bulk-delete",
      -  "reaction-add",
      -  "reaction-remove",
      -  "attachment-add",
      -  "attachment-detach"
      -]New value: +[
      +  "describe",
      +  "add",
      +  "edit",
      +  "delete",
      +  "bulk-delete",
      +  "reaction-add",
      +  "reaction-remove",
      +  "attachment-add",
      +  "attachment-detach",
      +  "resolve",
      +  "reopen",
      +  "assign",
      +  "unassign",
      +  "suggestion-add",
      +  "suggestion-edit",
      +  "suggestion-withdraw",
      +  "suggestion-reject",
      +  "suggestion-accept",
      +  "suggestion-undo"
      +]
    • addedInput schema / properties / assignee
      Added value: +{
      +  "description": "assign: self (you; an agent is recorded as itself) or ripley. Not with assignee_user_id.",
      +  "enum": [
      +    "self",
      +    "ripley"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / assignee_user_id
      Added value: +{
      +  "description": "assign: user to assign (or use assignee).",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / confirm_unsettled
      Added value: +{
      +  "description": "reject/withdraw: true decides even though an earlier accept may already be in the note (refused as suggestion_apply_unknown otherwise).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "suggestion-accept: 1-128 of A-Z a-z 0-9 . _ : -, one per accept. A retry with the same key resumes that accept and is not applied twice. Generated and returned when omitted.",
      +  "pattern": "^[A-Za-z0-9._:-]{1,128}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / if_state_version
      Added value: +{
      +  "description": "Compare-and-set: state_version from the last read (thread's for resolve/reopen/assign/unassign, suggestion's for edit/withdraw/reject/accept/undo).",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / note
      Added value: +{
      +  "description": "Suggestion: optional rationale (sent as the comment body).",
      +  "type": "string"
      +}
    • addedInput schema / properties / op
      Added value: +{
      +  "description": "Suggestion: replace the quoted text, or delete it.",
      +  "enum": [
      +    "replace",
      +    "delete"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / reference / description
      Previous value: -"Anchor: image region, A/V timestamp, PDF page, or text selection. Max 2048 bytes JSON-encoded (non-ASCII costs 6 each)."New value: +"Anchor: image region, A/V timestamp, PDF page, or text selection (exact + prefix + suffix). Max 2048 bytes JSON-encoded (non-ASCII costs 6 each)."
    • addedInput schema / properties / reference / properties / offset_space
      Added value: +{
      +  "description": "Unit of start/end_offset; sent only with both.",
      +  "enum": [
      +    "plaintext-utf16-nl"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / reference / properties / source_version_id
      Added value: +{
      +  "description": "Note version the quote was read from.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / reference / properties / v
      Added value: +{
      +  "description": "Anchor format version (2).",
      +  "maximum": 2,
      +  "minimum": 2,
      +  "type": "integer"
      +}
    • addedInput schema / properties / reopen
      Added value: +{
      +  "description": "Reply only: also reopen the resolved thread.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / replacement
      Added value: +{
      +  "description": "Suggestion: new text for op=replace (sent verbatim). op=delete takes none: omit it or pass an empty string.",
      +  "maxLength": 16384,
      +  "type": "string"
      +}
  2. Changed6 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "describe",
      -  "add",
      -  "edit",
      -  "delete",
      -  "bulk-delete",
      -  "reaction-add",
      -  "reaction-remove"
      -]New value: +[
      +  "describe",
      +  "add",
      +  "edit",
      +  "delete",
      +  "bulk-delete",
      +  "reaction-add",
      +  "reaction-remove",
      +  "attachment-add",
      +  "attachment-detach"
      +]
    • changedInput schema / properties / profile_id / description
      Previous value: -"Workspace or share ID (pair with profile_type)."New value: +"Workspace, share or File Share ID (pair with profile_type)."
    • changedInput schema / properties / profile_type / enum
      Previous value: -[
      -  "workspace",
      -  "share"
      -]New value: +[
      +  "workspace",
      +  "share",
      +  "fileshare"
      +]
    • changedInput schema / properties / properties / description
      Previous value: -"edit only: JSON object merged into the comment's properties (server-managed keys ignored)."New value: +"JSON object of app-defined key-values: stored on add, merged on edit (server-managed keys ignored)."
    • addedInput schema / properties / target_id
      Added value: +{
      +  "description": "Object to attach: node, workspace, share, File Share or envelope ID.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / target_ids
      Added value: +{
      +  "description": "Objects to attach (max 25 per comment).",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, but the description adds specificity by naming exactly which actions are destructive (delete, bulk-delete, some suggestion actions). That is genuine value beyond the annotation. It does not discuss idempotency or state-version behavior, which the schema covers but the description could have surfaced.

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?

Four dense sentences with the resource and scope front-loaded, followed by the destructive warning and the routing hint. No filler, though the operation list is long and could be compressed given the action enum already exists.

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 26-parameter multi-action tool with no output schema, the description correctly delegates detail to 'action=describe' and surfaces the key safety distinction. Prerequisites (auth, concurrency via if_state_version) are left to the schema, which is a minor gap.

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 description coverage is 100%, so the schema already documents all 26 parameters thoroughly, including enum semantics and the anchor object. The description only adds that the anchor/attachments are optional. Baseline 3 applies when the schema carries the load.

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 class ('write') on a specific resource ('comments on files') and enumerates the operations covered (add, edit, delete, reactions, attachments, resolve, suggested edits). It explicitly separates itself from the sibling 'comment' tool, which handles reads.

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?

Names the read alternative ('Reads are on `comment`') and routes the agent to 'action=describe' for the full action/param reference. It flags which actions are destructive, but does not give per-action when-to-use conditions (e.g., suggestion-reject vs withdraw).

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