Skip to content

Recommend job-free build metadata lookups#3136

Closed
mitchbne wants to merge 2 commits into
mainfrom
mitch/recommend-job-free-build-lookups
Closed

Recommend job-free build metadata lookups#3136
mitchbne wants to merge 2 commits into
mainfrom
mitch/recommend-job-free-build-lookups

Conversation

@mitchbne

Copy link
Copy Markdown
Member

Description

Build metadata requests currently demonstrate responses that include jobs, even when consumers only need build state, branch, commit, creator, or timestamps. This makes larger REST responses appear to be the default and misrepresents the job-free behavior of the MCP build tools.

Recommend exclude_jobs=true in the four primary REST list/get examples, document exclude_pipeline=true for callers that do not need expanded pipeline information, and preserve examples showing how to retrieve embedded jobs. Align the MCP tool inventory and LLM page descriptions with buildkite-mcp-server v1.8+, directing job-detail workflows to list_jobs and get_job.

Compatibility and deployment risk

Low. This changes documentation only and does not change API or MCP behavior. Existing REST consumers can continue requesting embedded jobs by omitting exclude_jobs=true.

Rollback

Revert this PR to restore the previous examples and descriptions. No migration or deployment coordination is required.

@mitchbne mitchbne requested a review from a team as a code owner July 14, 2026 04:21
@buildkite-systems

Copy link
Copy Markdown

@buildsworth-bk-app buildsworth-bk-app Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One non-blocking docs consistency note inline.

Want to dig deeper?

The full session log is attached to this Buildkite build. Download the session file and open a new pi session with it:

Download the buildsworth logs from build 4855, then answer my questions about the findings.

Comment thread pages/apis/mcp_server/tools.md
@mitchbne mitchbne requested review from mcncl and wolfeidau July 14, 2026 04:45
@karensawrey

Copy link
Copy Markdown
Contributor

Thanks for the PR, @mitchbne! Moving the work on it to the dedicated space.

@mitchbne mitchbne deleted the mitch/recommend-job-free-build-lookups branch July 15, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants