FinOps tools fail with "Snowflake driver not installed" — no guidance for users
Problem
FinOps tools (finops_analyze_credits, finops_warehouse_advice, finops_unused_resources) fail with:
Error: Snowflake driver not installed. Run: npm install snowflake-sdk
19+ occurrences observed. Users discover these tools via the agent, attempt to use them, and hit a hard failure with a generic npm install instruction that may not apply to their setup.
Impact
- Poor first-run experience for users exploring FinOps features
- The error message assumes a specific installation method that may not match how the user installed the CLI
- Users may not have permission to run
npm installin the CLI's installation directory
Suggested fix
- Detect missing driver at tool registration time, not at call time — hide or disable FinOps tools when the Snowflake driver isn't available
- Improve error message — provide installation instructions that match the user's setup (npm, bun, brew, etc.)
- Consider bundling the Snowflake driver or making it an optional dependency that's installed on first use
Closing as duplicate of #295.
This is a specific symptom (FinOps tools failing with "Snowflake driver not installed") of the broader database driver packaging issue tracked in #295, which has a comprehensive root cause analysis covering all missing drivers.
The umbrella solution is tracked in #61 (Warehouse driver auto-installation).
Duplicate of #295