Skip to main content
Glama

List comments awaiting approval

list_portal_pending_comments
Read-onlyIdempotent

List the guest comments on a public portal that wait for approval, oldest first, with the post title and the author's memberId. While hasMore is true, pass nextCursor as cursor. 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>"
    },
    "name": "list_portal_pending_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size. Default 50.
cursorNoPrevious nextCursor.
portalIdYesPortal ID, or the slug of a public portal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description goes beyond them with three useful facts: results are ordered oldest first, pagination is driven by hasMore/nextCursor, and owner/admin authorization is required. It stops short of stating what an empty result or a cursor-expiry looks like.

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?

Two compact sentences plus an access note; the core purpose is front-loaded and every clause carries information (scope, order, return fields, paging loop, permissions). No filler or restatement of the title.

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 carries return-value burden and does name the key fields (post title, memberId, hasMore, nextCursor), plus pagination and permission requirements. Minor gaps remain around edge cases (no pending comments, invalid slug versus portal ID), but nothing blocks a correct call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds non-obvious meaning: the cursor to pass is the previous nextCursor value, and it must be re-supplied while hasMore is true. That paging protocol is not derivable from the schema and is the key to correct invocation.

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?

Specific verb plus a narrow resource: 'guest comments on a public portal that wait for approval', with sort order and returned fields named. An agent can distinguish this from generic comment listers by the 'awaiting approval' filter alone, though no sibling is named explicitly.

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 by the resource scope (reviewing pending guest comments) and a prerequisite is stated ('Needs owner or admin access'). However, there is no explicit when-not guidance or pointer to alternatives such as list_portal_item_comments, so the agent must infer the boundary.

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