← Back to Changelog

Run Several LayersQL Queries in One Call

Results panel from the layersql-batch-query MCP tool showing four LayersQL queries, three returning rows and one marked failed, next to executed, failed, and invalid counts

Your AI assistant can now pull revenue, top searches, and collection performance for a report in a single call. The new layersql-batch-query MCP tool runs up to 10 LayersQL queries together and hands back one result per query, in the order you sent them.

If one query is invalid or fails, it gets its own error and the others still return rows. Larger batches can run asynchronously, and the tool needs analytics read access on your store.

Learn more