A multipurpose and ultra-compact nanoplasmonic wavelength filter based on stub structure in a metal-insulator-metal (MIM) waveguide is suggested and numerically investigated. A novel approach of connecting two stepped-like apertures to both input and output ports is applied to form Fabry-Perot (FP) cavities, which enabled the structure to act as a dual band-pass filter at wavelengths 1310 nm and 1550 nm. It is shown that the variation in cavities' length allows to realize a long-wavelength cutoff filter, and cutoff wavelength can be easily tuned by adjusting the length of the cavities. Furthermore, it is revealed that increasing the gap between the stepped-like apertures and the cavities provides a triple band-pass at telecom wavelengths, e.g., 1267.5 nm, 1414.19 nm, and 1644.7 nm. The tunable broadband high-pass wavelength filter is then achieved while the lengths of stepped-like apertures and stub resonators are set to be identical. Finally, a tunable nearly perfect absorber can be obtained by varying the width of stub resonators. Therefore, because of functionality, size, as well as efficiency the proposed plasmonic filter may greatly contribute to miniaturization of next generation of photonic integrated circuits (PICs), and find applications in on-chip integration and wavelength-division multiplexing (WDM) in optical communication systems.