AI Agents for Planetscale
Create powerful agentic AI solutions that seamlessly integrate with planetscale.com's services.
List PlanetScale Organizations
Retrieve the list of PlanetScale organizations the service token can access
planetscale
organization
list
database
List PlanetScale Databases
Retrieve the list of databases in a PlanetScale organization
planetscale
database
list
List PlanetScale Branches
Retrieve the list of branches for a PlanetScale database, including which one is the production branch
planetscale
branch
list
database
Fetch PlanetScale Branch
Retrieve a single PlanetScale branch including its state, region and cluster configuration
planetscale
branch
fetch
database
List PlanetScale Anomalies
Retrieve the anomalies detected on a PlanetScale branch. An anomaly is a period with a substantially elevated percentage of queries running slower than the 2-sigma baseline.
planetscale
anomaly
list
insights
monitoring
Fetch PlanetScale Anomaly
Retrieve a single PlanetScale anomaly by id, including when it started, how long it lasted and the queries implicated in it
planetscale
anomaly
fetch
insights
monitoring
List PlanetScale Queries
Retrieve the queries running against a PlanetScale branch with their performance metrics - rows read, rows returned, duration and the normalized SQL. Sort by rows read to find queries scanning far more than they return.
planetscale
query
list
insights
monitoring
Fetch PlanetScale Query Statistics
Retrieve the per-execution statistics for a single query fingerprint on a PlanetScale branch - rows read, rows affected, rows returned, duration and the tables touched
by fingerprint
planetscale
query
fetch
insights
monitoring
Fetch PlanetScale Query Summary
Retrieve the aggregated summary of a single query fingerprint on a PlanetScale branch over a time window - useful for comparing a query against how it behaved before
by fingerprint
planetscale
query
summary
fetch
insights
List PlanetScale Query Errors
Retrieve the queries that errored on a PlanetScale branch, grouped by fingerprint, with their error messages
planetscale
query
error
list
insights
Fetch PlanetScale Query Error
Retrieve the details of a single errored query fingerprint on a PlanetScale branch
by fingerprint
planetscale
query
error
fetch
insights
List PlanetScale Deploy Requests
Retrieve the deploy requests for a PlanetScale database. Use this to correlate a performance regression with whatever schema change shipped just before it.
planetscale
deploy-request
list
schema
Fetch PlanetScale Deploy Request
Retrieve a single PlanetScale deploy request by number, including its state and deployment details
planetscale
deploy-request
fetch
schema
List PlanetScale Webhooks
Retrieve the webhooks configured on a PlanetScale database and the events each one subscribes to
planetscale
webhook
list
monitoring
Create PlanetScale Webhook
Create a webhook on a PlanetScale database so it POSTs events to a URL. Subscribe to events such as branch.anomaly, branch.out_of_memory, branch.schema_recommendation, cluster.storage, keyspace.storage and the deploy_request.* lifecycle.
planetscale
webhook
create
monitoring
Delete PlanetScale Webhook
Delete a webhook from a PlanetScale database
planetscale
webhook
delete
monitoring
Test PlanetScale Webhook
Send a test event to a PlanetScale webhook to verify the receiving endpoint works. Limited to one test every 20 seconds.
planetscale
webhook
test
monitoring
Call PlanetScale API
Make a generic API call to PlanetScale. This is a flexible template that can be used to call any PlanetScale API endpoint by specifying the method, URL, and request body.
planetscale
api
call
generic
Install PlanetScale Insights Tools
Installs read-only PlanetScale observability tools into the conversation. You can investigate anomalies, query performance and query errors, and correlate them with recent deploy requests.
insights
planetscale
pack
insights
monitoring
beta
Install PlanetScale Webhook Tools
Installs PlanetScale webhook management tools into the conversation. You can list, create, delete and test the webhooks that push database events to an endpoint.
webhooks
planetscale
pack
webhook
monitoring
beta
Example Blueprints
Explore our collection of pre-built Planetscale AI agent blueprints to get started quickly.
Connections
mcpschatbotkit.comanam.aigithub.comslack.comdiscord.comgoogle.cominstagram.comfacebook.commicrosoft.comtelegram.orgwhatsapp.comtwilio.comrecall.ainotion.solinear.appsentry.iobetterstack.combox.combuffer.compaypal.compagerduty.comstripe.comcloudinary.comcrmkit.aicanva.comapify.comapollo.iozapier.comworkato.comisometric.comahrefs.comfigma.comintercom.compipedream.comparallel.aitodoist.commapbox.comclickup.comhunter.iotally.soamplitude.commiro.comtavily.compulumi.composthog.comcontext7.comfirecrawl.devlinkup.sorevenuecat.comjam.devfireflies.aizoominfo.comexplorium.aiatlassian.comvercel.comneon.techprisma.iohiggsfield.airunwayml.comhuggingface.cojotform.comwix.comdropbox.comclose.comdocusign.cominstantly.aisupabase.comattio.combuildkite.comnetlify.comgrafbase.comhubspot.comexa.aisquareup.commonday.commongodb.comramp.commorningstar.comstackoverflow.comelastic.cografana.comgitlab.comheroku.comclay.compolar.shsanity.iogranola.aiincident.iovapi.aiasana.comwebflow.comcloudflare.comtamarind.biozendesk.comhyperproof.appserpapi.comserper.devserper.devshopify.comperplexity.aireddit.comreplicate.comresend.compostgrest.orgzoom.uspeopledatalabs.commagento.commailchimp.comcalendly.comchargebee.comcal.comwoocommerce.combigcommerce.combeehiiv.combrandfetch.iofreshdesk.comfinancialmodelingprep.comopenweathermap.orgopenstreetmap.orgusefind.aivanta.commixpanel.comgohighlevel.commake.comlemonsqueezy.comlinkedin.commailgun.comwikipedia.orgnubela.cookta.comopenai.combrave.comsendgrid.comelevenlabs.ioeasypost.comgodaddy.comgetharvest.comtrello.comtypeform.comaccuweather.comactivecampaign.comtaxjar.comcoinapi.ioclearbit.comclickhouse.comclockify.mecoda.iocodeqr.iodictionaryapi.devably.comairtable.comalpaca.marketsalphavantage.conewsapi.orgraindrop.iosnowflake.comsprites.devunsplash.comuplead.comgiphy.commeetglimpse.comlistennotes.compexels.compolymarket.compipedrive.comproductboard.combarcodelookup.combamboohr.combasecamp.comdev.todiffbot.comweatherbit.iogeocod.ioabstractapi.commanychat.commatillion.complanetscale.commodelcontextprotocol.ioxero.commoltbook.com