Skip to main content
Glama

List notes

list_notes

List files in an Obsidian vault from the filesystem, with optional folder and extension filters to narrow results or return only the count.

Instructions

List files in the vault from the filesystem, optionally filtered by folder and extension.

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_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
extNoFile extension filter. Default "md".
totalNoReturn only the count.
folderNoRestrict to this folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a meaningful behavioral trait by saying files come 'from the filesystem', suggesting a live directory read rather than an index, which is genuinely useful. However, it says nothing about ordering, recursion into subfolders, pagination, or permissions, so a mutation-free read tool is left partially underspecified.

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?

One sentence, front-loaded with the action and resource, with no filler. It is efficient but also thin enough that a bit of the missing guidance could have been added at low cost.

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

Completeness3/5

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

With three optional parameters, no output schema, and no annotations, the description should say more about what a call returns (paths? names? counts?) and whether listing is recursive. The purpose is clear enough to invoke safely, but an agent cannot predict the response shape from the definition alone.

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 all three parameters (ext, total, folder) are already documented, including the "md" default. The description restates the folder and extension filters but adds no new meaning, and it omits the count-only mode entirely. Baseline 3 is appropriate when the schema does the work.

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 files in the vault') and adds a distinguishing mechanism ('from the filesystem'), which hints that this is a raw directory-style listing rather than a metadata or full-text search. It does not explicitly name a sibling like search_notes, so the boundary is inferred rather than stated. Minor tension: the name says 'notes' but the description says 'files', resolved only by the schema's default of "md".

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?

'Optionally filtered by folder and extension' implies the browse/enumerate use case, but there is no explicit statement of when to prefer this over search_notes, get_recents, or list_folders. No prerequisites, no when-not guidance. Adequate implication, no routing.

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