Skip to main content
Glama

get_job_trace

Fetch the plain-text CI job log for a GitLab project job. Retrieve detailed build and test output to diagnose pipeline issues.

Instructions

Get plain-text CI job log (trace) for a project job (GET /projects/:id/jobs/:job_id/trace).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes
projectYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description notes the output is plain-text, which is a useful behavioral trait. However, with no annotations, it doesn't disclose other behaviors such as auth requirements, error cases, or large-file handling.

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?

One clean sentence front-loading the action and resource, with the API endpoint as a compact reference. No wasted words.

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 simple GET tool with an output schema, the description covers the core purpose and format, but lacks guidance on when traces are available and parameter usage. Given the missing annotations and 0% schema coverage, a bit more detail would improve completeness.

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 schema provides no descriptions for project or job_id, and the description only refers to 'a project job' without explaining how to format `project` (e.g., numeric ID vs URL-encoded path) or where `job_id` originates. This leaves a significant semantic gap.

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 clearly states the tool retrieves a CI job log (trace) for a project job, using a specific verb and resource. The API endpoint further disambiguates it from sibling tools like get_pipeline or get_runner.

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 description implies usage when you need a job's log, but does not explicitly discuss alternatives or prerequisites. There are no sibling tools for trace retrieval, so the correct context is clear but not explicitly stated.

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

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