Skip to main content
Glama

get_job_log_tool

Fetch the CI/CD job log from GitLab by specifying project and job IDs.

Instructions

Get the log (trace) output of a CI/CD job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesJob ID
project_idYesProject ID or path

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits, but it only adds the parenthetical '(trace)' without mentioning side effects, access requirements, rate limits, or return behavior. Since it's a 'get' operation one might infer read-only, but the absence of annotations and minimal description leaves too much burden on the agent; it doesn't even clarify if the job log is available immediately after job completion.

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 sentence that communicates the essential function without any redundant words. It's perfectly scoped for a tool with only two parameters and no complex behavior; every word earns its place.

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?

Given the low complexity (two simple parameters, no nested objects, and an output schema present), the description is almost sufficient. However, the absence of any behavioral notes (e.g., whether the log is raw text or JSON) or usage context is slightly lacking, especially since no annotations fill that gap. It's adequate but not thorough.

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% (job_id and project_id both have basic descriptions), so the description isn't required to compensate. However, it also adds no extra meaning beyond the schema; there's no note about formats, defaults, or examples. This aligns with the baseline of 3 for high schema coverage.

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 'Get the log (trace) output of a CI/CD job' uses a specific verb ('Get') and clearly identifies the resource ('log (trace) output') and domain ('CI/CD job'). It distinguishes itself from sibling tools like retry_job or delete_job by focusing on logs, though it doesn't explicitly contrast with a tool like get_job if one existed. It's slightly less explicit than a 5 because it doesn't mention any exclusions or alternative tools.

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 tool versus alternatives, no prerequisites, and no mention of context like 'use this after a pipeline job completes.' The description merely states what it does without any usage context or exclusions, providing no help for an agent deciding between tools in this large CI/CD sibling set.

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

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