Skip to main content
Glama

rename_property

Rename a property key across every note that has it while preserving values; preview affected notes with a dry run before applying changes.

Instructions

Rename a property key in every note that has it (values kept). dry_run (default true) lists the notes first.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "rename_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoLimit to this folder (vault-relative)
dry_runNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover safety flags, but the description adds genuinely new context: the change propagates to every note holding the key, values are preserved, and dry_run defaults to true so the first call is a preview. It still does not say what happens when the target key already exists on a note or whether nested/tag properties are included, and the 'default true' detail is absent from the schema.

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?

Two sentences, no filler, and the scope of the mutation is front-loaded ahead of the dry-run note. Every clause carries information an agent needs.

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 vault-wide mutation with no output schema and 5 parameters, the description covers the core behavior but leaves real gaps: conflict handling when 'to' already exists, whether the preview returns a list or a count, and scope interaction with vault/folder. Adequate to invoke, not complete.

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 only 40% (vault and folder are documented), so the description must compensate. It does so for dry_run, explaining its meaning and its true default, and the from/to roles are inferable from 'rename a property key' plus 'values kept'. folder's limiting behavior is left entirely to the schema, and the interaction between folder/vault scoping and 'every note' is not stated.

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?

States a specific verb (rename), a specific resource (a property key), and the scope of the operation ('in every note that has it'), plus what is preserved ('values kept'). That scope statement alone separates it from rename_file and rename_tag, which operate on different resources.

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

Usage Guidelines3/5

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

The description embeds a procedural hint — dry_run defaults to true and lists notes first — which implies the intended preview-then-apply workflow. But it never states when to use this over alternatives like set_property, batch_update_frontmatter or rename_tag, nor any prerequisites or exclusions, so usage is only implied.

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