取消拉黑
unblock_user【需要登录】取消对某用户的拉黑。幂等:未拉黑时也返回 ok。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | 要取消拉黑的用户 id |
unblock_user【需要登录】取消对某用户的拉黑。幂等:未拉黑时也返回 ok。
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | 要取消拉黑的用户 id |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare idempotentHint=true, destructiveHint=true, readOnlyHint=false and openWorldHint=true, so safety is covered. The description nonetheless adds value beyond them: the login requirement and the concrete behavior that 'the call returns ok even when the user isn't blocked' – a return-contract detail not present in the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences with zero filler; the auth prerequisite is front-loaded and the idempotency note follows. Every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 mutation tool, the description covers the action, the auth precondition, and the idempotency contract, which is essentially everything an agent needs to invoke it. The only minor omission is that no explicit alternative is pointed to.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is a single parameter with 100% schema description coverage ('要取消拉黑的用户 id'), so the schema already carries the semantics. The description adds no format, constraint, or example beyond what the schema states, which is the baseline-3 case.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb+resource ('取消对某用户的拉黑' = unblock a specific user), which an agent can distinguish from the sibling block_user (its inverse) and ban_live_user (a different, live-scoped action) without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It notes the login prerequisite and the idempotent behavior, which gives usable context, but it never names an alternative or a when-not-to-use condition. Usage is implied by the action rather than explicitly routed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.