Skip to main content
Glama
Jenkins Server MCP

Jenkins Server MCP

list_builds

Retrieve recent builds for a Jenkins job by job path, with an optional limit on results. Use it to review build history, statuses, and numbers before triggering, stopping, or inspecting a build.

Instructions

List builds for a Jenkins job

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jobPath": "<jobPath>"
    },
    "name": "list_builds"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of builds to return (default: 10)
jobPathYesPath to the Jenkins job

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not disclose ordering (e.g., newest first), pagination behavior, whether running builds are included, authentication requirements, or any other behavioral trait beyond the basic action.

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 single sentence is front-loaded and free of unnecessary wording. It is appropriately concise, though its brevity contributes to gaps in guidance and behavior rather than being a structural flaw.

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?

For a low-complexity tool with two parameters and no output schema, the description is still too sparse. It leaves out return ordering, whether results are paginated, and basic result expectations that an agent would need without an output 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?

Schema description coverage is 100%, so both parameters are documented in the schema, including the default limit of 10. The description adds no parameter meaning beyond what the schema already provides, making baseline 3 appropriate.

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 uses a specific verb+resource ('List builds') and scopes it to a Jenkins job, making the core action clear. It does not explicitly differentiate itself from siblings like get_build_status or get_build_log, but the listing purpose is distinguishable.

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 gives no explicit when-to-use guidance, no when-not-to-use conditions, and does not mention alternatives such as get_build_status or get_build_log. Usage is only implied by the phrase 'List builds for a Jenkins job'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.