Skip to main content
Glama

list_notes

Lists files and folders in an Obsidian vault, optionally scoped to a subdirectory, so you can quickly see available notes.

Instructions

List files and folders. Pass a subdirectory path, or leave empty for the vault root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

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 must carry the behavioral burden. 'List' strongly implies a non-mutating read operation, and the description adds useful root/subdirectory behavior, but it does not explicitly state whether the listing is read-only, recursive, or sorted.

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 one sentence, front-loaded with the core action, and adds the parameter usage immediately. Every word earns its place with no filler or redundancy.

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 one-parameter list tool with an output schema available, the description covers the essential invocation detail (directory or root). It could add a note about whether the listing is restricted to immediate children, but nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description fully compensates by explaining the single parameter: 'Pass a subdirectory path, or leave empty for the vault root.' This adds meaning beyond the schema's bare 'directory' property and covers the default behavior.

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-resource pair ('List files and folders') and clarifies the scope by referencing the vault root and subdirectory paths. This distinguishes it from sibling tools like read_note, write_note, and delete_note, though it does not explicitly mention 'notes' in the first clause.

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

Usage Guidelines3/5

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

The description implies when to use the tool: whenever you need a directory listing, with a subdirectory path or the root. However, it does not explicitly contrast it with siblings like search_notes or read_note, so the guidance is present but only implicit.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/anis-meliti/palace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server