Skip to main content
Glama

set_property

Sets a property on an Obsidian note, converting the value to the correct property type; optionally appends values to an existing list instead of replacing it.

Instructions

Set one property, converting the value to an Obsidian property type (text, list, number, checkbox, date, datetime). Use append:true to add to a list.

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": {
      "file": "<file>",
      "name": "<name>",
      "value": "<value>"
    },
    "name": "set_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
nameYes
typeNo
valueYes
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
appendNoAdd value(s) to an existing list instead of replacing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered. The description adds that only one property is touched and that the value is coerced to the requested property type, which is useful. It does not say whether a missing property is created, whether an existing scalar is overwritten, or what happens when the declared type conflicts with the existing value.

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 with no filler, both front-loaded with the operative behavior. The type enumeration is slightly redundant against the schema enum but does not bloat the text.

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?

For a 6-parameter mutation tool with no output schema, the definition covers the core action and the append flag but leaves the overwrite/create semantics and the free-form value format unaddressed. It is workable but not self-sufficient for tricky type-conflict cases.

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 coverage is 50% and the description compensates partially: it explains the value coercion and the append flag's meaning. However, 'name' is undocumented in both places, 'value' is an unconstrained free-form field, and the description's type list omits three enum members present in the schema (tags, aliases, multitext).

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 ('Set one property') and names the domain (Obsidian property type), plus the type-conversion behavior. It does not distinguish itself from siblings like batch_update_frontmatter or rename_property, but the purpose itself is unambiguous.

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 only guidance is 'Use append:true to add to a list', which is parameter usage rather than tool selection. There is no statement of when to prefer this over batch_update_frontmatter (many properties), rename_property, or remove_property, so the agent must infer the boundary.

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

Deploy Server

Other Tools