Skip to main content
Glama

Get Comments

confluence_get_comments
Read-onlyIdempotent

Fetch comments for a specific Confluence page, including replies with parent IDs and inline comment anchors, markers, and resolution status.

Instructions

Get comments for a specific Confluence page.

Replies include their parent comment ID when available. Inline comments also include anchor selection, marker reference, and resolution status metadata.

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": {
      "page_id": "<page_id>"
    },
    "name": "confluence_get_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesConfluence page ID (numeric ID, can be parsed from URL, e.g. from 'https://example.atlassian.net/wiki/spaces/TEAM/pages/123456789/Page+Title' -> '123456789')

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.4.1
    • addedInput schema / additionalProperties
      Added value: +false
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  2. Addedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioral detail about what comes back (parent comment IDs on replies, anchor selection, marker reference, resolution status), but since an output schema exists this return-value detail is partly redundant rather than essential added context.

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?

Three short sentences, front-loaded with the core action, and each sentence carries relevant information about reply threading and inline comment metadata. Minor overlap with what the output schema already exposes keeps it from a 5.

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?

A single-parameter read operation with rich annotations and an output schema needs little prose; the description covers purpose and the notable shape of returned data. It is nearly complete, with only the relationship to confluence_get_inline_comments left implicit.

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% and the single page_id parameter is fully documented in the schema, including URL parsing examples. The description contributes nothing further about the parameter, so the baseline 3 for schema-driven parameter documentation is appropriate.

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?

States a specific verb and resource (get comments for a Confluence page), which is unambiguous on its own. However, it does not explicitly differentiate itself from the sibling confluence_get_inline_comments, leaving the agent to infer that this call covers both inline and regular comments from the note about inline metadata.

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 implied rather than stated: fetch the comment thread for a known page ID. The mention that inline comments appear here with anchor and resolution metadata gives a weak signal about scope versus confluence_get_inline_comments, but there is no explicit when-to-use or when-not guidance and no alternatives named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools