Skip to main content
Glama

Folders in a collection

list_folders
Read-only

Discover how files are organized in a Yungle collection by retrieving the complete folder tree, ordered by depth and path, with each folder's parent ID and full path.

Instructions

Answers: how is this collection organised? what folders exist? Returns the folder tree. Ordered by depth, then path (not a pre-order traversal). Each folder carries its parentId and its full path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true, and the description adds valuable behavioral detail beyond that: the ordering rule (by depth, then path, explicitly not pre-order) and the fact that each folder carries parentId and full path. This meaningfully supplements the structured annotation.

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 compact and front-loaded: it opens with the question it answers, states the output, and then gives ordering and field details. Every sentence contributes useful information without repetition or filler.

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 one-parameter, read-only tool with no output schema, the description covers the main things an agent needs: what the tool returns, how results are ordered, and what fields are present. The only real gap is not explicitly tying the required 'id' parameter to the collection ID, which is otherwise inferable.

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?

The schema has a single required 'id' parameter with 0% description coverage. The description implies 'id' refers to the collection by saying 'this collection', but it never explicitly states that the parameter is the collection ID or describes its expected format/scoping. It partially compensates for the schema gap but leaves the parameter semantics implicit.

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 resource (folders within a collection) and the specific output ('Returns the folder tree'). It answers a concrete question ('how is this collection organised?') and distinguishes itself from siblings that deal with collections, files, or transfers by focusing on the hierarchical folder structure.

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 description gives clear usage context: use it to see how a collection is organized and what folders exist. It does not explicitly name alternative tools or exclusions, but the question-oriented framing makes the intended use obvious.

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