Skip to main content
Glama

List folders

driftnet_list_folders
Read-onlyIdempotent

Get the folder tree and valid folder IDs before moving items, creating or modifying folders, or running folder-filtered searches. Returns a flat list with parent references to rebuild nesting.

Instructions

List the reader's folder tree, which is also the set of categories driftnet sorts new links into. Call it before driftnet_move_items, driftnet_create_folder, driftnet_update_folder, driftnet_delete_folder or a folder-filtered driftnet_search_items to get valid ids; ids stay the same when a folder is renamed. Skip it when you already listed the folders in this session and nothing changed. Takes no parameters and returns the whole tree as a flat list: follow parent to rebuild the nesting (null means top level). items counts only the cards directly inside, not those in sub-folders; uses shows where the reader files most often, a good tiebreaker when two folders fit.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
foldersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

A4.6/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: folder ids survive renames, the response is a flat list with null parents marking top level, and items counts only direct children. Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's remaining return-shape detail partially overlaps the output schema, keeping this just below a 5.

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?

Front-loads the what and the call-ordering prerequisite before the return-shape notes. It is dense but every clause carries instruction value, though the items/uses field explanations edge into territory the output schema already covers.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-param, read-only list tool with an output schema, the description supplies everything an agent needs: when to call it, when to skip it, how to reconstruct nesting from the flat list, and how to break ties between candidate folders. Nothing material is left to inference.

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?

Zero-parameter tool, and the description confirms 'Takes no parameters,' so there is nothing to disambiguate. Baseline for a 0-param tool is 4.

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?

States a specific verb and resource ('List the reader's folder tree') and immediately defines the resource's role in the domain ('the set of categories driftnet sorts new links into'). That framing lets an agent distinguish it from driftnet_search_items or driftnet_suggest_folders without opening any schema.

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

Usage Guidelines5/5

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

Names five concrete downstream tools that require ids from this call (move_items, create/update/delete_folder, folder-filtered search_items) and gives an explicit negative condition: 'Skip it when you already listed the folders in this session and nothing changed.' Both when-to-use and when-not-to-use are stated.

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