Return dimension values query errors as tool results (#796)