# unlink

Remove a relationship link between two memories by ID. Use when a link is incorrect or no longer relevant. Get the IDs from recall or connections first.

Agent View of the PolicyLayer registry record for `unlink`. HTML page: https://policylayer.com/tools/rahilp-second-brain-cloudflare/unlink

## Facts

- Tool: `unlink`
- Server: Second Brain Cloudflare (`rahilp/second-brain-cloudflare`) — https://policylayer.com/tools/rahilp-second-brain-cloudflare.md
- Homepage: https://github.com/rahilp/second-brain-cloudflare
- 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": "unlink",
    "arguments": {}
  }
}
```

## Why unlink is rated Critical

Unlinking removes a relationship between memories. While it doesn't delete the memories themselves, removing a link is an irreversible action (or at least not easily reversible without knowing the original link existed), and the tool description does not mention any undo capability. The blast radius is medium — misuse could corrupt the knowledge graph by severing valid semantic connections between memories.

From the tool's own definition: "Remove a relationship link between two memories... when a link is incorrect or no longer relevant"

## Use case

AI agents call unlink to permanently remove resources in Second Brain Cloudflare, 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 Second Brain Cloudflare:

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

## Other tools on Second Brain Cloudflare (3)

- `forget` — Destructive — https://policylayer.com/tools/rahilp-second-brain-cloudflare/forget.md
- `link` — Write — https://policylayer.com/tools/rahilp-second-brain-cloudflare/link.md
- `set_status` — Write — https://policylayer.com/tools/rahilp-second-brain-cloudflare/set-status.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=rahilp-second-brain-cloudflare · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/rahilp-second-brain-cloudflare
