Skip to main content
Glama

List Wiki comments

wiki_comments_list
Read-onlyIdempotent

Comments on a page id, auto-paginated (drains the next_cursor internally).

Instructions

Comments on a page id, auto-paginated (drains the next_cursor internally).

Capped at the configured item cap unless limit is given. Pair with pages_get_meta (its attributes.comments_count tells you how many exist).

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

Input Schema

NameRequiredDescriptionDefault
allNoReturn everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.
nextNoGo on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit.
limitNoMax comments to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS).
page_idYesNumeric page id, from ``pages_get_meta`` or a page ref.
order_byNoSort field: ``created_at``.
status_filterNoKeep only the comments in this state.
order_directionNoSort direction for ``order_by``.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.142.2
    • addedInput schema / properties / all
      Added value: +{
      +  "default": false,
      +  "description": "Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Max comments to return; omitted means the configured cap (YCLI__HTTP__MAX_ITEMS)."New value: +"Max comments to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS)."
    • addedInput schema / properties / next
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit."
      +}
  2. Changed1 schema field changedv0.122.1
    • changedInput schema / properties / page_id / description
      Previous value: -"Numeric page id, from ``pages_meta`` or a page ref."New value: +"Numeric page id, from ``pages_get_meta`` or a page ref."
  3. First observedv0.67.0

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, the description discloses two important behaviors: it auto-paginates by draining the internal cursor, and it returns only up to the configured item cap unless `limit` is supplied. It does not describe permissions, missing-page behavior, or return shape, but the annotations already cover the safety profile.

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?

The description is short and front-loads the page-comment scope before pagination and cap details. The opening fragment is slightly terse, but there is no filler and the pairing hint earns its place.

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?

For a seven-parameter read-only list tool with full schema coverage, the description covers the key pagination and cap behavior plus the count-check pairing. It still leaves the agent without explicit sibling selection guidance or any description of what a returned comment contains, so it is adequate rather than complete.

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%, and the schema already explains `all`, `next`, `limit`, `page_id`, sorting, and filtering in detail. The description only reinforces `page_id` and `limit` and does not add new meaning for the remaining parameters, so the baseline of 3 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?

The description identifies the resource and scope: comments for a numeric page id, with auto-pagination and a configurable cap. That is clear enough to distinguish a list operation, but it does not explicitly differentiate this flat page-comment listing from the sibling `wiki_comments_thread_list`.

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?

The description gives a useful pairing hint: use `pages_get_meta` to see `attributes.comments_count`. It does not say when to use this tool instead of `wiki_comments_thread_list` or tracker comment listing tools, nor does it state any exclusions.

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