retention
Find active records exceeding a maximum age and, when apply is enabled, hard-delete them to enforce storage limitations, with dry-run review and auditable 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 tombstone, signed
when this server holds the store's receipt key (see where_am_i), 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 |