GitLab CI/CD · Capability

GitLab API — database_dictionary

GitLab API — database_dictionary. 2 operations. Lead operation: List dictionary tables. Self-contained Naftiko capability covering one Gitlab Ci business surface.

Run with Naftiko Gitlab Cidatabase_dictionary

What You Can Do

GET
Getapiv4admindatabasesdatabasenamedictionarytablestablename — Retrieve dictionary details
/v1/api/v4/admin/databases/{database-name}/dictionary/tables/{table-name}
GET
Getapiv4databasesdatabasenamedictionarytables — List dictionary tables
/v1/api/v4/databases/{database-name}/dictionary/tables

MCP Tools

retrieve-dictionary-details

Retrieve dictionary details

read-only idempotent
list-dictionary-tables

List dictionary tables

read-only idempotent

Capability Spec

gitlab-ci-database-dictionary.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitLab API — database_dictionary
  description: 'GitLab API — database_dictionary. 2 operations. Lead operation: List dictionary tables. Self-contained Naftiko
    capability covering one Gitlab Ci business surface.'
  tags:
  - Gitlab Ci
  - database_dictionary
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITLAB_CI_API_KEY: GITLAB_CI_API_KEY
capability:
  consumes:
  - type: http
    namespace: gitlab-ci-database-dictionary
    baseUri: https://gitlab.com
    description: GitLab API — database_dictionary business capability. Self-contained, no shared references.
    resources:
    - name: api-v4-admin-databases-database_name-dictionary-tables-table_name
      path: /api/v4/admin/databases/{database_name}/dictionary/tables/{table_name}
      operations:
      - name: getapiv4admindatabasesdatabasenamedictionarytablestablename
        method: GET
        description: Retrieve dictionary details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: database_name
          in: path
          type: string
          description: The database name
          required: true
        - name: table_name
          in: path
          type: string
          description: The table name
          required: true
    - name: api-v4-databases-database_name-dictionary-tables
      path: /api/v4/databases/{database_name}/dictionary/tables
      operations:
      - name: getapiv4databasesdatabasenamedictionarytables
        method: GET
        description: List dictionary tables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: database_name
          in: path
          type: string
          description: The database name
          required: true
        - name: table_size
          in: query
          type: string
          description: Filter by table size classification
  exposes:
  - type: rest
    namespace: gitlab-ci-database-dictionary-rest
    port: 8080
    description: REST adapter for GitLab API — database_dictionary. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v4/admin/databases/{database-name}/dictionary/tables/{table-name}
      name: api-v4-admin-databases-database-name-dictionary-tables-table-name
      description: REST surface for api-v4-admin-databases-database_name-dictionary-tables-table_name.
      operations:
      - method: GET
        name: getapiv4admindatabasesdatabasenamedictionarytablestablename
        description: Retrieve dictionary details
        call: gitlab-ci-database-dictionary.getapiv4admindatabasesdatabasenamedictionarytablestablename
        with:
          database_name: rest.database_name
          table_name: rest.table_name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v4/databases/{database-name}/dictionary/tables
      name: api-v4-databases-database-name-dictionary-tables
      description: REST surface for api-v4-databases-database_name-dictionary-tables.
      operations:
      - method: GET
        name: getapiv4databasesdatabasenamedictionarytables
        description: List dictionary tables
        call: gitlab-ci-database-dictionary.getapiv4databasesdatabasenamedictionarytables
        with:
          database_name: rest.database_name
          table_size: rest.table_size
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gitlab-ci-database-dictionary-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitLab API — database_dictionary. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: retrieve-dictionary-details
      description: Retrieve dictionary details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gitlab-ci-database-dictionary.getapiv4admindatabasesdatabasenamedictionarytablestablename
      with:
        database_name: tools.database_name
        table_name: tools.table_name
      outputParameters:
      - type: object
        mapping: $.
    - name: list-dictionary-tables
      description: List dictionary tables
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gitlab-ci-database-dictionary.getapiv4databasesdatabasenamedictionarytables
      with:
        database_name: tools.database_name
        table_size: tools.table_size
      outputParameters:
      - type: object
        mapping: $.