Skip to main content
Glama
andrewwgordon

mcp-chinookdb-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_sql_queryA
Executes a read-only (SELECT) SQL query against the Chinook database.
Only SELECT statements are allowed for safety.
Args:
    sql_query: The SQL SELECT query to execute.
Returns:
    Query results as a formatted string, or an error message.

Prompts

Interactive templates invoked by user choice

NameDescription
list_all_tables Generate a prompt to list all tables in the database using the schema resource. Returns a list of MCP prompt messages for LLMs.
show_table_schema Generate a prompt to show the schema for a specific table. Args: table_name: The name of the table to show the schema for. Returns: A string prompt for the LLM.
count_table_rows Generate a prompt to count the number of rows in a specific table. Args: table_name: The name of the table to count rows from. Returns: A string prompt for the LLM.
query_top_artists Generate a prompt to find the top N artists by the number of tracks they have. Args: limit: The number of top artists to retrieve (default is 5). Returns: A string prompt for the LLM.

Resources

Contextual data attached and managed by the client

NameDescription
list_tables_schema Provides the schema for all tables in the Chinook database. Returns a formatted string with the schema of each table.

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/andrewwgordon/mcp-chinookdb-server'

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