Skip to main content
Glama

CockroachDB MCP Server

get_table_relationships

Retrieve foreign key relationships for a specific table or entire schema in CockroachDB. Simplify database analysis by identifying and listing table dependencies.

Instructions

Get foreign key relationships for a table or all tables.

Args: table_name (str, optional): Table name to filter relationships (default: None).

Returns: List all relationships for a specific table or in a schema.

Input Schema

NameRequiredDescriptionDefault
table_nameNo

Input Schema (JSON Schema)

{ "properties": { "table_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Table Name" } }, "title": "get_table_relationshipsArguments", "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-cockroach'

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