retention
Enforce GDPR storage limits by finding active records older than a specified age; dry-run shows eligible IDs, or apply hard-deletes with audit-ready tombstones.
Instructions
STORAGE-LIMITATION enforcement (GDPR Art. 5(1)(e); read-only unless apply=True): find ACTIVE records
older than max_age_days and, with apply=True, hard-delete them — each erasure leaving a signed tombstone,
so the enforcement is itself auditable. DRY-RUN by default: returns {eligible, ids, applied, erased} so you
review before enforcing. pii_only (default True) restricts to PII-tagged records.
basis and request_id are recorded with each erasure (Art.30). Neither was on this surface, so a
retention sweep run over MCP produced tombstones with no stated ground and no ticket to trace them to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| basis | No | ||
| pii_only | No | ||
| request_id | No | ||
| max_age_days | Yes |