Skip to main content
Glama
adrienthebo
by adrienthebo

batch_update_properties_tool

Update metadata, tags, and properties across multiple Obsidian notes simultaneously using search queries, folder paths, or file lists to manage vault organization efficiently.

Instructions

Batch update properties across multiple notes.

When to use:

  • Updating metadata across many notes (status, priority, etc.)

  • Bulk tag operations (add/remove tags from multiple notes)

  • Archiving projects (set archived=true, add year property)

  • Cleaning up properties (remove outdated fields)

  • Normalizing metadata across your vault

Search criteria options:

  • query: Use search syntax (tag:project, folder:Archive, property:status:active)

  • folder: Process all notes in a folder (with optional recursive flag)

  • files: Explicit list of file paths

Property operations:

  • Add/update any frontmatter property

  • Remove properties by name

  • Special handling for tags (add/remove with deduplication)

  • Remove inline #tags from note body (optional)

Examples:

  • Archive completed projects: query="tag:project status:completed", property_updates={"archived": true, "year": 2024}

  • Clean up draft tags: query="tag:draft", remove_tags=["draft"], remove_inline_tags=true

  • Update all notes in folder: folder="Projects/2023", property_updates={"year": 2023}

When NOT to use:

  • Single note updates (use update_note, add_tags, etc.)

  • Complex content changes (this only updates frontmatter)

Returns: { "total_notes": 10, # Total notes found matching criteria "updated": 8, # Successfully updated notes "failed": 2, # Failed updates "details": [...], # List of changes per note "errors": [...] # List of errors with paths and reasons }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
search_criteriaYesHow to find notes to update. Must include one of: 'query' (search string), 'folder' (folder path), or 'files' (list of paths). Use 'query' for complex searches, 'folder' for directory operations, 'files' for specific notes.
property_updatesNo
properties_to_removeNo
add_tagsNo
remove_tagsNo
remove_inline_tagsNoAlso remove tags from note body (inline #tags). Only applies when remove_tags is specified.
ctxNo

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/adrienthebo/obsidian-mcp'

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