Skip to main content
Glama

ai_query_mssql

Generate and execute safe read-only MSSQL SELECT queries from natural language instructions using Gemini AI. Validate queries and return results with configurable row limits and schema restrictions.

Instructions

Generate a safe read-only MSSQL SELECT from instruction via Gemini, validate, execute, and return rows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allowedSchemasNoOptional whitelist of schemas (e.g., ['dbo','sales'])
allowedTablesNoOptional whitelist of fully qualified tables (e.g., ['dbo.customer_dummy'])
instructionYesNatural language request to query MSSQL (Thai/English)
maxRowsNoMax rows to return

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tndfame/mcp_management'

If you have feedback or need assistance with the MCP directory API, please join our Discord server