Skip to main content
Glama

List comments on a shared post

list_portal_item_comments
Read-onlyIdempotent

List the comments on one post shared with a public portal, oldest first, in one moderation state (visible by default), with the post's reaction counts. Needs owner or admin access.

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": {
      "portalId": "<portalId>",
      "itemId": "<itemId>"
    },
    "name": "list_portal_item_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size. Default 50.
cursorNoPrevious nextCursor.
itemIdYesPortal item ID from list_portal_items.
portalIdYesPortal ID, or the slug of a public portal.
moderationNoWhich comments to list. Default visible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the description correctly focuses elsewhere: it discloses sort order (oldest first), the default moderation state, that reaction counts are bundled into the result, and that owner or admin access is required. The access prerequisite is the kind of context annotations cannot express, though it stops short of describing pagination limits or result shape.

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?

A single dense sentence with the resource and scope front-loaded, followed by ordering, default filter, included data, and the access requirement. No clause is redundant and nothing is buried.

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 read-only, paginated list tool, the description covers scope, ordering, default filter, extra returned data, and permission requirements, with pagination parameters handled by the schema. Absent an output schema, it could say more about the shape of the bundled reaction counts, but the essentials for correct invocation are present.

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 every parameter including moderation, limit, cursor, and IDs is already documented in the schema. The description only reinforces the moderation default ('visible by default'), adding essentially nothing new; the baseline 3 applies where the schema does the heavy lifting.

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?

The description gives a specific verb and resource ('List the comments on one post') and narrows scope to a post shared with a public portal, which distinguishes it from the broader list_post_comments or list_comments siblings. It also states ordering and filtering behavior in the same breath, so an agent knows exactly what this returns.

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 portal-scoped framing implies when to use it, and the moderation parameter hints at the pending-comments workflow, but the description never names an alternative or an exclusion (e.g., when to use list_post_comments or list_portal_pending_comments instead). Guidance is inferable rather than explicit.

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