Skip to main content
Glama

get_comments

Read-only

Lists page-level comments as Markdown and re-fetches each comment so edits are not stale when reviewing a Docmost page.

Instructions

List page-level comments. Content is returned as Markdown. Each comment is re-fetched so edits are not stale.

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": "get_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNometa.nextCursor
page_idYesUUID or slugId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds real context beyond that — content is delivered as Markdown and comments are re-fetched for freshness (implying extra per-comment calls and possible latency). It does not disclose pagination behavior, ordering, or thread/reply structure.

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?

Three short sentences, front-loaded with the purpose, with no filler. Each sentence — purpose, return format, freshness — carries distinct information.

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?

With no output schema, the description appropriately covers the return format (Markdown content) and a behavioral quirk (re-fetch for freshness). The remaining gap is pagination/result-boundary behavior, which matters for a list tool with a cursor and a limit of 100.

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 67%, above the baseline threshold, and the schema already documents page_id ('UUID or slugId') and cursor ('meta.nextCursor'). The description adds nothing about the parameters, notably leaving the limit parameter and the pagination contract unexplained beyond what the schema shows.

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 ('List page-level comments'), which clearly distinguishes a read of comments from the sibling mutations create_comment and delete_comment. It stops short of naming any sibling or clarifying how it relates to broader retrieval tools like get_page.

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: an agent can infer this is the tool for reading comments attached to a page. There is no explicit statement of when to prefer it over alternatives, no prerequisites, and no note about what happens for pages with no comments.

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