Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SCHEMA_SENTINEL_DB_URLYesPostgres connection string for a read-only role
SCHEMA_SENTINEL_REPO_PATHYesPath to the git repository paired with the database
SCHEMA_SENTINEL_MIGRATIONS_PATHYesPath to the migrations directory

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_schema_overviewB

Tables, columns, PKs, FKs for the connected database.

find_missing_indexesA

Flags FK columns with no covering index.

find_circular_foreign_keysA

Catches FK cycles across tables.

find_table_complexityA

Structural complexity per table: column count, FK fan-in/out, circular-FK involvement.

generate_erdB

Mermaid erDiagram text for the connected schema.

check_migration_riskA

Statically parses a single migration .sql file and flags risky patterns. Never executes it.

find_schema_churnB

Git-history churn per table: how often (and how recently) each table's migrations changed.

generate_reportC

Rolls every tool above into one combined health report.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/ramoniglesias98/schema-sentinel'

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