Skip to main content
Glama

get_build_artifact_url

Retrieve the direct Jenkins URL for a specific build artifact by providing the job fullname, artifact relative path, and optional build number.

Instructions

Get the direct URL of an artifact from a specific build in Jenkins

Args: fullname: The fullname of the job relative_path: The relative path of the artifact (e.g. playwright-report/index.html) number: The number of the build, if None, get the last build

Returns: The direct Jenkins URL of the artifact

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullnameYes
relative_pathYes
numberNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool returns a URL and that the optional number parameter defaults to the last build. This is transparent for a read operation, though it could mention that no modifications occur. The absence of side-effect warnings is acceptable given the read-only nature.

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?

The description is concise and well-structured with an Args and Returns section. Every sentence adds value, and the most critical information (verb, resource, parameter meanings) is front-loaded.

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

Completeness5/5

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

Given the tool's simplicity (3 parameters, read-only operation) and the presence of an output schema, the description covers all necessary aspects: purpose, parameter semantics, return value, and default behavior. It is complete for effective 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?

Schema coverage is 0%, so the description must explain parameters. It does so thoroughly: fullname (job fullname), relative_path (path with example), number (build number, nullable for last build). This adds significant meaning beyond the schema's type-only definitions.

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 verb 'Get' and the resource 'direct URL of an artifact from a specific build in Jenkins', distinguishing it from sibling tools like get_build_artifact (likely returning file content) and get_all_build_artifacts. It is specific and unambiguous.

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 explains the function of each parameter and the behavior when number is null (last build), providing clear context for use. While it does not explicitly compare to siblings, the purpose is straightforward enough that an agent can infer when to use it (when a URL is needed). A slight deduction for lack of explicit alternatives.

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/lanbaoshen/mcp-jenkins'

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