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
Name | Required | Description | Default |
---|---|---|---|
params | No | Named params for the template | |
query_id | Yes | Template 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"
}