PricingSign inSaved

Not confirmed / Open research software

schemagate

Identity-scoped schema selection for text-to-SQL: give the model only the tables this caller may read, and 75% fewer prompt tokens

01 / PURPOSE

Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres, Oracle, MySQL, SQL Server. 75% fewer prompt tokens. - ashishsinha1602/schemagate

What it helps you explore

  • # schemagate — text-to-SQL access control at schema selection
  • Your text-to-SQL agent picks which tables to show the model before anyone checks what the caller is allowed to read. schemagate does the check first: it filters the schema by the caller's grants, so restricted tables are absent from the prompt rather than ranked low. Works with LangChain, LlamaIndex, MCP, or any SQL agent, on Postgres, Oracle, MySQL, SQL Server and SQLite.
  • If it keeps a table out of a prompt it should never have reached, a ⭐ helps other people building SQL agents find it.
  • With row-level security alone the failure is quiet: the model writes valid SQL against a table the caller cannot read, RLS strips every row, and the user is told "no records found" — indistinguishable from "this data does not exist."

Before you use it

  • This profile summarizes publisher-supplied catalog information. Verify compatibility, current terms and support on the official page before deployment.
  • Current commercial terms, plan limits, extensions and hosting costs need confirmation with the publisher.

02 / RESOURCE FACTS

Look beyond the preview.

Resource type
Not confirmed
Access conditions
Not confirmed
Pricing
Pricing not confirmed
Pricing scope
schemagate catalog listing
Pricing conditions
Current paid plans, extensions, support and hosting costs are not established by this catalog record. Check the publisher before purchase.
Subjects
Not confirmed
Maintainer
Not confirmed
Languages
Not confirmed
License
Not confirmed

03 / SOURCES

Keep the source in the picture.

A source check is not peer review, institutional endorsement or independent testing.

Share this resource

Copy the profile link. It is not an academic citation.

Claim this profile · Suggest a correction