Skip to main content
Glama

独行录 / opcmenu

拉黑用户

block_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": "block_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYes要拉黑的用户 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 idempotentHint=true and destructiveHint=false, so repeating '重复幂等' adds nothing. The genuinely new context is the side effect that blocking severs DMs in both directions and removes the mutual follow relationship — useful given destructiveHint=false, since an agent might otherwise assume a purely additive flag. Permissions, error cases, and return behavior remain undisclosed.

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?

A single semicolon-delimited line that front-loads the login precondition and then lists effects with no filler. The telegraphic phrasing is slightly cryptic but wastes no words.

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 one-parameter mutation tool with no output schema, the definition covers the precondition, the relationship side effects, and repeat-call behavior. Missing only edge cases such as blocking a non-friend or an already-blocked user beyond the idempotency note.

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 single parameter is already documented as '要拉黑的用户 id'. The description adds no format, source, or constraint information about userId, so the baseline 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?

States a specific verb and resource ('拉黑' + user) and immediately names the concrete effects: DMs blocked in both directions and mutual follow removed. It is clearly the inverse of the sibling 'unblock_user', though it never names that sibling or contrasts itself with 'ban_live_user'.

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?

'登录;' is an authentication precondition, not when-to-use guidance. The description never says when to choose this over ban_live_user, unblock_user, or the other moderation siblings, and offers no exclusions or alternative routing.

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