Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_migrationA

Lint a PostgreSQL migration for operations that take dangerous locks (table rewrites, blocking index builds, validating constraints, destructive/breaking changes) and return a PASS/REVIEW/BLOCK verdict with per-statement findings and safe rewrites. Call this before applying or approving any migration.

explain_lockA

Given a lock mode name (e.g. 'ACCESS EXCLUSIVE') or a fragment of an operation, explain what it blocks and which operations acquire it.

Prompts

Interactive templates invoked by user choice

NameDescription
review-migrationAnalyze a migration with Locksmith and summarize the risk for a PR comment.

Resources

Contextual data attached and managed by the client

NameDescription
lock-matrixWhich lock each operation takes and what that lock blocks.
rulesAll migration-safety rules, their severity, and rationale.

TDQS

A4/5.0

Scored across 2 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: analyze_migration scans migrations for risky lock operations, while explain_lock describes lock modes and blocking behavior. There is no overlap or ambiguity between them.

Naming Consistency5/5

Both tool names follow a consistent verb_noun pattern: analyze_migration and explain_lock. The naming is predictable and clearly reflects each tool's action and target.

Tool Count3/5

With only two tools, the server feels minimal but still coherent for its narrow domain of PostgreSQL lock safety. It is borderline thin, but the two tools cover the primary use case of analyzing migrations and understanding locks, so the count is acceptable.

Completeness4/5

The tool surface covers the full workflow of checking a migration for dangerous locks and providing educational support on lock modes. Minor gaps exist, such as no tool for inspecting live database locks or comparing lock compatibility, but the core purpose is well-served.

Maintenance

ActivityInactive
ResponsivenessNo issues