# set_group_ban

Mute group member

Agent View of the PolicyLayer registry record for `set_group_ban`. HTML page: https://policylayer.com/tools/1021143806-napcat-mcp/set-group-ban

## Facts

- Tool: `set_group_ban`
- Server: NapCat MCP Server (`1021143806/napcat_mcp`) — https://policylayer.com/tools/1021143806-napcat-mcp.md
- Homepage: https://github.com/1021143806/napcat_mcp
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_group_ban",
    "arguments": {}
  }
}
```

## Why set_group_ban is rated High

This tool executes an action on an external platform (QQ group) that restricts a member's ability to send messages. While it may be reversible (bans can typically be lifted), the primary action is executing an operation with significant social impact. It falls under Execute as it triggers an external operation whose effects depend on arguments (target user, duration).

From the tool's own definition: "'set_group_ban' - 'Mute group member': triggers an external operation (muting a user in a QQ group) that affects another user's ability to communicate"

## Use case

AI agents invoke set_group_ban to trigger actions in NapCat MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches NapCat MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "set_group_ban": {
      "limits": [
        {
          "counter": "set_group_ban_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on NapCat MCP Server (56)

- `delete_essence_msg` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/delete-essence-msg.md
- `delete_group_file` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/delete-group-file.md
- `delete_msg` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/delete-msg.md
- `set_group_kick` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/set-group-kick.md
- `set_group_whole_ban` — Execute — https://policylayer.com/tools/1021143806-napcat-mcp/set-group-whole-ban.md
- `can_send_image` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/can-send-image.md
- `can_send_record` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/can-send-record.md
- `get_cookies` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-cookies.md
- `get_credentials` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-credentials.md
- `get_csrf_token` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-csrf-token.md
- `get_essence_msg_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-essence-msg-list.md
- `get_forward_msg` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-forward-msg.md
- `get_friend_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-friend-list.md
- `get_friend_msg_history` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-friend-msg-history.md
- `get_group_announcement_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-announcement-list.md
- `get_group_at_all_remain` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-at-all-remain.md
- `get_group_file_system_info` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-file-system-info.md
- `get_group_file_url` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-file-url.md
- `get_group_files_by_folder` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-files-by-folder.md
- `get_group_honor_info` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-honor-info.md
- `get_group_ignore_add_request` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-ignore-add-request.md
- `get_group_info` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-info.md
- `get_group_info_ex` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-info-ex.md
- `get_group_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-list.md
- `get_group_member_info` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-member-info.md
- `get_group_member_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-member-list.md
- `get_group_msg_history` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-msg-history.md
- `get_group_root_files` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-root-files.md
- `get_group_system_msg` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-system-msg.md
- `get_image` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-image.md
- …and 26 more: https://policylayer.com/tools/1021143806-napcat-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=1021143806-napcat-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/1021143806-napcat-mcp
