Skip to main content
Glama

Gitlab Ingest Pipelines

gitlab_ingest_pipelines

Ingest GitLab CI pipeline runs and their jobs into the epistemic-graph, linking each run to its project, commit, and triggering merge request for unified CI/CD observability.

Instructions

Natively ingest GitLab CI pipeline runs (+ jobs) into epistemic-graph.

Lists recent pipelines for project_id via the GitLab API (optionally each pipeline's jobs) and pushes them as typed :PipelineRun/:CheckRun nodes (the SAME classes + ranFor/hasJob edges github-agent uses, so GitLab CI/CD and GitHub Actions unify) — ranFor the :Project, the :Commit, and any triggering :MergeRequest — into the knowledge graph via the fast engine client. This is the substrate the autonomous-SDLC loop needs to observe CI. Best-effort: returns {"ingested": None} when no engine is reachable. CONCEPT:AU-KG.ingest.enterprise-source-extractor.

Input Schema

NameRequiredDescriptionDefault
project_idYesGitLab project id or URL-encoded path to ingest recent pipeline runs for.
params_jsonNoJSON string of get_pipelines filters (e.g. status, ref, per_page).{}
include_jobsNoAlso fetch + ingest each pipeline's jobs as :Job/:CheckRun nodes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses that this is a mutation into the knowledge graph, which node classes and edges get created, and the failure mode ('returns {"ingested": None} when no engine is reachable'). It omits auth/permission requirements, rate limits, and duplicate/re-ingest behavior, so it stops short of 5.

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?

Front-loaded with the core action, then scope, then graph modeling and failure semantics — each sentence earns its place. The trailing 'CONCEPT:AU-KG.ingest.enterprise-source-extractor' tag is clutter that adds nothing for an agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-param tool with no annotations and no output schema, the description covers the mutation nature, the graph schema written, and the degraded return value. Missing prerequisites (scopes/permissions) and idempotency behavior keep it from being fully complete.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description adds graph-level meaning the schema does not — include_jobs produces ':Job/:CheckRun nodes' and params_json is described as mapping to GitLab get_pipelines filters. It does not enumerate the admissible filter keys, but it supplies real semantic context beyond the schema text.

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

Purpose5/5

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

First sentence states a specific verb+resource ('Natively ingest GitLab CI pipeline runs (+ jobs) into epistemic-graph'), and the body clarifies the write-to-graph scope that distinguishes it from read-only siblings like gitlab_get_pipelines or gitlab_get_pipeline_jobs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied ('this is the substrate the autonomous-SDLC loop needs to observe CI') but it never explicitly says when to choose this over gitlab_get_pipelines, nor does it name an alternative or an exclusion condition. An agent can infer intent, but routing between the many pipeline-related siblings is 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