Skip to main content
Glama

CockroachDB MCP Server

describe_table

Retrieve comprehensive schema details, including column definitions, data types, constraints, and indexes, for a specified table in CockroachDB. Enables precise query formulation and data manipulation for accurate database interactions.

Instructions

Provide detailed schema information, column definitions, data types, and other metadata for a specified table. This allows the AI to accurately interpret table structures and formulate precise queries or data manipulation commands.

Args: table_name (str): Name of the table. db_schema (str): Schema name (default: "public").

Returns: Table details including columns, constraints, indexes, and metadata.

Input Schema

NameRequiredDescriptionDefault
db_schemaNopublic
table_nameYes

Input Schema (JSON Schema)

{ "properties": { "db_schema": { "default": "public", "title": "Db Schema", "type": "string" }, "table_name": { "title": "Table Name", "type": "string" } }, "required": [ "table_name" ], "title": "describe_tableArguments", "type": "object" }

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/amineelkouhen/mcp-cockroachdb'

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