Skip to main content
Glama
obsidian-surface

obsidian-surface

by sespinosa

template

List, read, and insert predefined note content into the active Obsidian file to reuse vault structures and standardize notes.

Instructions

Manage templates in the vault.

Actions:

  • list: List available templates (no params)

  • insert: Insert a template into the active file (name required)

  • read: Read template content (name required)

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

Input Schema

NameRequiredDescriptionDefault
nameNoTemplate name (for insert, read)
actionYesAction to perform

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden. It discloses that insert targets the active file, but says nothing about whether insertion overwrites or appends, what happens if the named template is missing, whether the active file must exist, or what read returns. For a tool containing a mutation action, this leaves significant gaps.

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 action-per-line layout is front-loaded and easy to scan, and the opening sentence sets scope immediately. The parenthetical '(no params)' / '(name required)' notes are mildly redundant with the schema but cost little.

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 two-parameter tool with full schema coverage and no output schema, the description is close to sufficient, but the insert semantics (target location, overwrite behavior, error cases) are left unstated. It is adequate rather than complete.

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% and the schema already states that name is used 'for insert, read' and that action is an enum. The description's 'name required' and 'no params' notes restate the schema rather than adding format, matching, or validation semantics, 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 names the resource (templates in the vault) and enumerates three concrete actions (list, insert, read) with a one-line verb phrase for each, so an agent knows exactly what the tool can do. It does not distinguish itself from siblings such as note, vault, or compose, which is the only thing keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Each action carries its own invocation condition — list takes no params, insert and read require a name — and 'insert into the active file' gives the operative context for the write path. There is no explicit guidance on when to pick this tool over the sibling note/vault tools, so it stops short of a 5.

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