Skip to main content
Glama

CockroachDB MCP Server

list_tables

Retrieve a list of all tables in a connected CockroachDB instance to analyze database structure and identify relevant data sources for queries.

Instructions

List all tables present in the connected Cockroach database instance. This is invaluable for AI to understand the database’s landscape and identify relevant data sources for a given query.

Args: db_schema (str): Schema name (default: "public").

Returns: The list of all tables present in the connected Cockroach database.

Input Schema

NameRequiredDescriptionDefault
db_schemaNopublic

Input Schema (JSON Schema)

{ "properties": { "db_schema": { "default": "public", "title": "Db Schema", "type": "string" } }, "title": "list_tablesArguments", "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