get_table_desc
Searches for table structures in the database based on table names, supports multi-table queries
How to use it
get_table_desc is exposed by the SmartDB MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_table_desc tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install SmartDB MCP
pip install SmartDB-MCPOther tools in SmartDB MCP (7)
SQL execution tool that can execute ["SELECT", "SHOW", "DESCRIBE", "EXPLAIN", "INSERT", "UPDATE", "DELETE", "CREATE", "ALTER", "DROP", "TRUNCATE"] commands based on permission configuration
Analyzes database health status (connection status, transaction status, running status, lock detection) and outputs professional diagnostic reports and solutions
Database version query tool
Searches for table indexes in the database based on table names, supports multi-table queries
Database table name query tool. Used to query all table names in the database or search for corresponding table names based on Chinese table names or table descriptions
SQL query generation tool that generates corresponding SQL query statements based on different database types
A professional SQL performance optimization tool that provides expert optimization suggestions based on execution plans, table structure information, table data volume, and table indexes.