Skip to main content
Glama
BauplanLabs

Bauplan MCP Server

Official
by BauplanLabs

get_commits

Retrieve commit history from a Bauplan branch with optional filters like date range, author, and message substring. Returns a list of commits with total count.

Instructions

Retrieve commit history for a specified branch in the user's Bauplan data catalog as a list, with optional filters including date range (ISO format: YYYY-MM-DD) and limit (integer). Retrieve commit history from a Bauplan branch.

Args: ref: branch or commit hash to get commits 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. message_filter: Optional filter for commit messages (substring match) author_username: Optional filter by author's username author_email: Optional filter by author's email date_start: Optional start date for filtering (ISO format: YYYY-MM-DD) date_end: Optional end date for filtering (ISO format: YYYY-MM-DD) limit: Maximum number of commits to return (default: 10)

Returns: CommitsOut: Object containing list of commits and total count

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
message_filterNo
author_usernameNo
author_emailNo
date_startNo
date_endNo
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
commitsYes
total_countYes
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It mentions the return type but does not declare side effects (e.g., read-only nature), authentication needs, or error conditions. The description adds context beyond the schema but is insufficient for a safe read operation.

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?

The description is front-loaded with a concise summary and then a structured docstring for parameters and returns. However, there is slight redundancy (first sentence repeats the summary). Overall clear and well-organized.

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 the tool's complexity (7 parameters, no annotations, output schema exists), the description covers all inputs and return structure. It lacks handling of edge cases (e.g., branch not found) or pagination details, but is sufficient for typical agent use.

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 input schema has 0% description coverage, leaving parameters undefined. The description's docstring compensates fully with detailed explanations for all 7 parameters, including formats for ref (hash/branch), filters (substring match), and default for limit. This is critical for correct invocation.

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 commit history for a specified branch in the Bauplan data catalog. It specifies the resource (commits), action (retrieve), and scope (branch-specific). This distinguishes it from sibling tools like get_branches or get_tags.

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?

The description provides the tool's purpose but does not explicitly instruct when to use it versus alternatives. It implies use for commit history retrieval but lacks exclusionary guidance or comparisons with siblings like get_branches.

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