Skip to main content
Glama

Ykb Publish Comment

ykb_publish_comment

Publishes a comment under a specified question, updates account data as a write action, and archives the comment to the local My Comments list.

Instructions

【写操作】在某题下发表评论,会改动账号数据,请谨慎使用。成功后自动归档到本地「我的评论」。

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": {
      "question_id": "<question_id>",
      "content": "<content>"
    },
    "name": "ykb_publish_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNo
contentYes
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 supplied, the description carries the full burden. It usefully discloses that this is a write operation that mutates account data (会改动账号数据) and that success triggers a local archival side effect into 「我的评论」. It leaves out authentication or identity requirements, rate limits, and failure behavior, which matters for a mutation tool with zero annotation coverage.

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?

Two short clauses with the write-operation marker front-loaded before the action and the archival side effect last. Nothing is padded, though the caution clause is somewhat generic.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Placeholder.

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 and largely does not. It implies question_id (在某题下) and content (评论), but app_id, subject_id, and identity_id are never mentioned, leaving three undocumented parameters that an agent cannot disambiguate from the schema alone.

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 in Chinese: 发表评论 (post a comment) 在某题下 (under a given question), and it prefixed the tool with 【写操作】, which immediately separates it from read-side siblings such as ykb_comments or ykb_my_comments. It does not explicitly name or contrast a sibling such as ykb_praise_comment, so it stops short of full differentiation.

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

Usage Guidelines2/5

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

The only usage signal is 请谨慎使用 (use with caution), which is a risk warning rather than guidance about when to choose this tool over ykb_praise_comment or when to read with ykb_comments instead. No prerequisites, no preconditions on login or identity, and no exclusions are given.

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