Skip to main content
Glama

Validate Project CI Lint

gitlab_validate_project_ci_lint
Read-onlyIdempotent

Validate an existing project's GitLab CI/CD configuration to catch syntax and pipeline errors before committing changes or running jobs.

Instructions

Validate an existing project CI/CD configuration.

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_validate_project_ci_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
project_idNo
content_refNo
dry_run_refNo
include_jobsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.7.0
    • removedInput schema / properties / dry_run / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / dry_run / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / include_jobs / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / include_jobs / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only that validation targets an existing project configuration and says nothing about dry-run behavior, what is checked, or what validation feedback the caller receives.

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 single sentence is clear and front-loaded with the main action. However, it is under-specified for a five-parameter validation tool rather than efficiently complete.

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 tool with five undocumented parameters and no output schema, the description is too thin to guide correct invocation. It does not clarify the relationship between project_id, content_ref, dry_run, and include_jobs, nor what a validation result contains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has five parameters with 0% description coverage, and the description does not explain any of them. Terms like content_ref, dry_run_ref, include_jobs, and project_id are left entirely for the agent to infer from names and regex patterns.

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 (validate) and resource (an existing project CI/CD configuration), so the agent can tell this is a validation tool. It does not explicitly differentiate itself from the sibling gitlab_validate_ci_lint, which likely validates arbitrary CI content.

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 choose this tool over gitlab_validate_ci_lint or other CI-related siblings. It also omits prerequisites or conditions such as whether project_id is required in practice.

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