Skip to main content
Glama

Start a GitLab connection

start_gitlab_connection

Begin connecting GitLab (gitlab.com). Returns a URL — surface it to the user to open in a browser and authorise Globalize as their GitLab user; a GitLab Workflow’s webhook takes them being a Maintainer of the repository. After they confirm, call list_gitlab_connections for the connection id. Connecting the same GitLab user again reactivates an expired or revoked 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": "start_gitlab_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
nonceYes
expiresInYesSeconds until the URL stops being accepted
installUrlYesOpen this in a browser to authorise Globalize on gitlab.com as the GitLab user

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already indicate non-read-only, open-world, and non-destructive behavior. The description adds concrete context beyond them: it returns a URL requiring user authorization, requires the user to be a Maintainer for a GitLab Workflow webhook, and reactivates expired or revoked connections for the same GitLab user.

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?

The description is short and front-loads the action and return value, followed by authorization and follow-up details. The Maintainer sentence is slightly awkward, but every sentence carries useful information.

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 connection-start tool with an output schema, the description covers the trigger, returned URL handling, user authorization, Maintainer prerequisite, follow-up call, and reactivation edge case. Nothing essential for correct invocation is missing.

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?

The tool has zero input parameters and 100% schema description coverage, so there are no parameter semantics for the description to clarify. The description appropriately focuses on the interaction flow rather than inventing parameter details.

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: 'Begin connecting GitLab (gitlab.com).' It also distinguishes the connection-start operation from the follow-up read by naming 'list_gitlab_connections' as the next call, so an agent can identify the intended action without opening the schema.

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

Usage Guidelines4/5

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

Gives clear usage context: call this to start connecting a GitLab user, surface the returned URL, then after confirmation call list_gitlab_connections for the connection id. It also notes the Maintainer prerequisite and reactivation behavior, but does not explicitly state when not to use it, such as when an active connection already exists.

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.