Skip to main content
Glama

Download repository package

gitlab_download_repository_package
Read-onlyIdempotent

Download a specific package file from a GitLab project repository by providing the project ID, package name, version, and file name.

Instructions

Download a repository package for a specific project.

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

Returns: Response: A wrapper containing the original response and the raw package file data.

Raises: MissingParameterError: If the project_id, package_name, package_version, or file_name is missing. ParameterError: If invalid parameters are provided.

Input Schema

NameRequiredDescriptionDefault
refNo
pageNo
sortNo
selectNo
statusNo
group_idNo
per_pageNo
file_nameNo
max_pagesNo
package_idNo
project_idNo
package_nameNo
package_typeNo
api_parametersNo
package_versionNo
include_versionlessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful context that it returns a wrapper with raw package file data and documents missing/invalid parameter errors, but it omits authentication, permissions, and any file-size or binary-download behavior.

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 description is short and front-loads the action with a clear first sentence. The downstream Args/Returns/Raises blocks are mostly concise, though the '**kwargs' framing is slightly misleading given the explicit schema parameters.

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 16-parameter download tool with no output schema and 0% schema coverage, the description is too sparse. It mentions return data and some errors, but does not explain the majority of parameters or key download behavior, and it incorrectly implies required parameters that the schema marks optional.

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 16 parameters, and the description only names four example parameters (project_id, package_name, package_version, file_name). It does not explain the remaining parameters such as ref, status, package_type, package_id, page, per_page, or api_parameters, and it says those four are required even though the schema marks all parameters optional.

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 ('Download') and resource ('repository package') scoped to a project. It implicitly distinguishes from siblings like get_repository_packages (list) and download_release_asset (release asset), though it does not explicitly name alternatives.

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 the use case: downloading a package file for a given project, package name, version, and file name. However, it gives no explicit guidance on when to use this instead of related tools such as get_repository_packages or download_release_asset.

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