Skip to main content
Glama
BauplanLabs

Bauplan MCP Server

Official
by BauplanLabs

list_tables

List all data tables in a given branch or commit reference to verify available tables before writing queries.

Instructions

Retrieve a list of all data tables in a specified branch or reference of the user's Bauplan data catalog using a ref name.

Args: ref: a reference to a commit that is a state of the user data lake: can be either a hash that starts with "@" and has 64 additional characters or a branch name, that is a mnemonic reference to the last commit that follows the "username.name" format. namespace: Optional namespace to use.

IMPORTANT: Always use this tool BEFORE generating code with generate_code to ensure you're referencing tables that actually exist.

Returns: TablesOut: object with list of table names

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
namespaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tablesYes
refYes
namespaceNo
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so the description fully bears responsibility. It describes a read-only operation without side effects, and mentions the return type. Could add details about pagination or limits, but is transparent enough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Concise single-sentence purpose, followed by structured Args and Returns sections. The IMPORTANT note is a useful addition without verbosity. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given two parameters, no annotations, and presence of output schema, the description covers key aspects: parameter details, usage guidance, and return type. Lacks error handling or limits, but adequate for a straightforward list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description explains both parameters in detail, especially ref with its format rules, adding significant value beyond the basic schema types. Schema coverage was 0%, so the description compensates fully.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves a list of tables in a specified branch or reference, using a specific verb and resource. It distinguishes from siblings like get_schema and get_table by focusing on listing all tables.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Includes explicit instruction to use this tool before generate_code to ensure table existence. Lacks explicit when-not-to-use or alternative tools, but provides clear usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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/BauplanLabs/bauplan-mcp-server'

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