I would do that the other way round: return a filtered collection from the route.
Then you can use the $args parameter in your controller.
$args