Skip to main content
Glama

list_folders

List folders within a project. Useful for browsing the structure before searching. If the user is working inside a VSCode workspace and a <workspace>/.bilg/bilg.config.json exists, prefer that file's projectName over the API key's default project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parentPathNoList sub-folders under this path; omit for top level
projectNameNoDefaults to the API key's default project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral disclosure burden. It does reveal an important behavior: prefer the VSCode workspace config's projectName over the API key default. However, it does not describe return output, pagination, or any side effects, so coverage is adequate but not rich.

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 two sentences with no filler. The core action is front-loaded, the use case is stated immediately, and the config nuance is compactly placed at the end. Every sentence earns its place.

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 simple two-optional-parameter list tool, the description covers purpose, usage context, and the key projectName nuance. It does not explicitly say when not to use it or describe the return shape, but with no output schema and clear naming, the missing pieces are minor rather than critical.

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?

Schema coverage is 100%, so the baseline is 3. The description adds extra meaning for projectName by specifying the config-file precedence rule, which goes beyond the schema's 'Defaults to the API key's default project' and adds real selection guidance.

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 uses a specific verb and resource: 'List folders within a project.' It clearly identifies what the tool does and is distinct from sibling list tools by the folder resource, though it does not explicitly name or contrast any sibling.

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?

The phrase 'Useful for browsing the structure before searching' provides a clear usage context: use this tool to orient yourself in the project hierarchy before searching. It does not state explicit exclusions or name alternative tools, but the guidance is actionable.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources