Refine my agda tool (?