# get_folder_stats

获取文件夹统计信息

Agent View of the PolicyLayer registry record for `get_folder_stats`. HTML page: https://policylayer.com/tools/156554395-tx-cos-mcp/get-folder-stats

## Facts

- Tool: `get_folder_stats`
- 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: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

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

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

## Why get_folder_stats is rated Low

This tool retrieves statistical information about folders (such as file count, total size, etc.) without modifying, deleting, or executing any operations. It is a read-only query operation with no side effects or blast radius if misused by an AI agent.

From the tool's own definition: "Tool name 'get_folder_stats' and description '获取文件夹统计信息' (get folder statistics information) indicates retrieval of metadata about folder contents and storage usage. No modification, deletion, or execution capability is present."

## Use case

AI agents call get_folder_stats to retrieve information from Tencent Cloud COS MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. 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",
  "tools": {
    "get_folder_stats": {}
  }
}
```

## 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
- `manage_temp_files` — Destructive — https://policylayer.com/tools/156554395-tx-cos-mcp/manage-temp-files.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
