Skip to main content
Glama
list-tables.tsโ€ข1.21 kB
import { z } from 'zod'; /** * Input schema for list-tables tool * Validates options for database table listing */ export const ListTablesInputSchema = z.object({ includeSystemTables: z .boolean() .optional() .default(false) .describe('Whether to include SQLite system tables (sqlite_*) in the output'), includeViews: z .boolean() .optional() .default(false) .describe('Whether to include database views in the output'), includeIndexes: z .boolean() .optional() .default(false) .describe('Whether to include database indexes in the output'), includeDetails: z .boolean() .optional() .default(false) .describe('Whether to include detailed information like row counts and CREATE statements'), pattern: z .string() .optional() .describe( 'SQL LIKE pattern to filter table names (e.g., "user%" for tables starting with "user")' ), format: z .enum(['table', 'json', 'list']) .optional() .default('list') .describe( 'Output format - table for detailed view, json for structured data, list for simple names' ) }); export type ListTablesInput = z.infer<typeof ListTablesInputSchema>;

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/Xexr/mcp-libsql'

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