list_tables
Retrieve all database tables to monitor statistical variations in conversation structure and log unusual events using the MCP Variance Log server.
Instructions
List all tables in the database
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp_variance_log/server.py:251-255 (handler)Handler for the 'list_tables' tool: executes SQL query to retrieve all table names from SQLite metadata and returns results as text.if name == "list_tables": results = db._execute_query( "SELECT name FROM sqlite_master WHERE type='table'" ) return [types.TextContent(type="text", text=str(results))]
- src/mcp_variance_log/server.py:209-216 (registration)Registration of the 'list_tables' tool in the list_tools handler, including its description and empty input schema.types.Tool( name="list_tables", description="List all tables in the database", inputSchema={ "type": "object", "properties": {} } ),
- Input schema for 'list_tables' tool: empty object since no parameters required.inputSchema={ "type": "object", "properties": {} } ),