Skip to main content
Glama

独行录 / opcmenu

点赞消息圈

like_moment
Idempotent

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

Input Schema

TableJSON 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.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses authentication requirements, idempotency behavior in terms of duplicate notifications, the fact that the author sees the liker's identity, and that cancelling a like only affects the caller. These are meaningful side-effect and privacy details for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded, using bracket labels to separate authentication and behavioral caveats. Every sentence contributes useful information with no repetition or filler.

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 full schema coverage, no output schema, and annotations covering safety profile, the description adds the missing authentication, consent, notification, and idempotency context. An agent has enough information to invoke it correctly.

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 both momentId and the like default/cancel behavior. The description restates the like toggle but adds no new parameter-level syntax, format, or validation meaning beyond what the schema provides, so 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?

The description states a specific verb and resource: liking a moment, with like=false explicitly meaning cancel like. It distinguishes the like/unlike toggle clearly from other moment-related actions such as commenting or publishing, so an agent can select it without opening the schema.

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 clear context: login is required, like defaults to true, like=false cancels, and user consent is required before liking because the author will see who liked. It does not explicitly name alternatives such as comment_moment, so it falls short of a full when-to-use routing guide.

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