In terms of what grammar you need to know ofc it depends on exam board but for AQA the list is here:
https://www.aqa.org.uk/subjects/german/a-level/german-7662/specification/subject-content/grammarHowever, not all of this is actually needed, depending on your level. From my experience of the mark schemes for things like the essays you probably want to look at the Major errors (this term is AQA specific but is probably similar for other exam bords) that will loose you the most marks which are:
incorrect verb forms
incorrect case endings, including pronouns
incorrect word order in main subordinate clauses.
Verb forms is just the conjugation e.g. ich spiele, du spielst, er/sie/es spielt etc. but I would also advise looking at learning the past participle e.g. Ich habe gespielt which gives you a nice past tense easily because the conjugation of haben is GCSE and then the ge word (which may not start with ge) can be memorised. You could as a bonus learn the imperfect past tense like Ich spielte etc.
Cases is really important. There are good videos on this online. You will be able to find a nice table which you can learn. Make sure to learn the adjectival endings!
Main and subordinate clauses is just making sure your verb is second and goes to the end when you use weil etc.
If you are already comfortable with try getting your head round the complex language they look for:
subordinate and relative clauses
conditional clauses
infinitive clauses with zu
subjunctive of indirect speech
prepositions with a non-literal meaning eg sich interessieren für
object pronouns
complex adjectival phrases eg die in Hamburg veröffentlichte Studie
adjectival and masculine weak nouns.
There will be videos on all these topics but they may not necessarily be all for A-Level but for just people learning the language in general but will be helpful and practice!
The rest is practice. Use the exam board you are doing's past papers and just write loads of essays. You could also learn some nice phrases to give you some training wheels almost to give you nice safe things to say in essays which might help you to develop your ideas.