Skip to main content
Glama

Download release asset

gitlab_download_release_asset
Read-onlyIdempotent

Download a specific release asset from a GitLab group release by providing the group ID, tag name, and direct asset path.

Instructions

Download a release asset from a group's release.

Args: **kwargs: Additional parameters for the request (e.g., group_id, tag_name, direct_asset_path).

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

Raises: MissingParameterError: If the group_id, tag_name, or direct_asset_path is missing. ParameterError: If invalid parameters are provided.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gitlab_download_release_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
dataNo
nameNo
pageNo
sortNo
simpleNo
group_idNo
order_byNo
per_pageNo
tag_nameNo
max_pagesNo
milestonesNo
project_idNo
descriptionNo
released_atNo
tag_messageNo
total_pagesNo
direct_asset_pathNo
include_html_descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv27.3.20
    • removedInput schema / properties / api_parameters
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
  2. 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, covering the safety profile. The description adds real context beyond that in the Returns line (a wrapper containing the original response plus raw asset data) and the Raises block (MissingParameterError for group_id/tag_name/direct_asset_path, ParameterError for bad input). However, the claim that group_id, tag_name and direct_asset_path are required conflicts with the schema, which lists zero required parameters and null defaults, leaving the agent unsure whether to supply them.

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 purpose sentence is correctly front-loaded and the Returns/Raises sections are useful, but the 'Args: **kwargs: Additional parameters for the request (e.g., ...)' line is docstring boilerplate that adds no actionable information. The structure is machine-transcribed rather than curated, though it is short enough not to be bloated.

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 19-parameter tool with zero schema descriptions and no output schema, the definition is well short of sufficient: it explains the return wrapper and two error classes but leaves the majority of inputs unexplained and never clarifies whether project_id is a valid alternative to group_id. The mismatch between 'no required parameters' in the schema and the required-sounding Raises block further undermines confidence in how to call it.

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?

With 19 parameters at 0% schema description coverage, the description carries the full burden and names only three of them (group_id, tag_name, direct_asset_path). The remaining sixteen — ref, data, name, page, per_page, sort, order_by, max_pages, milestones, description, released_at, tag_message, total_pages, simple, project_id, include_html_description — get no explanation anywhere, so the agent must guess which are release-metadata leftovers versus meaningful inputs to a download call.

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 names a specific verb and resource: 'Download a release asset from a group's release.' An agent can immediately tell this is the file-fetch counterpart to release-listing tools. It loses precision by saying 'a group's release' when the schema also accepts project_id, leaving the resource scope slightly ambiguous.

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 instead of close siblings such as gitlab_get_latest_release_asset, gitlab_get_release_by_tag, or gitlab_download_repository_package. The only usage-adjacent content is the Raises block, which tells the agent what fails but not when the tool is the right choice.

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