Skip to main content
Glama
BauplanLabs

Bauplan MCP Server

Official
by BauplanLabs

get_namespaces

Retrieve namespaces for a specified branch or commit from the Bauplan data catalog. Optionally filter by namespace name substring and limit the number of results.

Instructions

Retrieve namespaces for a branch from the user's Bauplan data catalog as a list. Use 'limit' (integer) to reduce response size. Get the namespaces of a branch using optional filters.

Args: ref: branch or commit hash to get namespaces from. 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 filter for namespace names (substring match) limit: Optional maximum number of namespaces to return (default: 10)

Returns: NamespacesOut: Object containing list of namespaces and total count

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
namespaceNo
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespacesYes
total_countYes
Behavior2/5

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

No annotations provided; description does not disclose behavioral traits beyond the obvious read operation. Does not elaborate on side effects, expected output structure, or performance implications, leaving gaps for the agent.

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

Conciseness4/5

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

Includes a concise summary followed by structured args. While efficient, the docstring style adds some redundancy (e.g., re-explaining ref format). Still, it is well-organized and front-loaded.

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?

Covers all parameters and return type (NamespacesOut) adequately. Given the presence of an output schema, the description is sufficiently complete for a list retrieval tool, though it could clarify the substring match behavior.

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?

Schema description coverage is 0%, but the description adds comprehensive parameter explanations (ref format, namespace substring match, limit default). This adds significant meaning beyond the bare schema types.

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?

Description clearly states 'Retrieve namespaces for a branch from the user's Bauplan data catalog as a list', using specific verb and resource. It effectively distinguishes from sibling tools like create_namespace and delete_namespace.

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

Usage Guidelines3/5

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

Provides basic parameter guidance (e.g., 'Use limit to reduce response size') but lacks explicit when-to-use vs alternatives. No mention of when not to use or comparison with sibling tools like has_namespace.

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