Skip to main content
Glama
Obsidian MCP Server
by Kynlos

apply_template

Create a new note from a template, filling variables to standardize recurring notes. Use template_name and filename to generate structured content in your Obsidian vault.

Instructions

Create a note from a template

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": {
      "template_name": "<template_name>",
      "filename": "<filename>"
    },
    "name": "apply_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesFilename for the new note
variablesNoVariables to replace in template (e.g., {title: 'My Note'})
template_nameYesName of the template to use

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

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, and it discloses almost nothing. It does not say where the new note is created, what happens if template_name does not resolve, whether unrecognized variables are left as placeholders or stripped, or what the call returns.

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?

The single short sentence is front-loaded and free of filler. Its brevity borders on under-specification rather than wasteful verbosity, but there is no structural problem.

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 three-parameter mutation with a nested variables object, no annotations and no output schema, the description should explain template resolution and variable substitution behavior. None of that is present, leaving the agent unable to predict edge-case outcomes.

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 each of the three parameters is already documented in the schema, including the nested variables object with an inline example. The description adds no extra meaning about template syntax, variable interpolation rules, or filename constraints, 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?

The description states a specific verb and resource combination: creating a note from a template. It is unambiguous about what is produced and what input drives it. It does not, however, distinguish itself from the sibling create_from_template_with_prompts, leaving the agent to guess at the boundary.

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 guidance on when to choose this tool, no mention of prerequisites such as the template needing to exist, and no exclusion or comparison against create_from_template_with_prompts or create_template. The agent must infer the usage context entirely.

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