Skip to main content
Glama
host-mcp-bitbucket

host-mcp-bitbucket

getCurrentUser

Read-only

Retrieve the authenticated Bitbucket user to verify API connectivity and validate credentials before accessing repositories, pull requests, or comments.

Instructions

Get the currently authenticated Bitbucket user. Useful for verifying connectivity and credentials.

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": "getCurrentUser"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds that the result reflects the authenticated identity, but says nothing about failure behavior (unauthenticated requests, invalid tokens) or what identifying fields are returned.

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?

Two short sentences, zero filler, with the purpose front-loaded before the use case. Nothing should be cut.

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?

For a zero-argument read tool with an output schema and readOnlyHint annotation, this is nearly complete — the return shape and safety profile are covered by structured fields. The only missing element is guidance on authentication failure, which is minor.

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

Parameters4/5

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

The tool takes zero parameters, which earns the baseline of 4; there is nothing for the description to disambiguate, and the empty schema is unambiguous.

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 and resource: 'Get the currently authenticated Bitbucket user.' This inherently separates it from sibling tools like getWorkspace or getRepository, which return other entities, though the description never explicitly contrasts them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides a concrete use case — 'verifying connectivity and credentials' — which tells an agent when to reach for it. It stops short of exclusions (e.g., don't use it to look up another user's profile) or naming alternatives, so it is clear context rather than full routing guidance.

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