schemagate
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.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
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.
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.
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.
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 toolsanswerARead-onlyIdempotentInspect
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_objectARead-onlyIdempotentInspect
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
healthARead-onlyIdempotentInspect
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_objectsARead-onlyIdempotentInspect
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_catalogARead-onlyIdempotentInspect
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_queryARead-onlyIdempotentInspect
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_schemaARead-onlyIdempotentInspect
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
- AlicenseAqualityBmaintenanceRevenue intelligence for complex B2B growth. Your agent builds the assets technical founders sell with, and prepares them for real buyer conversations.34398 npm2MIT
- AlicenseCqualityCmaintenanceCompetitor Monitor AI - MCP server providing AI-powered tools and automation by MEOK AI Labs112 npmMIT
- AlicenseNot gradedqualityDmaintenanceSearches and analyzes competitor ads and content across Meta, Google, Instagram, TikTok, and YouTube with AI-powered creative analysis and cross-platform brand discovery.1MIT

industrylens-mcpofficial
AlicenseNot gradedqualityCmaintenanceBrowse IndustryLens's published competitive-intelligence reports and head-to-head competitor comparisons from any AI agent — real, source-backed data.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.