Skip to main content
Glama

create_base

Create Obsidian Bases (.base) files with views, filters, formulas and sorting to build tables, cards, lists or maps from vault notes. Define paths, properties and expressions.

Instructions

Create an Obsidian Bases file (.base). Filters use Bases expressions, e.g. 'file.hasTag("book")', 'file.inFolder("Projects")', 'status != "done"'.

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_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
viewsNo
filtersNoA filter expression string, or {and:[…]} / {or:[…]} / {not:[…]} of expressions
formulasNoname → formula, e.g. {"age": "(now() - file.ctime).days"}
overwriteNo
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the agent knows this is a local, non-destructive, non-idempotent write. The description adds useful context about the file format and the expression dialect used by filters. It does not disclose what happens if the path already exists, what `overwrite` defaults to, or whether missing parent directories are created — a meaningful gap for a create operation flagged non-idempotent.

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?

Two sentences, front-loaded with the action and artifact, followed by the only non-obvious syntax detail. No filler or restatement of the title. The example list is slightly dense but each example adds a distinct filter form.

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 7-parameter mutation tool with nested view objects, 43% schema coverage and no output schema, the definition covers the expression language but leaves collision/overwrite semantics and path/vault resolution unaddressed. It is minimally adequate to invoke correctly with obvious arguments, but not complete for edge cases.

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 only 43%, and the description compensates for the hardest parameter by giving concrete Bases filter examples such as file.hasTag("book") and file.inFolder("Projects"). However, path, vault, views, formulas, overwrite and properties get no explanation beyond the schema, including the critical `overwrite` flag. Partial compensation against a low-coverage 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 states a specific verb and resource: create an Obsidian Bases file (.base), which distinguishes it from siblings like create_note or create_canvas by artifact type. It also characterizes the content model (Bases filter expressions), so an agent knows what kind of file it produces. It stops short of naming sibling alternatives such as update_base or read_base.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance: nothing says whether to reach for this instead of update_base/create_base variants when a .base already exists, nor any prerequisite (vault must exist, parent folder must exist, what happens on path collision). The filter-expression note is parameter help, not usage routing. An agent must infer the situation entirely from the name.

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

Deploy Server

Other Tools