Skip to content

FinOps tools fail with "Snowflake driver not installed" — no guidance for users #472

@anandgupta42

Description

@anandgupta42

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 install in the CLI's installation directory

Suggested fix

  1. Detect missing driver at tool registration time, not at call time — hide or disable FinOps tools when the Snowflake driver isn't available
  2. Improve error message — provide installation instructions that match the user's setup (npm, bun, brew, etc.)
  3. Consider bundling the Snowflake driver or making it an optional dependency that's installed on first use

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions