Having a literary agent, I often get asked about writing query letters, and I do think there’s a set formula that can be used. Within that formula, you can move with certain flexibility, but it’s been successful for me across manuscripts, and has helped others find their agents also. Be sure to zoom in because the text is small!
Disclaimer: this is most effective with one point of view character. Having more point of view characters will complicate, but the theory is the same.