Skip to main content
Glama
Lincyaw
by Lincyaw

vault_edit

Apply incremental edits to notes: replace strings, update frontmatter, or change sections without rewriting full content.

Instructions

Apply an incremental edit to an existing note without rewriting the full content.

Args: path: Note path to edit. operation: One of "replace_string", "set_frontmatter", "replace_section", "append_section". params: Operation-specific parameters: - replace_string: {"old": "...", "new": "..."} - set_frontmatter: {"field": "value", ...} (merge update) - replace_section: {"heading": "## Section", "body": "new content"} - append_section: {"heading": "## Section", "content": "appended text"}

Returns warnings if the edit introduces structural issues.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
paramsYes
operationYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the operations and their behaviors (e.g., 'set_frontmatter (merge update)'), and notes that it 'Returns warnings if the edit introduces structural issues' — useful behavioral detail. However, it does not mention side effects, permissions, or failure modes beyond warnings.

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?

The description is well organized with a clear first sentence, an 'Args' section listing parameters, and a final note about return behavior. Every line adds necessary information; no fluff.

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

Completeness5/5

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

The tool involves multiple operations with nested parameter schemas, and the description covers all of them explicitly. With an output schema present (indicated by context), the description need not explain return values beyond the warning behavior. Complete for invoking the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema is minimal (just types/names). The description fully compensates by explaining each parameter (path, operation, params) and provides per-operation parameter structures with examples (e.g., replace_string: {old, new}).

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?

The description clearly states a specific verb ('Apply an incremental edit') and a specific resource ('an existing note'), and distinguishes itself from siblings like vault_write ('without rewriting the full content').

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 implies when to use this tool ('without rewriting the full content') but does not explicitly name alternatives or exclusions. It lacks direct comparison to siblings like vault_write or vault_write_batch.

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/Lincyaw/vault-mcp'

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