Minecraft wiki entry for Command_blocks_and_functions, associated text: Check for a glass bottle if the player just drank a potion.
Check for a fishing rod when the line is reeled in. The /clear syntax involves another argument, the damage value, after the item name: