Skip to main content
Glama

Get CI/CD Catalog Resource

gitlab_get_ci_catalog_resource
Read-onlyIdempotent

Retrieve a GitLab CI/CD Catalog resource to inspect its versions and components with pagination controls for both lists.

Instructions

Get one GitLab CI/CD Catalog resource, including paginated versions and components.

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

Input Schema

NameRequiredDescriptionDefault
idNo
full_pathNo
version_afterNo
version_limitNo
component_nameNo
include_readmeNo
component_afterNo
component_limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv1.7.0
    • removedInput schema / properties / component_after / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / component_after / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / component_name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / component_name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / full_path / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / full_path / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / include_readme / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / include_readme / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / version_after / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / version_after / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

B3/5.0
Behavior3/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 fully covered. The description adds that versions and components are paginated, which is real behavioral context beyond the structured fields. It omits, however, whether include_readme triggers an extra fetch or how the two lookup keys interact.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the verb first and the returned subcollections second; there is no filler or redundancy. Nothing in it needs trimming, though the space saved is not reinvested in the missing parameter detail.

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 eight optional parameters at 0% schema coverage and no output schema, the description should explain key selection and the nested pagination model but does not. It is adequate to identify the tool's subject but insufficient to call it correctly without studying the raw schema.

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 eight parameters, so the description carries the full burden and largely fails. The words "paginated versions and components" loosely hint at version_after/version_limit and component_after/component_limit, but nothing explains the distinction between id and full_path, the meaning of component_name, or what include_readme does.

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?

States a specific verb and resource ("Get one GitLab CI/CD Catalog resource") and signals scope with "one", which implicitly contrasts with the list sibling. It also names what comes back (versions and components), so an agent knows this is a detail-fetch rather than a list. It stops short of naming the sibling or the lookup key, so it is clear but not fully differentiating.

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 when-to-use statement, no mention of gitlab_list_ci_catalog_resources as the alternative, and no note that a lookup key (id or full_path) is required despite zero required parameters. The agent must infer the retrieval context entirely from the verb.

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