Skip to main content
Glama
aleksakarac

Obsidian MCP Extended

by aleksakarac

update_frontmatter_field_fs_tool

Update or add frontmatter fields in Obsidian notes. Manages metadata like status, timestamps, or custom fields. Supports strings, numbers, booleans, and lists.

Instructions

Update or add a field in note's YAML frontmatter.

If the note has no frontmatter, it will be created. If the field already exists, its value will be updated. Otherwise, the field will be added. Supports strings, numbers, booleans, and lists.

When to use:

  • Updating note status or metadata

  • Adding creation/modification timestamps

  • Managing custom frontmatter fields

  • Programmatic metadata management

Performance:

  • Any note size: < 200ms

Returns: Success status and descriptive message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYesPath to note (relative to vault or absolute)
fieldYesField name to update/add in frontmatter
valueYesValue to set (string, number, boolean, or list)
vault_pathNoPath to vault root (optional, uses OBSIDIAN_VAULT_PATH env if not provided)
ctxNo
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses creation, update, add behavior, supported types, and performance (<200ms). Adds value beyond schema without contradictions.

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?

Well-structured with sections for purpose, when-to-use, performance, and returns. Concise and front-loaded with no unnecessary content.

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?

Covers behavior, types, performance, and return value. Lacks details on error handling or 'ctx' parameter, but overall adequate for a 5-parameter tool without output schema.

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?

Schema coverage is 80%, and description reinforces with examples for field and value, and mentions environment variable for vault_path. Context on 'ctx' missing but overall adds meaning beyond schema.

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?

Description clearly states the tool updates or adds a field in note's YAML frontmatter, with specific verb and resource, and distinguishes from siblings that modify notes in other ways.

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

Usage Guidelines4/5

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

Includes a 'When to use' section listing specific scenarios like updating note status or adding timestamps, providing clear guidance. Does not explicitly state when not to use or name alternatives, but context is sufficient.

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

Install Server

Other Tools

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

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