Skip to main content
Glama
CoreBaseHQ

coremcp

query_database

Execute SQL queries to retrieve data from specified database sources, enabling AI agents to access and analyze structured information through the Model Context Protocol.

Instructions

Executes a SQL query on a specified database source. Use this to retrieve data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe SQL query to execute (e.g., 'SELECT * FROM users')
source_nameYesThe name of the database source defined in config (e.g., 'mydb')

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/CoreBaseHQ/coremcp'

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