Skip to main content
Glama

List GitLab groups

list_groups
Read-onlyIdempotent

List GitLab groups accessible to the current user, with options to filter by membership, ownership, access level, and search.

Instructions

List groups visible to the connected user, including membership, ownership, access-level, and search filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
sortNo
ownedNo
searchNo
order_byNo
per_pageNo
all_availableNo
top_level_onlyNo
min_access_levelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesGitLab response normalized for model use.
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds that it lists groups 'visible to the connected user', which is useful, but fails to mention that it uses pagination (page/per_page) or the impact of min_access_level. No contradiction, but limited behavioral disclosure given no output schema context.

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 a single sentence, concise and front-loaded with the key verb 'List'. However, it could be slightly longer to cover parameter semantics without becoming verbose.

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

Completeness1/5

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

Given the high parameter count (9) with zero schema descriptions, and no output schema detail beyond its existence, the description is severely incomplete. It does not explain parameter interactions, default values, or pagination behavior, leaving agents to guess about filter semantics.

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

Parameters1/5

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

Schema description coverage is 0% and there are 9 parameters. The description only mentions generic filter categories, not individual parameter meanings. For instance, no explanation of what top_level_only or all_available do, or how search differs from filtering by name. With 0 parameters described in the schema, the description must compensate but does not.

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?

The description clearly states the tool lists groups visible to the connected user, with filters for membership, ownership, access-level, and search. It distinguishes from siblings like get_group (singular) and list_group_projects (different resource) though it could be more explicit about being read-only.

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?

No guidance on when to use this over list_group_members or search_gitlab. The description implies it's the general groups listing, but doesn't discuss filtering, pagination, or when to use ownership vs all_available.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CobolJunkie/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server