db-gateway
v0.7.1KVKK/GDPR-compliant LLM-to-database gateway: PII masking, RBAC, rate limiting, audit log
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
query_table
Query rows from a database table with optional filters. All results pass through the KVKK/GDPR gateway — sensitive fields are automatically masked.
| Parameter | Type | Description |
|---|---|---|
table * | string | Table name to query |
filter | object | Key-value filter pairs, e.g. { status: 'active' } |
limit | integer | Max rows to fetch before gateway limit is applied (default 50) |
list_tables
List all available database tables. Tables marked as 'deny' in gateway policy are omitted.
describe_table
Get the column names and gateway masking policy for a table — helps the LLM understand what data it can access.
| Parameter | Type | Description |
|---|---|---|
table * | string | Table name |
query_audit_log
Query the gateway's own audit log — inspect which tools were called, on which tables, whether they were allowed or denied (and why), and which fields were redacted/written. Covers events since this server process started; count is capped by the gateway's audit.bufferSize (default 200).
| Parameter | Type | Description |
|---|---|---|
deniedOnly | boolean | Only return calls the gateway denied/blocked |
limit | integer | Max events to return, most recent first (default 50) |
operation | string | Filter by operation type |
since | string | ISO 8601 timestamp — only events at or after this time |
table | string | Filter by table name |
tool | string | Filter by MCP tool name, e.g. 'query_table', 'update_row' |
gateway_status
Show the active gateway configuration: field masking rules, table policies, and audit settings.