Get backend health for a project
get_backend_healthRetrieve the current health state of a linked Supabase backend, including table RLS status, recent API and Postgres error logs, and database advisor findings.
Instructions
Return the current backend health state for a linked Supabase project: table list (with RLS enabled status), recent API and Postgres error logs, and DB advisor findings. Uses the read-only Supabase MCP client via the stored PAT. Returns { tables, logs, advisors, projectRef } when the backend is linked, or { reason: "no_supabase_pat" | "no_project_ref" } when it is not configured. This is the read-only fast path — use run_fullstack_audit for the full scorecard including gate results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID. Defaults to the configured project. | |
| include_logs | No | Whether to include recent backend error logs (default: true). |