In preparation for a debate on the subject, the House of Commons has prepared a research briefing on what makes an individual eligible for free school meals. The major of these factors regard the benefits a parent is receiving.
You can read the full briefing here.