Skip to main content
Glama

List GitLab connections

list_gitlab_connections
Read-only

List your organisation’s GitLab connections: the gitlab.com users Globalize acts as. Pass a connection’s id as connectionId to list_gitlab_repositories, list_repository_branches and a GitLab preview_workflow_setup. One that isn’t active needs the same GitLab user to connect again (start_gitlab_connection); none yet, start_gitlab_connection.

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": "list_gitlab_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
connectionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-structured context: connections carry an `active` state, and inactive ones are unusable downstream until reconnected by the same GitLab user. It does not describe result ordering, pagination, or empty-result shape, but the output schema exists to cover return values.

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 identity and purpose, then downstream usage, then the failure branch. It is tightly written with no filler, but the final clause ('One that isn't `active` needs the same GitLab user to connect again (start_gitlab_connection); none yet, start_gitlab_connection.') is telegraphic and reads as compressed notes rather than clear prose.

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

Completeness5/5

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

For a zero-parameter read-only list tool with an output schema, the description supplies everything an agent needs: what is listed, what the items mean, what the returned id is for, and what to do when a connection is inactive or absent. No material gap remains for correct invocation or interpretation.

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?

Zero parameters, so the schema baseline is 4. The description does not need to explain inputs, though it usefully clarifies that the `connectionId` referenced belongs to other tools rather than this one, preventing the agent from expecting a parameter here.

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?

States a specific verb and resource ('List your organisation's GitLab connections') and then defines the resource itself as 'the gitlab.com users Globalize acts as', which resolves what a connection is rather than leaving the agent to guess. The scope (organisation-wide, GitLab-specific) distinguishes it from the sibling connection/listing tools such as list_github_installations and list_chatwoot_connections.

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

Usage Guidelines5/5

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

Explicitly routes the agent downstream: pass the returned id as `connectionId` to list_gitlab_repositories, list_repository_branches and a GitLab preview_workflow_setup, making this the natural first call. It also gives the two conditional branches: a non-`active` connection requires the same GitLab user to reconnect via start_gitlab_connection, and if there are none yet, call start_gitlab_connection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.