Skip to main content
Glama
Obsidian CDP MCP Server

Obsidian CDP MCP Server

obsidian_update_frontmatter

Add, modify, or delete frontmatter properties in an Obsidian file. Set a property to null, an empty string, or an empty array to remove it.

Instructions

Update frontmatter properties of a file. Can add, modify, or delete properties.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "properties": "<properties>"
    },
    "name": "obsidian_update_frontmatter"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file relative to vault root
propertiesYesProperties to update. Set value to null, empty string, or empty array to delete a property.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies mutation but never states whether unmentioned properties are preserved or wiped, whether the file must already exist, or what the tool returns — all material for a write operation with zero annotation coverage.

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?

Two short sentences, front-loaded with the verb and resource. The second sentence is mildly redundant with 'Update' but does clarify that deletion is in scope, so it earns its place.

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?

For a mutation tool with a nested properties object and no annotations or output schema, the definition leaves the critical merge semantics unanswered: whether omitted properties survive, and whether a missing file is created. The schema covers parameter shape but not these behavioral facts.

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 both parameters — including the deletion-via-null/empty-value semantics — are already documented in the schema. The description adds no format, key-naming, or type detail beyond that, so the baseline of 3 applies.

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 ('Update frontmatter properties of a file') and clarifies the operation scope as add/modify/delete. It does not name the read counterpart obsidian_get_frontmatter or other write paths like obsidian_patch_file, so the agent gets no explicit sibling differentiation.

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?

The description gives no when-to-use or when-not-to-use guidance. Nothing tells the agent when to prefer this over obsidian_get_frontmatter (read) or obsidian_patch_file / obsidian_apply_template for other write paths, so the choice is left entirely to inference.

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