Skip to main content
Glama

Get Post Replies

get_post_replies
Read-only

获取某条公开帖子下的评论:一级评论分页返回(最新在前),每条内嵌其下的回复,带作者昵称、时间和「评论 id」。想看某条帖子具体在聊什么、或者要回复某条评论时用这个(回复需要传 reply_to_comment_id,id 就是这里输出的)。只想看帖子正文用 get_post_detail。

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": {
      "post_id": "<post_id>"
    },
    "name": "get_post_replies"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo页码,默认 1
limitNo每页一级评论条数,默认 20
post_idYes帖子 id。search_posts / my_posts 返回的 8 位短 id 即可,也接受链接

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/non-destructive/closed-world, so the description's added value is the result shape: pagination order (newest first), nested replies embedded in each top-level comment, and the fields returned per comment. The only real gap is that it does not say whether a comment's embedded replies are themselves capped or paginated, which matters for a paginated read.

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?

Four short clauses, front-loaded with the resource and return shape, then usage, then the alternative. No filler sentences; a small amount of density comes from packing the output structure and the sibling routing into one breath.

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?

There is no output schema, and the description compensates well by describing nesting, ordering, and returned fields, plus pagination via the documented page/limit params. A minor incompleteness remains around how many embedded replies come back and whether there is a total count.

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 documents page, limit, the limit ceiling of 50, and the 8-character short id / link acceptance for post_id. The description adds essentially no parameter meaning beyond that, aside from clarifying that the comment id returned is the one to feed into reply_to_comment_id, so the baseline 3 applies.

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?

States a specific verb and resource (fetch comments under a public post) and pins the scope: top-level comments paginated newest-first with replies embedded, plus the returned fields. It also names the sibling it is not (get_post_detail) and the public-post scope that separates it from get_my_post_replies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives two concrete when-to-use cases (inspecting what a post is discussing, and replying to a comment) and an explicit when-not, routing the agent to get_post_detail if only the post body is wanted. It even states the downstream requirement that reply_to_post needs the reply_to_comment_id emitted here.

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.