Skip to main content
Glama
rokrokss
by rokrokss

get_environment

Retrieve details of a specific environment in a GitLab project by providing the project and environment IDs to inspect its status, configuration, and deployment information.

Instructions

Get details of a specific environment in a GitLab project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoProject ID or URL-encoded path
environment_idNoThe ID of the environment

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.35

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description must carry the safety and behavior burden. 'Get details' clearly signals a read-only retrieval operation, which is transparent about the main behavior. However, it does not mention potential errors, authentication needs, rate limits, or what the returned details contain.

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

Conciseness5/5

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

The description is one short, focused sentence with no redundant wording. It is concise and front-loaded with the core action and resource.

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

Completeness3/5

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

For a simple read tool with two fully documented parameters, the description is mostly adequate. However, there is no output schema and the description does not clarify what 'details' are returned or how this differs from list_environments. An agent could invoke it correctly but might not know whether it returns full environment data, status, or only a subset.

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

Parameters3/5

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

Schema description coverage is 100%, so the input schema already explains both project_id and environment_id. The description adds no additional parameter semantics beyond the phrase 'specific environment,' which weakly reinforces the need for environment_id. Baseline 3 applies because the schema does the heavy lifting.

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?

The description uses a specific verb-resource combination: 'Get details of a specific environment in a GitLab project.' It clearly distinguishes this from the sibling list_environments tool by emphasizing 'specific environment' versus listing environments. An agent can accurately identify what this tool does without guessing.

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?

The description gives no explicit guidance on when to use this tool versus alternatives like list_environments. It only implies usage by saying 'specific environment,' which suggests the caller should already have an environment ID. No prerequisites, exclusions, or alternative routing are provided.

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/rokrokss/gitlab-mcp'

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