Use PlanetScale with AI, safely
Pins down the organization, database and branch before reading, picks the narrowest PlanetScale tool, and asks for explicit approval before any write query runs.
Use it when
- You connected PlanetScale to an AI assistant and want to know what it can safely do
- An assistant is about to query a database and you want it to confirm the branch first
- A query was refused because of access settings and you want to know why
Tools it uses
planetscale_list_organizationsplanetscale_list_databasesplanetscale_list_branchesplanetscale_get_branch_schemaplanetscale_get_organizationplanetscale_get_databaseplanetscale_get_branchplanetscale_get_insightsplanetscale_execute_read_queryplanetscale_list_invoicesplanetscale_get_invoice_line_itemsplanetscale_search_documentationplanetscale_list_cluster_size_skusplanetscale_list_regions_for_organizationplanetscale_execute_write_query
Check the orders table on our production branch and tell me how many rows it has.
I'll confirm first: organisation Acme, database shop, production branch. Reading the orders table with a bounded count query now. It has 48,213 rows. I did not change anything.