Both scenarios need be considered:
engine failure and approach climb
each has different limitations and configurations for calculations
most limiting case is usually engine failure on approach (e.g. 1' prior minimums)
2.5% is standard procedure design, unless a higher gradient is published.
operator is responsible to verify missed approach gradient can be flown prior to commencement of approach, or alternatively higher minimums can sometimes be used to offset this capability