Skip to main content
Glama

Unlike a Post

unlike_post
Destructive

取消对某条帖子的点赞。本来没点过也不会报错。

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

Input Schema

NameRequiredDescriptionDefault
post_idYes帖子 id。8 位短 id 即可,也接受完整 id 或帖子链接

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows this mutates state. The description adds genuinely useful behavior beyond them: '本来没点过也不会报错' tells the agent the call is effectively idempotent and safe to retry when the like may not exist. However, it says nothing about required permissions, what state is removed, or what is returned on success, so it is a solid but partial contribution.

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 very short sentences, front-loaded with the action and followed by the one non-obvious caveat. Nothing is wasted, though the second sentence could be marginally clearer about what 'no error' means for the response.

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 single-parameter, no-output-schema tool with safety annotations supplied, the description covers what it does and the key edge case (unlike when not liked). Return semantics and permission requirements remain unstated, but they are minor gaps at this complexity.

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%, with post_id fully documented (8-character short id, full id, or post URL accepted), so the schema carries the parameter burden. The description refers only generically to '某条帖子' and adds no format or resolution detail beyond the schema, which is the correct baseline.

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 gives a specific verb+resource ('取消对某条帖子的点赞' – remove the like on a post), which the agent can immediately distinguish from the inverse sibling like_post even though that sibling is not named. It stops just short of explicit sibling 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?

There is no guidance on when to use this rather than an alternative (e.g. like_post, add_favorite/remove_favorite, which also involve marking items), and no mention of prerequisites such as owning the like or authentication. The only situational hint is implicit in the verb itself.

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.