List available data sources for context
The agent retrieves a list of all connected databases, warehouses, and apps, allowing it to understand the scope of available data before formulating complex queries.
How it works
Read-onlyData and analysis
The agent calls get_data_sources to identify which data sources are accessible to the signed-in user. This step is crucial for grounding subsequent questions in the correct schema and ensuring the agent doesn't attempt to query non-existent or inaccessible tables.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for List available data sources for context
List all the data sources connected to this workspace so I know what data is available to query.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
List the databases, warehouses, and apps connected to the workspace, so the client knows what it can ask about.MCP server for BI and analytics | Connect AI clients to Basedash