# delete_group_file

A destructive tool on the NapCat MCP Server MCP server.

Agent View of the PolicyLayer registry record for `delete_group_file`. HTML page: https://policylayer.com/tools/1021143806-napcat-mcp/delete-group-file

## Facts

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

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

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

## Why delete_group_file is rated Critical

This tool performs irreversible deletion of group files. Deletion operations cannot be reversed and result in permanent loss of data. While the blast radius is confined to group files (not system-critical), the destructive nature and potential impact on group collaboration and data integrity classify this as Destructive with high severity.

From the tool's own definition: "Tool name 'delete_group_file' and description 'Delete group file' explicitly indicate irreversible deletion of data. The verb 'delete' is a destructive operation that cannot be undone."

## Use case

AI agents call delete_group_file to permanently remove resources in NapCat MCP Server, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "delete_group_file"
  ]
}
```

## Other tools on NapCat MCP Server (56)

- `delete_essence_msg` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/delete-essence-msg.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
- `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
