Skip to main content
Glama

template

Retrieve note structure guidance from a vault schema for a given kind: headings, required sections, open questions, a fill-in skeleton, and optional style guidance; omit kind to list all kinds.

Instructions

CHEAP — the headings a note of a kind is written to, from the vault's schema: each section's key, heading in the vault's language and whether it is required, the section that holds open questions, and a skeleton to fill. Without kind, every kind that has a template. A template is guidance: write_file warns, never refuses, when an open note differs from it. With kind, also the vault's style for that kind, if it has one: style is markdown guidance for how such a note reads, never a check; style_source says whether it is the user's override or the default. A kind with a style needs no template, such as backlog. Answers JSON.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "template"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
vaultNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that the tool is cheap, returns JSON, provides guidance rather than a check, and that write_file warns but never refuses. It does not discuss permissions or rate limits, but for a likely read-only metadata tool the key behavioral traits are covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with a useful cost hint and covers the important concepts, but it is a dense run-on paragraph with repeated guidance/check phrasing. 'Answers JSON' is redundant because an output schema is already present.

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?

The description is adequate for a modest two-parameter tool with an output schema, and it covers purpose and key behavioral caveats. However, the missing explanation of the vault parameter leaves a meaningful gap for an agent invoking the tool.

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 0%, so the description must compensate for both parameters. It explains the kind parameter well, including the no-kind case and the style addition, but it never explains what the vault parameter does or what happens when it is omitted.

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 clearly states that this tool returns the headings/template structure for a note kind from the vault schema, including required sections, an open-questions section, and a skeleton. It distinguishes the resource and mentions how it relates to write_file, though the leading phrasing is dense and not a clean verb-resource statement.

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?

It explains the conditional behavior of kind (all templates without kind, specific template and style with kind) and that templates are guidance rather than enforcement. However, it does not explicitly say when an agent should call this tool versus alternatives like rules or context, nor does it describe prerequisites.

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