Skip to main content
Glama

Project snippets

gitlab_snippets

Create, read, update, delete, and retrieve raw content for GitLab project snippets. Handles snippet metadata and file contents within projects.

Instructions

Manages project snippets, including raw content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
actionYes
contentNo
file_nameNo
project_idNoProject id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID.
snippet_idNo
visibilityNo
descriptionNo
Behavior2/5

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

Beyond the annotations (readOnlyHint: false, destructiveHint: false), the description adds no behavioral detail. It does not disclose that the tool can delete snippets, that raw content retrieval may have permission requirements, or what side effects to expect. Annotations hint at state changes, but the description fails to elaborate on the nature of those changes.

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 a single sentence with no wasted words, but it sacrifices necessary detail for brevity. It is not verbose, yet it also does not earn its place by conveying substantive information beyond what the name and schema already imply.

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?

With 8 parameters, 6 possible actions, no output schema, and no parameter descriptions (except project_id), the description is woefully incomplete. It does not explain what the tool returns, how to specify snippet access, or any caveats. Sibling tools like gitlab_list_issues or gitlab_create_issue provide richer descriptions for comparable complexity.

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 only 13% (project_id only), and the description does not compensate by explaining any parameters. The action enum is self-explanatory, but other parameters (title, content, file_name, snippet_id, visibility, description) are unaddressed. The phrase 'including raw content' hints at the raw action but does not clarify parameter usage, such as which parameters are needed for create vs update.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource ('project snippets') and mentions raw content, but the verb 'manages' is vague and does not specify the CRUD actions (list, get, create, update, delete, raw) that the action parameter supports. It distinguishes from siblings only by the snippet resource, which no other sibling tool covers, but fails to articulate the primary operations.

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 tool versus alternatives like gitlab_api_request or other project-resource tools. The description does not mention scenarios for snippet management or exclude cases where another tool would be more appropriate. No usage context or prerequisites are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amalychev/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server