Skip to main content
Glama

list_folders

Read-onlyIdempotent

Lists folders in an Obsidian vault with direct and total note/file counts, helping you inspect folder structure and compare content volume.

Instructions

List folders with how many notes/files each holds (direct and total).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoMax depth below the folder
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoLimit to this folder (vault-relative)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is fully covered elsewhere. The description adds one genuinely new behavioral fact – that each entry carries direct and total note/file counts – which matters because there is no output schema, but it says nothing about ordering, pagination, or whether counts include subfolders by default.

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?

A single front-loaded sentence with no filler, and the most decision-relevant detail (the counts) is placed immediately after the verb. It is slightly under-specified rather than over-worded, so it stops short of a 5.

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 read-only listing tool with three optional, fully documented parameters, the description conveys the one thing the schema cannot: what each returned row contains. Only the absence of ordering/pagination notes and any tie-in to the folder and depth parameters keeps it from being fully 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 description coverage is 100%, so depth, vault and folder are already documented in the schema, including the vault default resolution and the vault-relative path rule. The description adds no meaning beyond that, so the baseline 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 and resource ('List folders') plus the payload it returns ('how many notes/files each holds (direct and total)'). That is more than a restatement of the name, but it never distinguishes itself from adjacent list tools such as list_files, which an agent could plausibly pick instead.

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?

There is no when-to-use guidance, no exclusion of alternatives, and no mention of when the folder-scoped or depth-scoped variant is appropriate. The only hint of applicability is the word 'List' itself, which is barely implied usage rather than guidance.

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

Deploy Server

Other Tools