# set_friend_add_request

Handle friend request

Agent View of the PolicyLayer registry record for `set_friend_add_request`. HTML page: https://policylayer.com/tools/1021143806-napcat-mcp/set-friend-add-request

## Facts

- Tool: `set_friend_add_request`
- Server: NapCat MCP Server (`1021143806/napcat_mcp`) — https://policylayer.com/tools/1021143806-napcat-mcp.md
- Homepage: https://github.com/1021143806/napcat_mcp
- Risk category: Write (Medium 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_friend_add_request",
    "arguments": {}
  }
}
```

## Why set_friend_add_request is rated Medium

This tool creates or modifies friend relationships in a QQ bot context. The action is reversible (friendships can be removed), making it a Write rather than Destructive operation. While it affects social connections, the blast radius is limited to friend list modifications without direct financial, code execution, or irreversible data destruction impacts.

From the tool's own definition: "Tool name 'set_friend_add_request' and description 'Handle friend request' indicate it modifies social relationship state by accepting, rejecting, or processing friend requests, which creates or alters reversible data relationships."

## Use case

AI agents use set_friend_add_request to create or update resources in NapCat MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your NapCat MCP Server environment.

## 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_friend_add_request": {
      "limits": [
        {
          "counter": "set_friend_add_request_rate",
          "window": "minute",
          "max": 30,
          "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_ban` — Execute — https://policylayer.com/tools/1021143806-napcat-mcp/set-group-ban.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
- …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
