Skip to main content
Glama

Create Note

create_note

Create a new markdown note at a given path with body content and optional YAML frontmatter. Prevents overwriting existing notes, auto-creates missing directories, and adds .md extension if omitted.

Instructions

Create a new markdown note at the given path with body content and optional YAML frontmatter. Fails (does not overwrite) if a note already exists at that path — use append_to_note, prepend_to_note, or update_frontmatter for existing notes. Missing directories are created automatically, and a .md extension is appended if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesRelative path from vault root, e.g., 'folder/note.md' or 'note' (.md added automatically)
contentYesMarkdown body content for the note (rendered below the frontmatter block if any)
frontmatterNoJSON object string of frontmatter key-value pairs (e.g., '{"status":"draft","tags":["idea"]}'). Rendered as YAML at the top of the note.
Behavior5/5

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

Annotations are minimal (readOnlyHint=false, etc.), so description carries the burden. It discloses key behaviors: fails if exists (safety), creates directories automatically, appends .md if omitted. No contradiction with annotations.

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?

Four sentences, each providing essential information without redundancy. The main action is front-loaded. No wasted words.

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?

Given the tool's simplicity (3 parameters, no output schema, clear annotations), the description covers all needed context: creation behavior, error handling, directory creation, extension handling. Completeness is achieved.

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 100% with descriptions, but description adds meaning beyond schema: path gets .md appended, frontmatter is JSON string rendered as YAML, content is markdown body. These enrich parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Create a new markdown note at the given path with body content and optional YAML frontmatter,' specifying a specific verb and resource. It distinguishes from siblings by noting failure if the note already exists and pointing to alternatives (append_to_note, etc.).

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

Usage Guidelines5/5

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

Explicitly tells when to use this tool (new notes) and when not to (existing notes), with named alternatives (append_to_note, prepend_to_note, update_frontmatter). Also explains automatic directory creation and .md extension.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rps321321/obsidian-mcp-pro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server