Skip to main content
Glama

Get project jobs

gitlab_get_project_jobs
Read-onlyIdempotent

Retrieve CI/CD jobs for a specific GitLab project, optionally filtered by pipeline, scope, or job ID. Use it to inspect job statuses and details across project pipelines.

Instructions

Get jobs associated with a specific project.

Args: **kwargs: Additional parameters for the request (e.g., project_id).

Returns: Response: A wrapper containing the original response and a list of Job models.

Raises: MissingParameterError: If the project_id is missing. ParameterError: If invalid parameters are provided.

Input Schema

NameRequiredDescriptionDefault
pageNo
scopeNo
job_idNo
per_pageNo
max_pagesNo
project_idNo
pipeline_idNo
total_pagesNo
api_parametersNo
include_retriedNo
job_variable_attributesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value by disclosing the return wrapper containing Job models and the MissingParameterError/ParameterError conditions. It does not explain pagination behavior despite page, per_page, max_pages and total_pages parameters, which is a meaningful gap for a list endpoint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, but the Args/Returns/Raises docstring scaffolding is generic boilerplate. The Returns and Raises sections earn their place; the '**kwargs' arg section is both wrong and noise, and the core purpose statement is buried above it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter listing tool with no output schema and no required parameters, the description covers only the existence of project_id and the return wrapper. It leaves the filtering dimensions (pipeline_id, scope, include_retried), the pagination semantics, and the relationship to sibling job-listing tools unexplained.

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?

Schema description coverage is 0% across 11 parameters, so the description must compensate and it does not. It describes the input as '**kwargs: Additional parameters for the request (e.g., project_id)', which is misleading given a fixed schema with additionalProperties=false, and it says nothing about scope, pipeline_id, include_retried, or the pagination controls.

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?

States a specific verb and resource: 'Get jobs associated with a specific project.' That is clear enough for an agent to know it retrieves project-scoped CI jobs. However, it does nothing to distinguish itself from siblings such as gitlab_get_pipeline_jobs, gitlab_get_project_job (singular), or gitlab_get_runner_jobs, which all return jobs under different scopes.

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 when-to-use guidance, no exclusions, and no mention of the alternative job-listing tools. The only conditional content is a set of docstring-style raises clauses, which describe failure modes rather than selection criteria.

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

Deploy Server

Other Tools