Skip to main content
Glama

独行录 / opcmenu

取消拉黑

unblock_user
Idempotent

登录;取消对某用户的拉黑。幂等:未拉黑时也返回 ok。

Input Schema

NameRequiredDescriptionDefault
userIdYes要取消拉黑的用户 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The only annotation is idempotentHint=true, and the description restates idempotency, which earns no credit beyond the structured field. What it does add is the authentication prerequisite ('登录' — must be logged in) and the concrete return behavior ('returns ok even when not blocked'), both of which are real behavioral context not present in the annotations. It says nothing about permissions on the target user or side effects on conversations.

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, front-loaded with the action and followed by the idempotency caveat; nothing is redundant. The leading '登录;' fragment is terse to the point of being slightly cryptic about whether it is a precondition or a tool group label.

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?

For a single-parameter toggle with no output schema and minimal annotations, the description covers the essential pieces: what it does, that auth is required, and that the call is safe to repeat. It omits what happens on the other side (does the user regain visibility/follow relationships) and the exact response shape beyond 'ok', which are modest but real gaps.

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?

There is one parameter with 100% schema description coverage ('要取消拉黑的用户 id'), so the schema already fully documents it. The description adds no format, source, or lookup detail (e.g. where to obtain the userId) beyond what the schema states, so the baseline of 3 applies.

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 names a specific verb and resource: '取消对某用户的拉黑' (remove the block on a user), which is unambiguous and clearly the inverse of the sibling block_user. It does not explicitly name block_user as the counterpart, so an agent must infer the pairing from the verb alone.

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?

Usage is only implied — the agent is expected to infer 'call this when a user should be un-blocked'. The idempotency note ('未拉黑时也返回 ok') does tell the agent it is safe to call blindly without first checking block status, which is a genuinely useful usage cue, but there is no explicit when-not guidance or named alternative.

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