Skip to main content
Glama
rokrokss
by rokrokss

get_pipeline_job_output

Fetch a GitLab pipeline job's output log with optional offset and line limit, reducing context window usage by returning only the needed tail.

Instructions

Get the output/trace of a GitLab pipeline job with optional pagination to limit context window usage

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of lines to return from the end of the log (default: 1000)
job_idNoThe ID of the job
offsetNoNumber of lines to skip from the end of the log (default: 0)
project_idNoProject ID or URL-encoded path

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.35

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does reveal the pagination capability and its motivation (context-window management), and 'Get' implies a read operation, but it omits what the response looks like (raw log lines), the fact that offset/limit are counted from the END of the log, and whether this is a safe idempotent read. Decent but not rich behavioral context.

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?

A single sentence that front-loads the core action and resource, then appends the pagination nuance. Every word earns its place; there is no filler, boilerplate, or repetition of schema content.

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?

For a 4-parameter tool with no output schema and no annotations, the description is adequate but incomplete. It does not explain the notable fact that zero parameters are required even though job_id and project_id are logically necessary to locate a job's trace, nor does it describe the return format. The core concept and pagination are covered, but an agent could not fully infer correct invocation from the description alone.

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 the schema already documents all four parameters (limit, job_id, offset, project_id). Baseline 3 applies. The description adds only a mild value-add by tying limit/offset to the context-window purpose; it does not clarify the atypical semantics that offset counts from the end of the log.

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 pairing, 'Get the output/trace of a GitLab pipeline job,' which clearly identifies what this tool does. It is implicitly distinguishable from close siblings like get_pipeline_job (job metadata), get_job_artifact_file (artifact files), and list_pipeline_jobs (job listings), though it does not name them explicitly.

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 phrase 'with optional pagination to limit context window usage' gives clear contextual guidance: an agent should use this tool when it needs job trace output and can control how much log content it reads to protect the conversation context. It does not, however, state exclusions or name alternatives for cases where the agent needs job details rather than trace output.

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/rokrokss/gitlab-mcp'

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