# manage_temp_files

管理临时文件和目录，支持清理和统计功能

Agent View of the PolicyLayer registry record for `manage_temp_files`. HTML page: https://policylayer.com/tools/156554395-tx-cos-mcp/manage-temp-files

## Facts

- Tool: `manage_temp_files`
- Server: Tencent Cloud COS MCP Server (`156554395/tx-cos-mcp`) — https://policylayer.com/tools/156554395-tx-cos-mcp.md
- Homepage: https://github.com/156554395/tx-cos-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": "manage_temp_files",
    "arguments": {}
  }
}
```

## Why manage_temp_files is rated Critical

The tool description mentions '清理' (cleanup/purge) of temporary files and directories, which strongly implies irreversible deletion of files. While it also supports statistics (read-like), the most severe applicable category based on the cleanup functionality is Destructive.

From the tool's own definition: "管理临时文件和目录，支持清理和统计功能 — 'cleaning' (清理) of temporary files/directories implies irreversible deletion"

## Use case

AI agents call manage_temp_files to permanently remove resources in Tencent Cloud COS 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 Tencent Cloud COS MCP Server:

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

## Other tools on Tencent Cloud COS MCP Server (16)

- `clear_upload_progress` — Destructive — https://policylayer.com/tools/156554395-tx-cos-mcp/clear-upload-progress.md
- `delete_folder` — Destructive — https://policylayer.com/tools/156554395-tx-cos-mcp/delete-folder.md
- `delete_multiple` — Destructive — https://policylayer.com/tools/156554395-tx-cos-mcp/delete-multiple.md
- `delete_object` — Destructive — https://policylayer.com/tools/156554395-tx-cos-mcp/delete-object.md
- `get_folder_stats` — Read — https://policylayer.com/tools/156554395-tx-cos-mcp/get-folder-stats.md
- `get_signed_url` — Read — https://policylayer.com/tools/156554395-tx-cos-mcp/get-signed-url.md
- `get_upload_progress` — Read — https://policylayer.com/tools/156554395-tx-cos-mcp/get-upload-progress.md
- `list_folders` — Read — https://policylayer.com/tools/156554395-tx-cos-mcp/list-folders.md
- `list_objects` — Read — https://policylayer.com/tools/156554395-tx-cos-mcp/list-objects.md
- `copy_object` — Write — https://policylayer.com/tools/156554395-tx-cos-mcp/copy-object.md
- `create_folder` — Write — https://policylayer.com/tools/156554395-tx-cos-mcp/create-folder.md
- `move_object` — Write — https://policylayer.com/tools/156554395-tx-cos-mcp/move-object.md
- `rename_object` — Write — https://policylayer.com/tools/156554395-tx-cos-mcp/rename-object.md
- `upload_file` — Write — https://policylayer.com/tools/156554395-tx-cos-mcp/upload-file.md
- `upload_large_file` — Write — https://policylayer.com/tools/156554395-tx-cos-mcp/upload-large-file.md
- `upload_multiple` — Write — https://policylayer.com/tools/156554395-tx-cos-mcp/upload-multiple.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=156554395-tx-cos-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/156554395-tx-cos-mcp
