Skip to main content
Glama

Server Details

Access control for text-to-SQL agents. Before the model sees the schema, schemagate keeps only the tables and columns the caller may read, picks the few a question needs, and refuses hidden ones at query time. This public endpoint serves a sample schema (no real data). Self-hosted it works with Postgres, Oracle, MySQL, SQL Server and SQLite.

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.3/5.0

Scored across 7 tools

Disambiguation4/5

Most tools target distinct operations: list, describe, select, run, refresh, health. The main overlap is `answer`, which duplicates the `select_schema` + `run_query` flow; the description mitigates this by directing most clients to the two-step path, but confusion is still possible.

Naming Consistency4/5

Five of seven names follow a verb_noun pattern: describe_object, list_objects, refresh_catalog, run_query, select_schema. `answer` is a bare verb and `health` is a noun, so the pattern is mostly consistent with minor deviations.

Tool Count5/5

Seven tools is well within the typical 3-15 range and each covers a distinct part of the read-only schema/query lifecycle. No tool feels excessive or missing by count alone.

Completeness5/5

The surface covers discovery (`list_objects`), schema selection and DDL (`select_schema`, `describe_object`), query execution (`run_query`), end-to-end answering (`answer`), plus catalog refresh and health. For a read-only, permission-scoped database gateway, this is a complete lifecycle with no obvious dead ends.

Available Tools

7 tools
answerA
Read-onlyIdempotent
Inspect

Question in, rows out: selects the schema, writes the SQL with the server's own configured model, and runs it, all scoped to the caller. Only available when the server has a model configured; most clients should use select_schema then run_query with their own model instead.

Inputs: question (required), roles, top_k, max_rows, +1 more. Returns: result

describe_objectA
Read-onlyIdempotent
Inspect

Full DDL (all visible columns, keys, comments) for one table or view, if the caller may read it. Use it when select_schema's compact DDL is not enough. A restricted or missing object returns the same 'not available' error, so its existence is not revealed.

Inputs: name (required), roles, principal. Returns: result

healthA
Read-onlyIdempotent
Inspect

Server status: whether the catalog is loaded, how many objects it holds, the database dialect, and audit-log counts. Takes no arguments; safe to call any time.

Inputs: no named parameters. Returns: result

list_objectsA
Read-onlyIdempotent
Inspect

List every table and view this caller may read, with its kind and column count. Use it to see what exists before asking, or when select_schema did not return what you expected.

Inputs: roles, principal. Returns: result

refresh_catalogA
Read-onlyIdempotent
Inspect

Re-read the database structure (new tables, changed columns, changed grants) and swap the index in. If the database is unreachable the previous catalog stays in service and the failure is reported.

Inputs: no named parameters. Returns: result

run_queryA
Read-onlyIdempotent
Inspect

Execute one read-only SELECT and return the rows (capped by max_rows). Write the SQL against the DDL select_schema returned for the same caller. Refuses writes, multiple statements, and any table or column the caller may not read, with an error that says so ('not available to this caller'), which you can pass on to the user instead of reporting 'no results'.

Inputs: sql (required), roles, max_rows, principal. Returns: result

select_schemaA
Read-onlyIdempotent
Inspect

Start here for any question about the data. Returns the few tables and views the question needs, as compact DDL to write SQL against, scoped to the caller: objects and columns they may not read are absent, not ranked low. Also returns each object's name and why it was picked. Pass principal and roles whenever you know who is asking.

Inputs: question (required), roles, top_k, principal, +1 more. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources