# activitywatch_delete_category

Delete an ActivityWatch category by its name path.

Agent View of the PolicyLayer registry record for `activitywatch_delete_category`. HTML page: https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-delete-category

## Facts

- Tool: `activitywatch_delete_category`
- Server: ActivityWatch MCP Server (`8bitgentleman/activitywatch-mcp-server`) — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server.md
- Homepage: https://github.com/8bitgentleman/activitywatch-mcp-server
- Risk category: Destructive (Critical risk)
- Registry record: grade D, 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": "activitywatch_delete_category",
    "arguments": {}
  }
}
```

## Why activitywatch_delete_category is rated Critical

This tool permanently removes a category from ActivityWatch, which cannot be undone. Deletion is irreversible and represents data loss. While the scope is limited to category metadata (not entire event logs), it still qualifies as Destructive rather than Write, as the operation cannot be reversed.

From the tool's own definition: "Tool name contains 'delete' and description states 'Delete an ActivityWatch category by its name path.' The verb 'delete' indicates irreversible removal of data."

## Use case

AI agents call activitywatch_delete_category to permanently remove resources in ActivityWatch 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 ActivityWatch MCP Server:

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

## Other tools on ActivityWatch MCP Server (9)

- `activitywatch_run_query` — Execute — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-run-query.md
- `activitywatch_get_categories` — Read — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-get-categories.md
- `activitywatch_get_events` — Read — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-get-events.md
- `activitywatch_get_settings` — Read — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-get-settings.md
- `activitywatch_get_uncategorized_events` — Read — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-get-uncategorized-events.md
- `activitywatch_list_buckets` — Read — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-list-buckets.md
- `activitywatch_query_examples` — Read — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-query-examples.md
- `activitywatch_add_category` — Write — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-add-category.md
- `activitywatch_update_category` — Write — https://policylayer.com/tools/8bitgentleman-activitywatch-mcp-server/activitywatch-update-category.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=8bitgentleman-activitywatch-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/8bitgentleman-activitywatch-mcp-server
