The arrival of swallows in the spring is expected by people who and are excited to watch parents feed the chicks. Swallows consume thousands of flying insects that are considered parasites. One reason that barn swallows as well as house martins choose to nest near humans is because close proximity to humans keeps predators away. Many people enjoy swallows nesting on or around their homes. However, there are also people who, for reasons of cleanliness and concern about a possible transmission of germs or parasites, destroy the nests of swallows found in their properties.

How to be good house martin neighbors:
Source: https://www.rspb.org.uk/birds-and-wildlife/advice/how-you-can-help-birds/nestboxes/how-to-attract-house-martins/

House martins only eat insects they catch on the wing, so you cannot attract them by putting food out for them in the same way as you would attract other birds.

Nestcups don’t guarantee that martins will nest, at least in the first year, but since house martins nest in colonies, the presence of a nest may encourage other birds to build their own there.

Detailed instructions for making nests