Skip to main content
Glama

create_from_template

Create a new Obsidian note from a template, optionally using variables and frontmatter properties to populate its content and metadata.

Instructions

Create a new note from a template (title = note name), with optional variables and extra 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>",
      "template": "<template>"
    },
    "name": "create_from_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
templateYes
overwriteNo
variablesNo
frontmatterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent mutation, so the safety profile is partly covered. The description adds the naming behavior (title = note name) and notes that variables and frontmatter are optional, but it never explains the most consequential behavior: what overwrite=true does to an existing note, whether variables missing from the template error or are left blank, or what is returned on success.

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?

A single well-structured sentence with the core action front-loaded and a parenthetical clarifying title derivation. The phrase 'extra properties' is slightly vague where 'frontmatter' would be exact, but there is no filler.

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 six-parameter mutation tool with a nested-object parameter, no output schema, and very low schema coverage, the description does too little. Overwrite semantics, variable substitution syntax, and success/failure behavior are all left to guesswork, which matters because a wrong overwrite can destroy an existing note.

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

Parameters2/5

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

Schema description coverage is only 17% (just vault), so the description must compensate. It gives partial meaning for variables and 'extra properties' (frontmatter) and hints at the path/title relationship, but leaves path format, template reference format, and especially the overwrite flag entirely undefined in both the schema and the description.

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 ('Create a new note from a template') and adds a useful clarifier that the title is derived from the note name. An agent can distinguish it from create_note or create_template by the 'from a template' framing, though insert_template (applying a template to an existing note) is not explicitly contrasted.

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?

There is no explicit when-to-use guidance, no prerequisites, and no named alternative. The reader must infer that this is the right tool when a template should seed a brand-new note rather than modify an existing one, and must infer how it differs from insert_template or create_note.

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