You have first set your criteria. Based on this criteria you can choose cutoff values. for example:
X = np.array([.....])
Y = pdist(X)
Z = linkage(Y)
I = inconsistent(Z)
Then based on consistency results select your cutoff point.
fcluster(Z,cutoff,criterion='inconsistent')
see fcluster documentation for further help