Skip to main content
Glama
lloydzhou

Bitable MCP Server

by lloydzhou

describe_table

Retrieve the structure and metadata of a Bitable table to understand its fields, data types, and configuration for data analysis or integration.

Instructions

describe_table by table name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Implementation Reference

  • Registration of the 'describe_table' tool using the @mcp.tool decorator.
    @mcp.tool( name="describe_table", description="describe_table by table name", )
  • Handler function that executes the tool logic: connects to the bitable database, retrieves column information for the specified table, and returns it as JSON.
    def describe_table(name: str) -> list[str]: with conn_pool.connect() as connection: cursor = connection.cursor() columns, _ = cursor.get_columns({ "select": { "all_columns": True }, "from": name, }) return json.dumps(columns)

Other Tools

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/lloydzhou/bitable-mcp'

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