Skip to main content
Glama

Get namespaces

gitlab_get_namespaces
Read-onlyIdempotent

Fetch GitLab namespace details with search and filters for ownership or top-level status to support project and group management.

Instructions

Get information about namespaces.

Args: **kwargs: Additional parameters for the request (e.g., per_page).

Returns: Response: A wrapper containing the original response and a list of Namespace models.

Raises: ParameterError: If invalid parameters are provided.

Input Schema

NameRequiredDescriptionDefault
dataNo
searchNo
owned_onlyNo
namespace_idNo
api_parametersNo
top_level_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

C2.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description adds that the return is a wrapper containing the original response plus a list of Namespace models, and that invalid parameters raise ParameterError — modest but genuine context beyond the annotations, with no pagination or scoping behavior described.

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

Conciseness2/5

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

It is short, but it is boilerplate docstring scaffolding (Args/Returns/Raises) whose Args section says nothing about the actual parameters. Space is spent on structure rather than on the information the agent needs.

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?

For a 6-parameter, zero-coverage read tool with no output schema, the description should explain the filters and the list-vs-single distinction. It omits both, leaving the agent unable to call it precisely or to pick it over gitlab_get_namespace.

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% across 6 parameters, and the description only mentions **kwargs with per_page as an example. The meaningful filters — search, owned_only, top_level_only, namespace_id, data, api_parameters — are never explained, so the agent must guess their semantics from property names alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get information about namespaces" essentially restates the tool name and never says whether this lists many namespaces or fetches one, nor how it differs from the sibling gitlab_get_namespace. The plural hints at a list operation, but an agent gets no confirmation.

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 statement of when to call this versus gitlab_get_namespace, gitlab_get_groups, or gitlab_get_projects, and no prerequisites or exclusions. Use is only inferable from the name.

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