Skip to main content
Glama

Get namespace

gitlab_get_namespace
Read-onlyIdempotent

Fetch detailed information about a specific GitLab namespace by ID to inspect its attributes, type, and metadata.

Instructions

Get information about a specific namespace.

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

Returns: Response: A wrapper containing the original response and a Namespace model.

Raises: MissingParameterError: If the namespace_id is missing. 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.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds useful return-shape information (a wrapper containing a Namespace model) and error conditions, but it also says MissingParameterError is raised when namespace_id is missing even though the schema marks namespace_id as optional with a null default, creating a behavioral inconsistency.

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

Conciseness3/5

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

The opening sentence is front-loaded and clear, but the Args/Returns/Raises docstring boilerplate includes generic **kwargs language that does not map cleanly to the actual schema fields. Some of the text earns its place, but the generic parameter section adds little value.

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?

With six parameters, 0% schema description coverage, and no output schema, the description is not complete enough for correct invocation. It omits explanations for most parameters and does not clarify the apparent tension between optional namespace_id and the stated MissingParameterError.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description must compensate. It mentions only namespace_id (via a generic **kwargs example) and leaves search, owned_only, top_level_only, data, and api_parameters entirely unexplained, including several filters whose relevance to a single-namespace lookup is unclear.

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 states a specific verb and resource: "Get information about a specific namespace." It is clearly distinguishable from most siblings, though it does not explicitly contrast itself with the closely related gitlab_get_namespaces sibling.

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 guidance on when to use this tool versus gitlab_get_namespaces or other namespace-related tools. The phrase "specific namespace" hints at single-resource retrieval, but no conditions, prerequisites, or alternatives are stated.

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