Skip to main content
Glama

独行录 / opcmenu

取消拉黑

unblock_user
Idempotent

登录;取消拉黑,未拉黑幂等。

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": {
      "userId": "<userId>"
    },
    "name": "unblock_user"
  }
}

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 idempotentHint annotation already declares idempotency, so '未拉黑幂等' largely restates structured data. The one piece of added behavior is the login/auth requirement, which the annotations do not cover. Nothing is said about effects on related state or error behavior, so the addition is modest.

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 precondition and then the action; nothing is wasted. The telegraphic style borders on under-specification, but every phrase carries information.

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 one-parameter mutation with idempotency annotated, the definition covers the essential auth precondition and the no-op case. It is silent on edge cases such as unblocking oneself and on what the call returns, which leaves a small but real gap.

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 a single required parameter with 100% schema description coverage ('要取消拉黑的用户 id'), so the schema fully documents it. The description adds no meaning beyond that, which matches the baseline of 3 when the schema does the work.

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 states a specific verb+resource: cancel a block (取消拉黑) on a user. That is clearly the inverse of the block_user sibling, so an agent can distinguish it without opening the schema. It stops short of naming the sibling explicitly, keeping it at 4 rather than 5.

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?

The leading '登录' (login) implies an authentication prerequisite, which is genuine usage context. However, there is no explicit statement of when to prefer this over alternatives such as block_user, and no exclusion conditions beyond the idempotency note.

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