Skip to main content
Glama
lawp09

bitbucket-mcp

by lawp09

Get Environment

get_environment
Read-onlyIdempotent

Retrieve details of a specific deployment environment using repository slug and environment UUID.

Instructions

Get a single deployment environment.

Requires the deployment OAuth scope.

Args: repo_slug: Repository slug environment_uuid: Environment UUID workspace: Workspace name (optional, defaults to configured workspace)

Returns: Environment details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_slugYes
workspaceNo
environment_uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already indicate readOnlyHint, idempotentHint, and non-destructive behavior. The description adds a required OAuth scope, which is a behavioral constraint. However, it does not disclose potential errors or side effects.

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 concise and well-structured: purpose first, then OAuth requirement, followed by parameter list in a clear docstring format. No unnecessary words.

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?

Given the simplicity of the tool and presence of annotations and output schema, the description covers basic needs. However, it omits guidance on differentiating from the sibling get_deployment, which is a notable gap for agent decision-making.

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?

With 0% schema description coverage, the description provides basic meanings for each parameter (e.g., 'repository slug', 'environment UUID', and 'workspace name (optional, defaults to configured workspace)'). This adds value but lacks format constraints or relational context.

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 retrieves a single deployment environment. While it distinguishes from list_environments, it does not differentiate from the sibling get_deployment, leaving ambiguity.

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 tool versus alternatives like list_environments or get_deployment. Only an OAuth scope requirement is mentioned, which is minimal usage direction.

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/lawp09/bitbucket-mcp'

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