cyclades: Validate length of metadata