Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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))]
  • 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": {} } ),

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/truaxki/mcp-variance-log'

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