Point-of-care (POC) testing offers fast and on-site diagnostics and can be crucial against many infectious diseases and in screening. One remaining challenge in serological POC testing is the quantification of immunoglobulin G (IgG) and immunoglobulin M (IgM). Quantification of IgG/IgM can be important to evaluate immunity and to discriminate recent infections from past infections and primary infections from secondary infections. POC tests such as lateral flow immunoassays allow IgG and IgM differentiation; however, a remaining limitation is their incapacity to provide quantitative results. In this work, we show how samples containing IgG or IgM can be distinguished in a nanoparticle-based agglutination biosensing assay by tuning the density of antigens on the nanoparticles' surface. We employ direct STochastic Optical Reconstruction Microscopy to quantify the accessible SARS-CoV-2 trimeric spike proteins conjugated to magnetic nanoparticles at a single-particle level and gain insight into the protein distribution provided by the conjugation procedure. Furthermore, we measure the anti-SARS-CoV-2 IgG/IgM induced agglutination using an optomagnetic readout principle. We show that particles with high antigen density have a relatively higher sensitivity toward IgM compared to IgG, whereas low antigen density provides a relatively higher sensitivity to IgG. The finding paves the way for its implementation for other agglutination-based serology tests, allowing for more accurate disease diagnosis.