sql
Run read-only SQL queries on synced local data for ad-hoc analysis, aggregations, and joins. Returns structured JSON results, bounded to budget.
Instructions
Run read-only SQL against local database. Use for ad-hoc analysis, aggregations, and joins across synced resources. Requires sync first. Returns a JSON object with rows, truncated, and row_limit; large responses are bounded to the MCP tool-result budget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL query (SELECT or WITH...SELECT). Tables match resource names. |