Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

getWorkspace

Read-only

Retrieve details about a Bitbucket workspace (Cloud) or project (Data Center) by slug or key, using the default when omitted. Use it to confirm workspace or project identity before repo operations.

Instructions

Get details about a Bitbucket workspace (Cloud) or project (Data Center)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getWorkspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNoBitbucket workspace slug or project key (uses default if omitted)

Output Schema

NameRequiredDescriptionDefault
resultYesTool-specific result payload
statusYesWhether the tool call succeeded
messageYesHuman-readable status message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this is a safe read, so the description's main addition is the Cloud/Data Center semantic mapping (workspace slug vs. project key), which is genuinely useful context. It says nothing about authorization scope, behavior when the default workspace is used, or error conditions, which leaves gaps for a tool with no other behavioral disclosure.

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?

A single front-loaded sentence with zero filler. Everything present earns its place, and the platform distinction is packed into the same clause.

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

Completeness4/5

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

With an output schema present, the description needn't explain return values, and one optional parameter is fully covered by the schema. The remaining gap is the absence of any when-to-use or default-behavior note, which is minor for such a simple read tool.

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 single parameter is already fully documented, including the default-if-omitted behavior. The description reinforces the dual workspace/project meaning but adds no syntax or format detail beyond the schema; baseline 3 is appropriate.

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?

States a specific verb ('Get details about') and resource ('Bitbucket workspace (Cloud) or project (Data Center)'), and usefully disambiguates the resource name across deployment types. It does not name or distinguish against any sibling, but the siblings listed are all different resources (pull requests, repositories), so confusion risk is low.

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 call this versus alternatives, no prerequisites, and no mention that the workspace parameter is optional and falls back to a default. Usage must be inferred entirely from the name and the schema.

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