Skip to main content
Glama

create_weekly_note

Create a weekly note from a configured template in your markdown vault. If the note already exists, returns a message without overwriting, preventing accidental data loss.

Instructions

Create a weekly note from the configured template.

Uses the vault's weekly template to create a structured note. If the note already exists, returns a message without overwriting.

Args: week: Week identifier in YYYY-WXX format, or a date expression like 'today', 'today + 1w'. Defaults to current week. extra_vars: Optional dictionary of additional template variables.

Returns: Result of the creation or message if note already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
weekNo
extra_varsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses that the tool creates from a template, produces a structured note, avoids overwriting existing notes, and returns a message if the note already exists. This gives clear behavioral expectations for a write operation, though it does not mention details like permissions or file location.

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

Conciseness5/5

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

The description is well-organized into a clear summary followed by Args and Returns sections. Every sentence adds value: the core action, template source, idempotency behavior, and parameter semantics are all covered without unnecessary verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with two optional parameters and an output schema, the description provides sufficient context to invoke it correctly: what it creates, how week is formatted, what extra_vars does, and what happens on conflict. The presence of an output schema further reduces the need to explain return values in detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description fully compensates by defining the week identifier format (YYYY-WXX), accepting date expressions like 'today + 1w', stating the default behavior, and describing extra_vars as a dictionary of template variables. This is exactly the context an agent needs beyond the bare schema.

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 identifies the verb and resource: 'Create a weekly note from the configured template.' It makes the tool's purpose specific and grounded in the vault's weekly note workflow. However, it does not explicitly distinguish itself from sibling tools like create_daily_note or create_monthly_report beyond the name itself.

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?

The description implies usage through details like using the vault's weekly template, defaulting to the current week, and safely returning a message if the note already exists. It does not explicitly state when to choose this tool over alternatives or when not to use it, leaving some inference to the agent.

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