Skip to main content
Glama

Ykb Praise Comment

ykb_praise_comment

Likes a specified Yikaobang comment, updates account data, and archives the liked comment locally. Use when an AI agent needs to record a comment like after retrieving its comment_id.

Instructions

【写操作】给一条评论点赞,会改动账号数据,请谨慎使用。成功后自动归档到本地「我的点赞」。comment_id 可来自 ykb_comments。

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": {
      "comment_id": "<comment_id>",
      "question_id": "<question_id>"
    },
    "name": "ykb_praise_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNo
comment_idYes
subject_idNo
identity_idNo
question_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description has to carry the behavioral burden, and it does disclose two useful facts: the call mutates account data, and it silently archives the result into the local 「我的点赞」 collection. It still omits duplicate or idempotency behavior (what happens when a comment is liked twice), any auth or login prerequisite, and error behavior.

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 short clauses, front-loaded with the write-operation marker and the caution, followed by the side effect and the ID source. No filler; the only weakness is that brevity comes at the cost of the missing parameter and prerequisite detail.

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?

The output schema covers return values, so that gap does not count, but for a five-parameter mutation with zero annotation coverage the definition leaves out the login requirement, duplicate-like behavior, and the role of question_id and the identity/subject fields. Adequate to start a call, not adequate to call it correctly in edge cases.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, so the description must compensate, yet it only explains the origin of comment_id. question_id is required but unexplained, and app_id, subject_id, and identity_id (all defaulting to empty strings) get no meaning at all, leaving the agent to guess at the scoping model.

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?

Names a specific verb and resource: liking a comment. The 【写操作】 prefix immediately marks it as a write operation, and the note that comment_id can come from ykb_comments helps route it relative to the read tools. Sibling differentiation is implicit (versus ykb_my_praises, which lists likes) rather than stated.

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?

Gives the prerequisite for the key input (comment_id comes from ykb_comments) and a caution to use it carefully, but never states when to prefer it or what the counterpart actions are (for example, un-liking, or reading existing likes). Usage is implied rather than spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.