Skip to main content
Glama

Validate CI Lint

gitlab_validate_ci_lint
Read-onlyIdempotent

Validate GitLab CI/CD YAML content for a project to catch syntax and configuration errors before committing; optionally run a dry run and include jobs.

Instructions

Validate provided GitLab CI/CD YAML content for a project.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "gitlab_validate_ci_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
contentYes
dry_runNo
project_idNo
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.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered, but the description adds nothing beyond them. It says nothing about what validation output looks like, whether errors are returned or thrown, or how dry_run and include_jobs change behavior — information the agent can't get from annotations.

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?

It is a single efficient sentence with no waste, but that brevity comes from under-specification rather than tight writing. Nothing is front-loaded beyond the bare purpose, so its concision doesn't earn much.

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 5-parameter tool with no output schema and zero schema description coverage, one sentence is far too thin. An agent has no way to learn what dry_run or include_jobs do, or what the validation response contains, before invoking 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?

Schema description coverage is 0% across 5 parameters, so the description must carry the burden and does not: ref, dry_run, include_jobs and project_id are never explained. Only "content" is implicitly covered by the phrase "provided GitLab CI/CD YAML content," leaving four parameters undocumented in both places.

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?

"Validate provided GitLab CI/CD YAML content" is a specific verb+resource pair, and the word "provided" hints that the YAML is supplied inline rather than read from a project, which loosely distinguishes it from gitlab_validate_project_ci_lint. It stops short of naming or explicitly contrasting that sibling, so an agent must infer the boundary from the wording alone.

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?

The description gives no when-to-use guidance, no exclusions, and never mentions the closely related gitlab_validate_project_ci_lint alternative. The agent knows what is validated but not under which circumstances this tool is the right pick.

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