Skip to main content
Glama

Get project deploy token

gitlab_get_project_deploy_token
Read-onlyIdempotent

Retrieve a specific deploy token for a GitLab project by project ID and token ID to inspect its scopes, username, and expiration details.

Instructions

Get a specific deploy token for a project.

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

Returns: Response: A wrapper containing the original response and a DeployToken model.

Raises: ParameterError: If invalid parameters are provided. MissingParameterError: If required parameters are missing.

Input Schema

NameRequiredDescriptionDefault
nameNo
pageNo
tokenNo
scopesNo
group_idNo
per_pageNo
usernameNo
max_pagesNo
expires_atNo
project_idNo
api_parametersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

C2.9/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 behavior. The description adds a return wrapper/model and two generic parameter errors, but does not cover authentication needs, permission requirements, or not-found 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 purpose is front-loaded in the first sentence, and the docstring-style Returns/Raises sections are compact. However, the Args section uses vague **kwargs and introduces a misleading deploy_token_id example, reducing the value of the structure.

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 tool with 0% schema description coverage and no output schema, the description is too thin. It mentions a return wrapper and DeployToken model but does not explain how to identify the token, what most parameters mean, or what the DeployToken model contains.

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% for 11 parameters, so the description carries the full burden. It only names project_id and a deploy_token_id example, and deploy_token_id does not even appear in the schema, leaving most parameters such as token, name, scopes, and pagination undocumented or ambiguous.

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: retrieve a specific deploy token for a project. It is clear enough to distinguish this from create/delete deploy-token tools, but it does not explicitly contrast with the sibling list tool gitlab_get_project_deploy_tokens.

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 guidance on when to use this tool versus gitlab_get_project_deploy_tokens, gitlab_get_group_deploy_token, or gitlab_deploy_tokens_get. The word 'specific' implies retrieval of one token, but alternatives and prerequisites are left to inference.

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