[doc] Fix broken reference in metasploit.
[doc] Homogenize raises statements.
[ptp] Ensure that tool_name is provided before checking its value.
[tests] Fix ident.
[tools] Propagate optional ``first`` parameter.