Tag length validation via the Foundation approach