Skip to main content
Glama
mdtahmidhossain

jenkins-http-mcp-server

jenkins_get_build_log_chunk

Read-only

Read a progressive Jenkins build log chunk and return the next safe cursor to continue retrieving subsequent logs.

Instructions

Read one progressive log response and return Jenkins' next safe cursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobYes
buildYes
startNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.0.0
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / description
      Added value: +"Structured content returned by successful Jenkins tools."
    • addedOutput schema / properties
      Added value: +{
      +  "data": {
      +    "title": "Data"
      +  },
      +  "ok": {
      +    "const": true,
      +    "title": "Ok",
      +    "type": "boolean"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "ok",
      +  "data"
      +]
    • changedOutput schema / title
      Previous value: -"jenkins_get_build_log_chunkDictOutput"New value: +"ToolSuccess"
  2. Addedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so no contradiction exists. The description adds valuable behavioral context: this is not a full-log fetch but a single progressive response, and it returns a safe cursor for the next call. This goes beyond what the annotation alone conveys.

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 a single concise, front-loaded sentence with no filler. It communicates the core action and result efficiently.

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?

The description works as a minimal definition but lacks guidance on how to begin a progressive log read, how the returned cursor maps to the `start` parameter, and when to stop. The presence of an output schema reduces the need to describe return values, but the pagination workflow could be clearer.

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?

With 0% schema description coverage, the description must compensate for parameter meaning. It provides meaningful cursor semantics ('return Jenkins' next safe cursor') which hints at the `start` parameter, but it does not explicitly define `job`, `build`, or how the cursor connects to `start`.

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 states a specific verb and resource: read one progressive log response and return the next safe cursor. It clearly distinguishes this from the sibling tools `jenkins_get_build_log` and `jenkins_search_build_log` by emphasizing progressive chunked reads with cursor management.

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

Usage Guidelines3/5

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

The phrase 'one progressive log response' implies this tool is for incremental/paginated log reading, but the description does not explicitly say when to use this tool instead of `jenkins_get_build_log` or `jenkins_search_build_log`, nor does it mention any exclusions or alternatives.

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