Skip to main content
Glama
Cyronius

claude-database-tools

by Cyronius

get_table_ddl

Generate CREATE TABLE DDL scripts for existing database tables, including columns, constraints, and optional indexes to document or replicate table structures.

Instructions

Generates CREATE TABLE DDL script for an existing table, including columns, constraints, and optionally indexes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableNameYesName of the table to generate DDL for (can include schema: schema.table)
includeIndexesNoInclude index definitions (default: true)
includeConstraintsNoInclude foreign key constraints (default: true)

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/Cyronius/claude-database-tools'

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