Skip to main content
Glama

Get latest release asset

gitlab_get_latest_release_asset
Read-onlyIdempotent

Retrieves a release asset from a GitLab project. Specify project ID and direct asset path to download the asset file.

Instructions

Get the asset for the latest release in a project.

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

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

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

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
api_parametersNo
direct_asset_pathNo
include_html_descriptionNo

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 read-only, idempotent, non-destructive and open-world, so the safety profile is covered. The description does add real value by disclosing that project_id and direct_asset_path are effectively required and that missing/invalid parameters raise typed errors — information the schema does not convey since every field is optional. Beyond that it says nothing about the response shape or whether 'raw asset data' means binary content, download URL, or metadata.

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 and front-loaded with the purpose sentence, which is good. But the Args block degenerates into '**kwargs: Additional parameters' and the Returns block is a vague wrapper statement, so several lines are boilerplate that does not earn its place.

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 20-parameter tool with no output schema and no annotation-level detail about returns, the description explains two parameters and leaves the return semantics ('wrapper containing the original response and the raw asset data') undefined. An agent cannot confidently construct a call from this definition alone.

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 20 parameters at 0% schema coverage, the description must carry the load, but it names only project_id and direct_asset_path and dismisses the rest as '**kwargs'. That leaves 18 undocumented parameters (ref, tag_name, page, per_page, simple, include_html_description, etc.) with no meaning anywhere in the definition, which is a serious gap for a 20-param tool.

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 ('Get the asset for the latest release in a project'), which is clearly distinct from siblings like get_latest_release or get_release_by_tag. However, it does not distinguish itself from gitlab_download_release_asset, which is the nearest competing tool, so an agent cannot tell from the text alone whether this returns metadata or the binary.

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 statement of when to use this tool versus alternatives, nor any prerequisites beyond the raise conditions. The only routing information is implicit in the tool name.

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