Skip to main content
Glama

Download Job Artifacts Local

gitlab_download_job_artifacts_local

Download a GitLab job's complete artifacts archive to a local directory, optionally specifying the project and destination path.

Instructions

Download the full job artifacts archive to a local directory.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "gitlab_download_job_artifacts_local"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
local_pathNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.0
    • removedInput schema / properties / local_path / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / local_path / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is mostly covered. The description adds that the operation writes the full archive to a local directory, but it does not disclose overwrite behavior, directory creation, required permissions, or what happens if the archive is large.

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

Conciseness4/5

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

The definition is a single front-loaded sentence with no filler wording. It is concise, though its brevity contributes to under-specification rather than serving as a complete behavioral summary.

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 a download tool with three undocumented parameters and no output schema, the description is too thin to be complete. It omits where exactly files are written, whether local_path defaults, how project_id is used, and whether existing files are overwritten.

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 three parameters, so the description must compensate for undocumented parameters. It only loosely maps the job archive to job_id and the local directory to local_path, while leaving project_id, local_path defaults, and required/optional distinctions unexplained.

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 states a specific verb and resource: download the full job artifacts archive to a local directory. It implicitly distinguishes itself from single-file artifact tools by saying 'full job artifacts archive', but it does not explicitly name or contrast any sibling tool.

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 explicit when-to-use guidance, no mention of alternatives such as downloading a single artifact file, and no prerequisites or exclusions. The agent must infer appropriate use from the tool name and the phrase 'local directory'.

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