Skip to main content
Glama

Read template

read_template

Reads an Obsidian template and optionally expands variables like {{date}} and {{title}} for use in notes.

Instructions

Read a template. With resolve, Obsidian expands template variables like {{date}} and {{title}}.

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": {
      "name": "<name>"
    },
    "name": "read_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesTemplate name.
titleNoValue for {{title}} when resolving.
resolveNoExpand template variables.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/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. It does disclose the meaningful behavioral trait that Obsidian performs variable expansion when resolve is set, but it says nothing about read-only guarantees, missing-template behavior, or what the returned content looks like.

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, front-loaded with the core action and immediately followed by the one non-obvious modifier. The opening sentence largely restates the title, which is a small redundancy but not wasteful at this length.

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 simple three-parameter read tool with full schema coverage and no output schema, the description is close to adequate, but with no annotations it should say more about what is returned and what happens when the named template does not exist.

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 all three parameters are already documented, making 3 the baseline. The description adds a little meaning by naming concrete variables ({{date}}, {{title}}) and thereby linking the title parameter to the {{title}} placeholder, but it does not explain the default for resolve or the interaction between title and resolve.

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 ("Read a template") that clearly distinguishes it from write-oriented siblings like create_note or append_note. It does not, however, distinguish itself from the related list_templates sibling, leaving the agent to infer that this one returns a single template's contents.

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?

Usage is only implied: the mention of the resolve option signals that this tool can be used either to fetch raw template text or an expanded version. There is no explicit when-to-use or when-not-to-use guidance, and no routing advice relative to list_templates or read_note.

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