query_db
Execute read-only SELECT queries on a configured database to inspect data within a row limit.
Instructions
Executes a caller-supplied SELECT statement against a configured database, bounded by row limit. Only SELECT is permitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | Yes | Database name as defined in infra-mcp.yaml | |
| sql | Yes | SELECT statement to execute; non-SELECT statements are rejected | |
| limit | No | Maximum rows to return; server-capped at 100 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |