Skip to main content
Glama

jenkins_list_failing_jobs

List Jenkins jobs currently in a failed state, optionally filtered by view, so on-call engineers can quickly identify failing pipelines and troubleshoot them.

Instructions

List all jobs currently in a failed state.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jenkins_list_failing_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoAll

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a live snapshot of state rather than historical failures, but says nothing about required Jenkins auth/permissions, pagination or result limits, or how 'failed' is determined (last build vs any build). For a tool with zero annotation coverage this leaves significant gaps.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity is appropriate in form, though the terseness contributes to the gaps noted in other dimensions.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the tool is conceptually simple. However, the undocumented 'view' parameter and the absence of any behavioral or usage context mean the definition is only just adequate for correct invocation.

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

Parameters2/5

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

The single optional parameter 'view' has 0% schema description coverage and is never mentioned in the description, so an agent has no idea what values are valid or what the default 'All' means in practice. The description adds no meaning beyond the bare property name.

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?

States a specific verb and resource with a clear scope qualifier: 'List all jobs currently in a failed state.' An agent can tell this apart from per-build siblings like jenkins_get_build_status or jenkins_get_build_log, though the description never names those alternatives explicitly.

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?

There is no guidance on when to use this versus checking a single build status or pulling a log. The 'currently' wording hints at a live-state check, but no conditions, prerequisites, or alternatives are stated.

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