Skip to main content
Glama
pdogra1299
by pdogra1299

list_directory_content

Lists files and directories at a specified path in a Bitbucket repository, helping you navigate the codebase structure.

Instructions

List files and directories at a repository path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoDefault: root
branchNoBranch (default: default branch)
workspaceYesProject key (e.g., PROJ)
repositoryYesRepository slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.0.1
    • changedInput schema / properties / branch / description
      Previous value: -"Branch name (optional, defaults to default branch)"New value: +"Branch (default: default branch)"
    • changedInput schema / properties / path / description
      Previous value: -"Directory path (optional, defaults to root, e.g., \"src/components\")"New value: +"Default: root"
    • changedInput schema / properties / repository / description
      Previous value: -"Repository slug (e.g., \"my-repo\")"New value: +"Repository slug"
    • changedInput schema / properties / workspace / description
      Previous value: -"Bitbucket workspace/project key (e.g., \"PROJ\")"New value: +"Project key (e.g., PROJ)"
  2. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden. 'List' implies a read, but it says nothing about whether the listing is recursive, how results are ordered or paginated, permission requirements, or output size limits.

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. Every word earns its place.

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?

Parameters are fully covered by the schema and the operation is a simple read, but with no annotations or output schema the description should disclose recursion behavior, result ordering, and the shape of the listing. It is minimally adequate rather than complete.

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 coverage is 100%, so all four parameters (path, branch, workspace, repository) are already documented in the schema, including defaults. The description adds no format or syntax detail beyond the schema, so the baseline of 3 applies.

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 (list) and resource (files and directories) scoped to a repository path. It is implicitly distinguishable from siblings like get_file_content or list_branches, though it never names them explicitly.

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 when-to-use guidance, no exclusions, and no pointer to alternatives such as get_file_content for reading a specific file. The agent must infer context entirely from the name.

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