Skip to main content
Glama

MCP Server Starter

run_named_query

Execute parameterized SQL queries using allow-listed templates on an MCP server. Provide query ID and parameters for secure, predefined database operations.

Instructions

Execute a parameterized, allow-listed SQL template

Input Schema

NameRequiredDescriptionDefault
paramsNoNamed params for the template
query_idYesTemplate key in the allow-list

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "params": { "additionalProperties": {}, "default": {}, "description": "Named params for the template", "type": "object" }, "query_id": { "description": "Template key in the allow-list", "type": "string" } }, "required": [ "query_id" ], "type": "object" }

Other Tools from MCP Server Starter

Related Tools

    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/Muhammad-Idzhans/mcp-server'

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