Skip to main content
Glama

Create canvas

create_canvas

Create a new empty canvas file in an Obsidian vault at a specified path. Use it to start a fresh canvas while avoiding overwriting an existing file, since the operation fails if the canvas already exists.

Instructions

Create a new empty canvas file. Fails if the canvas already exists.

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": {
      "path": "<path>"
    },
    "name": "create_canvas"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath for new canvas
vaultNoVault name. May be omitted when only one vault is configured; see list_vaults.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.0.1
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / path / minLength
      Added value: +1
    • changedInput schema / properties / vault / description
      Previous value: -"Vault name"New value: +"Vault name. May be omitted when only one vault is configured; see list_vaults."
    • changedInput schema / required
      Previous value: -[
      -  "vault",
      -  "path"
      -]New value: +[
      +  "path"
      +]
  2. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation profile is known. The description adds genuinely new behavioral information beyond that: the operation creates an empty file and fails rather than overwriting an existing canvas. It stops short of saying whether parent folders are created or what the call returns.

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?

Two short sentences, no redundancy, with the create action stated first and the failure condition immediately after. Nothing could be removed without losing information.

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

Completeness4/5

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

For a two-parameter creation tool whose schema and annotations are complete, the description covers what is created and the key collision behavior. It is slightly thin on what happens on success (return payload, since no output schema exists) and on path-directory handling.

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 coverage is 100%, with both path and vault documented in the input schema, including the list_vaults pointer for the optional vault. The description adds only implicit meaning (the path must be new) and no format or syntax detail, 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 a specific verb and resource ("Create a new empty canvas file"), which clearly separates it from note-creation siblings like create_note and create_from_template. It does not explicitly name an alternative, but the object being created is unambiguous.

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 second sentence implies when this tool applies (a brand-new canvas that must not already exist) and effectively rules out an overwrite/update use case. However, it gives no guidance on alternatives for creating a populated canvas (e.g., via add_canvas_node/edge) or for template-based creation.

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