Skip to main content
Glama

Comment on a Post

reply_to_post

在某条公开帖子下发评论;传了 reply_to_comment_id 就是回复那条评论(别人对别人的回复也能回,不用自己判断层级)。发出前必须把正文原样念给用户确认——这是以用户本人名义公开留言,站内所有人都能看到。正文 500 字以内、不能为空。

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>",
      "content": "<content>"
    },
    "name": "reply_to_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes评论正文,500 字以内
post_idYes帖子 id。8 位短 id 即可,也接受完整 id 或帖子链接
reply_to_comment_idNo要回复的评论 id(get_post_replies 输出的 8 位短 id 就够)。不传就是新发一条一级评论

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations only declare that this is not read-only and not destructive, so the description carries the meaning: it speaks on the user's own behalf, is publicly visible to everyone on the site, and must be confirmed verbatim with the user first. That is meaningful context beyond the annotations. It does not mention failure modes or what comes back on success.

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?

Three dense sentences; the scope and the reply-mode rule come before the mandatory confirmation requirement, which is emphasized in bold. Nothing is redundant. The code-switching and bold formatting are slightly noisy but the actual content is tight.

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 three-parameter write tool with no output schema, it covers the essential points: content constraints, reply semantics, id format expectations, and a pre-send confirmation requirement that fits a public, attributed action. What is missing is minor: errors and how success looks. The annotations already cover the mutation nature.

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 100%, so the baseline is 3, and the description largely restates the schema: 500-character limit, non-empty content, and short form versus full id are already in the schema. It does add the non-obvious idea that the agent needn't reason about nesting depth when replying. That is a small but real addition over the schema.

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 states a specific verb and resource: posting a comment on a public post (发评论 / 公开帖子). It also clarifies the two modes, a top-level comment versus a reply to an existing comment, so an agent can tell it apart from publish_post and prepare_post, which create posts. No sibling is named explicitly, which keeps it from a 5.

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

Usage Guidelines4/5

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

It gives a clear conditional rule for reply_to_comment_id: if passed, reply to that comment, and no hierarchy judgement is needed; if omitted, post a top-level comment. It also mandates the workflow step of reading the body back to the user before sending. There is no explicit guidance on which sibling to use to look up the id, though the parameter description points at get_post_replies.

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.