Skip to main content
Glama
yuchi-chang

obsidian-mcp

by yuchi-chang

Set a frontmatter property

obsidian_set_property
Idempotent

Set a frontmatter property on a note, creating the frontmatter block if it does not exist.

Instructions

Sets a frontmatter property on a note. Creates the frontmatter block if missing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vaultNoVault name to target. Optional — defaults to the most recently focused vault.
fileNoNote name resolved as a wikilink (e.g. 'My Note'). Provide either `file` or `path`.
pathNoVault-root-relative path to the note (e.g. 'Folder/My Note.md'). Provide either `file` or `path`.
nameYesProperty name (key).
valueYesProperty value (string).
Behavior3/5

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

Annotations indicate idempotentHint=true, so description's note about creating frontmatter block if missing adds value. However, it doesn't clarify behavior when property already exists (overwrite?) or other side effects.

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?

Single sentence, very concise. Could be slightly more structured with a brief usage context, but no wasted words.

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

Completeness2/5

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

No output schema, and description fails to mention return value. With 5 parameters and no behavioral details on property updates, the description is insufficiently 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?

Input schema has 100% coverage with descriptions. Description adds no additional parameter-specific semantics beyond what schema provides, so baseline 3 is appropriate.

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 'Sets a frontmatter property on a note' with a specific verb and resource, and distinguishes from siblings like 'obsidian_remove_property'.

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?

No explicit guidance on when to use this tool vs alternatives (e.g., obsidian_append_note or obsidian_create_note). Does not mention when not to use it or any prerequisites.

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

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