Skip to main content
Glama

db_query

Execute read-only SQL SELECT queries on databases to retrieve data with safety limits, supporting SQLite, PostgreSQL, and MySQL connections.

Instructions

Execute read-only SELECT query. Limited to 100 rows by default for safety.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesDatabase type
queryYesSQL SELECT query
connectionNoConnection string
hostNoDatabase host
portNoPort number
databaseNoDatabase name
userNoUsername
passwordNoPassword
limitNoMax rows (default 100)

Other Tools

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/ShunsukeHayashi/miyabi-mcp-bundle'

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