Skip to main content
Glama
MIT License
5
  • Apple

mcp_execute_query

Execute SQL queries directly on a SQL Server database using this tool. Input a raw SQL query to retrieve, analyze, or manipulate data efficiently. Ideal for database operations within the MCPQL server environment.

Instructions

Execute a raw SQL query and return the results

Input Schema

NameRequiredDescriptionDefault
queryYesThe SQL query to execute. IMPORTANT: When referencing objects, use bracketed, schema-qualified names (e.g., SELECT * FROM [dbo].[Users]).

Input Schema (JSON Schema)

{ "properties": { "query": { "description": "The SQL query to execute. IMPORTANT: When referencing objects, use bracketed, schema-qualified names (e.g., SELECT * FROM [dbo].[Users]).", "type": "string" } }, "required": [ "query" ], "type": "object" }

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/hendrickcastro/MCPQL'

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