Skip to main content
Glama

fetch_build_log

Retrieve paginated build logs from TeamCity to analyze CI/CD pipeline execution details and troubleshoot issues efficiently.

Instructions

Fetch build log with pagination (by lines)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buildIdNoBuild ID (TeamCity internal id)
buildNumberNoHuman build number (e.g., 54). If provided, optionally include buildTypeId to disambiguate.
buildTypeIdNoOptional build type ID to disambiguate buildNumber
lineCountNoMax lines to return (overrides pageSize)
pageNo1-based page number
pageSizeNoLines per page (default 500)
startLineNo0-based start line (overrides page)
tailNoTail mode: return last N lines

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