Skip to main content
Glama

read_template

Read-onlyIdempotent

Shows a template raw or rendered, resolving title, date, time, and custom variables for preview.

Instructions

Show a template, raw or rendered ({{title}}, {{date}}, {{time}}, {{date:FMT}}, {{date+1d}}, custom variables).

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
dateNo
nameYes
titleNo
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
renderNo
variablesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuinely useful behavioral fact — the output can be the raw template text or a rendered version — but says nothing about missing-template behavior, error modes, or what rendering resolves.

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?

One front-loaded sentence with the verb and mode choice first, followed by the placeholder examples. The parenthetical is dense but every element illustrates a distinct syntax form; 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?

Six parameters with one required, only 17% schema coverage, a nested variables object, and no output schema — yet the description accounts for roughly half the surface. An agent still cannot tell what date or title do, or whether variables supplies values used at render time, which matters for calling the tool correctly.

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 only 17% (only vault is documented), so the description has to compensate. It does explain the placeholder vocabulary ({{title}}, {{date}}, {{time}}, {{date:FMT}}, {{date+1d}}, custom variables), which clarifies the variables map and the raw/rendered choice, but the date and title parameters are never mentioned and render is only implied.

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?

"Show a template, raw or rendered" states a specific verb (read/display) and resource (template), and the raw-vs-rendered qualifier makes the operation concrete. It is distinguishable from mutation siblings like create_template or insert_template, though it never names them explicitly.

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?

No when-to-use or when-not-to-use guidance is given, and no alternative such as read_note, create_from_template or insert_template is referenced. An agent must infer that this tool reads template definitions rather than applying them.

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