Skip to main content
Glama
ATERCATES

Bitbucket MCP Server

by ATERCATES

getPipelineStepLogs

Retrieve logs from a specific Bitbucket Pipeline step. Filter by line count, search terms, or error keywords to troubleshoot build issues.

Instructions

Get logs for a specific pipeline step

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceYesBitbucket workspace name
repo_slugYesRepository slug
pipeline_uuidYesPipeline UUID
step_uuidYesStep UUID
max_linesNoMaximum number of log lines to return (default 500)
tailNoWhen true, returns the most recent lines instead of the first lines
errors_onlyNoWhen true, only include lines that look like errors (case-insensitive match on error keywords)
search_termNoOptional case-insensitive search term to filter log lines
save_to_fileNoSave the full log to a temporary file and return the path for offline review
Behavior2/5

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

No annotations are provided, placing the full burden on the description. It does not disclose key behavioral traits such as that logs are fetched from a remote server, potential rate limits, or that the operation is read-only. The description is too brief to compensate for the lack of annotations.

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

Conciseness4/5

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

The description is a single sentence, extremely concise and front-loaded. While it could be slightly more informative given the tool complexity, it efficiently states the core purpose without unnecessary words.

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?

Given the tool has 9 parameters and no output schema, the description should provide more context about what is returned (e.g., log text format) and any behavioral implications of parameters like tail or max_lines. The current description is too minimal for the tool's complexity.

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 baseline is 3. The description does not add any additional meaning beyond the schema; it only repeats the tool's purpose. The parameters are well-documented in the schema, so no enhancement is needed.

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 clearly states the tool retrieves logs for a specific pipeline step, distinguishing it from siblings like getPipelineStep (which returns step details) and getPipelineSteps (which lists steps). The verb 'get' and resource 'logs for a specific pipeline step' are specific and unambiguous.

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 provides no guidance on when to use this tool versus alternatives such as getPipelineStep or getPipelineSteps. It does not mention prerequisites, optimal contexts, or when not to use it.

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

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