Skip to main content
Glama

get_build_status

Read-onlyIdempotent

Retrieve build status with optional test summaries, problem details, and queue context to monitor CI/CD pipeline health.

Instructions

Get build status. Optionally includes test and problem summaries plus queue context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buildIdNoBuild ID
buildNumberNoHuman build number (requires buildTypeId when provided)
buildTypeIdNoBuild configuration identifier (required when using buildNumber)
includeTestsNoInclude test summary
includeProblemsNoInclude build problems
includeQueueTotalsNoInclude total queued count (extra API call when queued)
includeQueueReasonNoInclude waitReason for the queued item (extra API call when queued)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
buildIdYes
buildNumberNo
buildTypeIdNo
stateYes
statusNo
statusTextNo
percentageCompleteYes
currentStageTextNo
branchNameNo
webUrlNo
queuedDateNo
startDateNo
finishDateNo
elapsedSecondsNo
estimatedTotalSecondsNo
estimatedStartTimeNo
queuePositionNo
waitReasonNo
failureReasonNo
canceledByNo
canceledDateNo
totalQueuedNo
canMoveToTopNo
testSummaryNo
problemsNo
Behavior3/5

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

Annotations already provide readOnlyHint and idempotentHint, so the description adds minimal behavioral info. It mentions optional summaries and queue context, which is consistent with annotations.

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?

Single sentence, no fluff, but could be expanded slightly to improve clarity without adding verbosity.

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

Completeness3/5

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

With rich schema and output schema, the description suffices for the core function. However, it lacks usage differentiation from sibling tools, which is a gap in context.

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

Parameters4/5

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

Schema coverage is 100% with detailed parameter descriptions. The description adds value by grouping boolean flags into 'test and problem summaries plus queue context', providing a higher-level understanding.

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

Purpose4/5

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

The description clearly states 'Get build status' as the main action, and mentions optional summaries and queue context. However, it does not distinguish this tool from sibling 'get_build', which may cause confusion.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like 'get_build' or 'get_build_results'. The agent is left to guess based on name alone.

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/Daghis/teamcity-mcp'

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