Skip to main content
Glama

Run a full-stack health audit

run_fullstack_audit
Idempotent

Run a full-stack health audit checking DB schema, API contracts, backend error logs, and RLS gaps, then returns a severity-ranked scorecard with fix hints in ~10 seconds.

Instructions

Fan out a full-stack health audit for the current project: DB schema + advisors, API contract gate results (Gates 3–8), recent backend error logs, and RLS gap detection. Returns a PM-readable scorecard with severity-ranked findings and fix hints. Requires the project to have a Supabase PAT configured (Settings → API Keys, slug: supabase) and supabase_project_ref set in project settings for backend analysis. The audit completes synchronously in ~10 s. Triggers a background gate run for orphan_endpoint and unknown_call gates if they have not run today.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoProject ID to audit. Defaults to the configured project.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses synchronous completion (~10 s), background trigger behavior, and non-destructive nature. This adds value beyond annotations (readOnlyHint, destructiveHint, idempotentHint) that already indicate safety and idempotency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with efficient front-loading of purpose, output, and prerequisites. No unnecessary words or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given one optional parameter and no output schema, the description explains audit scope, return format, requirements, and side effects thoroughly. No gaps identified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter (project_id) is already well-described in the input schema (defaulting to configured project). The description adds no further parameter insight, meeting the baseline for 100% schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool runs a full-stack health audit covering DB schema, API contract gates, backend error logs, and RLS gap detection. It distinguishes itself from sibling tools like get_backend_health by listing specific components and output (PM-readable scorecard).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly lists prerequisites (Supabase PAT and project ref) and notes a background gate trigger condition. However, it does not provide when-not-to-use guidance or contrast with simpler diagnostic tools among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kensaurus/mushi-mushi'

If you have feedback or need assistance with the MCP directory API, please join our Discord server