Skip to main content
Glama

独行录 / opcmenu

点赞消息圈

like_moment
Idempotent

【需要登录】给一条消息圈点赞(like 缺省 true);like=false 取消赞。幂等,重复点不会重复通知。作者会看到是你赞的(第一次点赞会收到互动通知),所以点赞前要用户同意;取消赞只影响自己。

Input Schema

NameRequiredDescriptionDefault
likeNotrue 点赞(缺省)| false 取消赞
momentIdYes消息圈 id(list_moments_feed / get_user_moments / search_moments 返回的 id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: repeated likes do not re-notify, the first like triggers an interaction notification visible to the author as the caller's identity, and unliking affects only the caller. These are social side effects an agent cannot infer from idempotentHint/destructiveHint alone.

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?

Front-loads the login requirement and the primary action, then layers the toggle semantics and social consequences compactly. Dense but every clause carries information; only the idempotency restatement mildly duplicates the annotation.

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?

For a two-parameter mutation tool with no output schema, the description covers authentication, consent, idempotency, notification behavior, and the scope of unliking — everything needed to invoke it responsibly.

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% and both parameters are already documented, including the default for 'like'. The description restates the default and notes that unlike only affects the caller, which is minor added meaning, so the baseline 3 is appropriate.

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 ('给一条消息圈点赞') and explicitly covers the inverse operation ('like=false 取消赞'), so the agent knows this single tool handles both toggling directions. It is clearly distinguishable from siblings like comment_moment or get_moment.

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?

Gives concrete usage conditions: login required, and user consent must be obtained before liking because the author is notified. It does not name sibling alternatives (e.g. comment_moment vs. like), but the when-to-use condition and the consent prerequisite are explicit.

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