This is a very clever collection of linked stories by E. Phillips Oppenheim written in 1913.
Algernon Knox, pretty young, dapper, seemingly silly, has failed at everything. Knox foils the plot, and a new career is born, the gentleman detective.
In some ways, the young man carries out increasingly dangerous and cleaver missions against criminals and foreign spies.