Skip to main content
Glama

GitLab MCP Server

by Alosies

get_job_trace

Retrieve GitLab CI/CD job execution logs with options to limit lines, view tail output, and access raw log data for debugging and monitoring purposes.

Instructions

Get job trace with options for partial logs, tail mode, and line limits

Input Schema

NameRequiredDescriptionDefault
job_idYesJob ID
lines_limitNoMaximum number of lines to return (default: 1000)
project_idYesProject ID or path
rawNoReturn raw log without formatting
tailNoGet the last N lines instead of first N lines

Input Schema (JSON Schema)

{ "properties": { "job_id": { "description": "Job ID", "type": "number" }, "lines_limit": { "default": 1000, "description": "Maximum number of lines to return (default: 1000)", "type": "number" }, "project_id": { "description": "Project ID or path", "type": "string" }, "raw": { "default": false, "description": "Return raw log without formatting", "type": "boolean" }, "tail": { "default": false, "description": "Get the last N lines instead of first N lines", "type": "boolean" } }, "required": [ "project_id", "job_id" ], "type": "object" }

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

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