Skip to main content
Glama
Northwind PostgreSQL MCP Server

Northwind PostgreSQL MCP Server

by mosesliao

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLYesPostgreSQL connection string for the Northwind database.

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tablesA

List all user tables in the public schema.

describe_tableB

Return column metadata for a table: name, data type, nullable, default, and whether it is part of the primary key.

sample_tableB

Return the first N rows of a table (default 5, max 100).

queryA

Execute a read-only SQL query and return results as a list of row dicts. Only SELECT and WITH (CTE) statements are allowed. Results are capped at 500 rows.

get_schemaA

Return a concise text summary of every table and its columns, useful for understanding the database structure at a glance.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a reasonably distinct role: list_tables (names), describe_table (per-table column metadata), sample_table (row peek), query (arbitrary SELECT), and get_schema (whole-DB summary). There is mild overlap between get_schema and the combination of list_tables/describe_table, and between sample_table and query, but the descriptions make the intended boundaries clear.

Naming Consistency4/5

Four of five tools follow a verb_noun snake_case pattern (list_tables, describe_table, sample_table, get_schema). The bare verb 'query' is the only deviation, and 'get_schema' vs 'list_tables' are slightly inconsistent verbs for similar discovery actions, but overall the convention is predictable.

Tool Count5/5

Five tools is well within the ideal 3-15 range and each one serves a distinct exploration need (list, describe, sample, query, summarize). Nothing feels redundant or padding.

Completeness4/5

The surface covers the read-only introspection domain well: table discovery, column metadata, row sampling, ad-hoc SQL, and an overview. Minor gaps exist—no index/constraint details beyond primary keys, no schema/database listing outside public, and no pagination or EXPLAIN for large queries—but agents can work around these via query.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues