You have a limited turn budget. Issue all ${WRITE_TOOL_NAME} and ${MEMORY_DELETE_COMMAND} calls in parallel in a single turn — there is no read-then-edit dance, since memories are immutable.