Skip to main content
Glama
atarkowska

fastmcp-sqltools

by atarkowska

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLYesDatabase URL in one of the following formats: PostgreSQL: postgresql://user:password@host:port/database, MySQL: mysql://user:password@host:port/database, SQLite: sqlite:///path/to/database.db

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tablesB

List all tables in the specified schema.

get_table_schemaB

Get the schema (column definitions) for a specific table.

execute_queryB

Execute a SQL query and return results. WARNING: This can execute any SQL including DDL and DML statements.

execute_safe_queryA

Execute a read-only SQL query (SELECT only). This is safer than execute_query as it prevents data modification.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: execute_query for any SQL, execute_safe_query for read-only, get_table_schema for column definitions, and list_tables for table listing. No ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case, e.g., execute_query, list_tables. No deviations.

Tool Count5/5

Four tools is appropriate for a SQL tool server covering query execution, safe querying, schema retrieval, and table listing. Well-scoped.

Completeness3/5

Core operations are present, but missing a tool to list schemas (list_tables requires a schema parameter), which could cause agent failures. DDL is covered via execute_query.

Maintenance

ActivityInactive
ResponsivenessNo issues