Skip to main content
Glama

download_build_artifacts

Read-onlyIdempotent

Download multiple build artifacts from a TeamCity build using paths, with options for base64, text, or stream output. Returns per-artifact payloads or stream metadata.

Instructions

Download multiple build artifacts, with base64, text, or streaming output. Returns per-artifact payloads or stream metadata; returns 404 if the build or any path is unknown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buildIdNoBuild ID (internal TeamCity ID)
buildNumberNoHuman-readable build number (requires buildTypeId)
buildTypeIdNoBuild configuration ID (required when using buildNumber)
artifactPathsYesArtifact paths or names to download
encodingNoResponse encoding: 'base64' (default), 'text', or 'stream'base64
maxSizeNoMaximum artifact size (bytes) allowed before aborting
outputDirNoOptional absolute directory to write streamed artifacts; defaults to temp files when streaming
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds valuable context: output formats, return structure (per-artifact payloads or stream metadata), and error condition (404 for unknown build/path). No contradictions.

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

Conciseness5/5

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

Two sentences, no fluff, front-loaded with the core action and key differentiators. Every phrase adds value.

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 complexity (7 params, 1 required) and no output schema, the description covers the return type and error condition well. It could mention pagination or size limits but the maxSize parameter handles that. Overall adequate for a download tool with good annotations and schema.

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

Parameters3/5

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

Input schema has 100% coverage with descriptions for all 7 parameters. The description adds minimal extra meaning beyond noting the encoding options in the context of output modes. Schema already conveys the parameter semantics sufficiently.

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 downloads multiple build artifacts and specifies output modes (base64, text, stream). It distinguishes from the sibling 'download_build_artifact' (singular) by explicitly mentioning 'multiple'.

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

Usage Guidelines4/5

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

The description provides clear context that this is for downloading multiple artifacts, but does not explicitly state when not to use it or point to the singular alternative. The sibling tool name provides implicit guidance.

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