Skip to main content
Glama
Oshaani-AI
by Oshaani-AI

jenkins_get_build

Retrieve details of a specific build or the latest build for a Jenkins job. Provide the job name and optionally the build number.

Instructions

Get details for a specific build or the last build of a job

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_nameYesJob name or nested path
build_numberNoBuild number; omit for lastBuild
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It does not mention authentication requirements, rate limits, error handling, or what happens if the build does not exist. The description is too minimal for a read operation without any additional context.

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?

The description is a single efficient sentence that is front-loaded with the action and resource. It contains no filler, though it could briefly mention the nature of the returned details for added clarity without sacrificing conciseness.

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

Completeness2/5

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

The tool lacks an output schema and has no annotations, so the description should explain what 'details' are returned (e.g., status, parameters, timestamps). It does not, leaving agents uncertain about the return value. The description is incomplete for its complexity.

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?

Schema coverage is 100%, so the descriptions in the schema already handle parameter semantics. The tool description adds no new information beyond stating that you can get the last build when build_number is omitted. Baseline of 3 is appropriate.

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 'details for a specific build or the last build of a job', which distinguishes it from siblings like jenkins_get_build_log (logs) and jenkins_get_job (job info). The scope is precise and actionable.

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?

The description provides no guidance on when to use this tool versus alternatives such as jenkins_get_build_log or jenkins_trigger_build. It only implies that you can omit build_number for the last build, but does not specify prerequisites or context for optimal use.

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/Oshaani-AI/Jenkins-MCP'

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