Skip to main content
Glama

Server Details

Turns SQL CREATE TABLE statements into an entity relationship diagram you can print.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.1/5.0

Scored across 2 tools

Disambiguation4/5

The two tools split cleanly along a validation-only vs. render-a-diagram axis, and both descriptions explicitly state that they take the same DDL input and that check_schema 'draws nothing.' The only residual overlap is that make_er_diagram also reports schema problems, so an agent wanting just validation could plausibly pick either, but the descriptions disambiguate that case well.

Naming Consistency4/5

Both names follow a verb_noun pattern (check_schema, make_er_diagram) in snake_case, which is predictable and readable. The minor deviation is that one carries a domain/acronym qualifier while the other is a bare generic noun phrase, so the pairing isn't perfectly symmetric.

Tool Count3/5

Two tools is thin for a server, though the domain (parse DDL, draw/validate an ER diagram) is genuinely narrow and each tool earns its place. Still, there is no supporting operation such as listing dialects, comparing two schemas, or fetching a previously generated diagram, which makes the surface feel minimal.

Completeness4/5

The surface covers the core lifecycle: parse DDL, generate a diagram with crow's foot cardinality, export to PDF/SVG/CSV/JSON, and separately validate for broken foreign keys and missing primary keys. Gaps are minor but real — there is no way to retrieve or regenerate an expired download link, edit/annotate an existing diagram, or diff two schemas.

Available Tools

2 tools
check_schemaCheck database schemaA
Read-onlyIdempotent
Inspect

Use this when the user wants SQL CREATE TABLE statements checked without a drawing, for example "check my schema for broken foreign keys" or "which tables have no primary key". Takes the same DDL text and dialect as make_er_diagram. Returns foreign keys that point to a missing table or column, foreign keys whose referenced columns are not a primary key or UNIQUE, type differences between a foreign key column and the column it references, tables without a primary key, duplicate table and column names (with the name rule used), and the statements it skipped with line numbers. Draws nothing and makes no files. Does not connect to a database or check data.

Inputs: ddl (required), dialect. Returns: notes, ready, shown, counts, +6 more

make_er_diagramMake ER diagramA
Read-onlyIdempotent
Inspect

Use this when the user wants an ER diagram, entity relationship diagram or database schema diagram drawn from SQL CREATE TABLE statements, for example "draw an ER diagram of this schema" or "make a PDF of my database tables". Takes the DDL text, a dialect (auto, postgres, mysql, sqlite), a page size and an optional title. Reads CREATE TABLE with columns, types, NOT NULL, PRIMARY KEY, UNIQUE and REFERENCES / FOREIGN KEY, including composite keys; lists every other statement as skipped with its line number. Returns counts, relationships with crow's foot cardinality taken from the DDL, schema problems, a geometry check (overlapping tables, lines crossing a table), the PDF page count and smallest text size, an interactive diagram, and PDF, SVG, CSV and JSON downloads. Refuses a CREATE TABLE that does not parse, naming the line. Up to 50 tables. Does not connect to a database or run SQL. Download links of large diagrams expire after about 1 hour.

Inputs: ddl (required), title, dialect, page_size. Returns: pdf, shown, title, counts, +10 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources