Skip to main content
Glama
obsidian-surface

obsidian-surface

by sespinosa

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OBSIDIAN_CLI_PATHNoOverride the Obsidian CLI binary path. Auto-detected by default.
OBSIDIAN_DEFAULT_PROJECTNoSet the default surfaces project. Defaults to the current directory name.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
surfaceA

Create and manage display surfaces — rich rendered artifacts (documents, diagrams, tables, comparisons) shown to the user in Obsidian. Surfaces persist as a timeline of what was communicated across sessions. Use create whenever rendering in Obsidian is better than terminal text. Use index at session start to discover prior surfaces.

Actions:

  • create: Create a surface with frontmatter and open it in Obsidian (name, content, summary required; type, tags, cwd_override optional)

  • list: List surfaces in a project with metadata (project optional, defaults to active)

  • index: Query the frontmatter index (project, type, tags, since, query — all optional filters)

  • recent: Get N most recent surfaces across all projects (limit optional, default 10)

  • enrich: Update a surface's frontmatter without changing content (path required; type, tags, summary optional)

  • reindex: Rebuild the index by scanning all surface files (no params)

  • clear: Delete all surfaces in a project and remove from index (project optional)

  • project_set: Set active project (name required)

  • project_list: List all projects (no params)

  • project_rename: Rename a project (from, to required)

noteA

Manage notes in the vault.

Actions:

  • create: Create a note (path required; content, open, newtab optional)

  • read: Read note content (path required)

  • write: Overwrite note content (path, content required)

  • append: Append to a note (path, content required)

  • prepend: Prepend to a note (path, content required)

  • delete: Delete a note (path required)

  • move: Move/rename a note (path, destination required)

  • search: Search notes (query required; format optional)

  • list: List files in a folder (folder optional, defaults to vault root)

layoutB

Control Obsidian window layout, tabs, and navigation.

Actions:

  • workspace: Show workspace layout tree with tab IDs (no params)

  • split: Split current pane (direction required: "vertical" or "horizontal")

  • close: Close tab(s) (target optional: "current", "others", or "all")

  • sidebar: Toggle a sidebar (side required: "left" or "right")

  • focus: Focus tab group by direction (direction required: "left", "right", "top", or "bottom")

  • open: Open a file (path required)

  • tabs: Open a new tab or list tabs (path optional; omit to list all tabs)

  • recents: List recently opened files (no params)

vaultB

Vault information and Obsidian commands.

Actions:

  • info: Show vault info — name, path, file count, size (no params)

  • folders: List folders (folder optional, defaults to vault root)

  • command: Execute an Obsidian command (id required; args optional)

  • commands: List available commands (filter optional)

searchB

Search the vault and explore note relationships.

Actions:

  • text: Search for text (query required; format optional: "json" or "text")

  • context: Search with surrounding line context (query required)

  • backlinks: List notes that link to a file (path required)

  • links: List outgoing links from a note (path required)

  • outline: Show heading tree of a note (path required)

  • orphans: List files with no incoming links (no params)

  • deadends: List files with no outgoing links (no params)

propertyB

Manage frontmatter properties on notes.

Actions:

  • get: Read a property (path, key required)

  • set: Set a property (path, key, value required)

  • remove: Remove a property (path, key required)

  • list: List all properties (path required)

dailyA

Open, read, or append to the daily note.

Actions:

  • open: Open the daily note (no params)

  • read: Read the daily note content (no params)

  • append: Append content to the daily note (content required)

tagB

Manage tags in the vault.

Actions:

  • info: Get usage info for a tag (tag required, with or without #)

  • list: List all tags in the vault (no params)

taskA

Manage tasks in the vault.

Actions:

  • list: List tasks (path optional for specific file; status optional to filter)

  • update: Update a task's status (path, line, status required)

templateB

Manage templates in the vault.

Actions:

  • list: List available templates (no params)

  • insert: Insert a template into the active file (name required)

  • read: Read template content (name required)

devC

Developer tools for Obsidian.

Actions:

  • eval: Execute JavaScript in the Obsidian app context (code required)

  • screenshot: Take a screenshot of the Obsidian window (path optional)

composeA

Execute multiple operations sequentially as a single atomic action. Eliminates intermediate focus shifts and reduces round-trips.

Each step specifies a tool, action, and optional params. Execution stops on first error. Returns results for all executed steps.

Example: steps: [ { tool: "surface", action: "create", params: { name: "demo", content: "Hello", summary: "Demo" } }, { tool: "layout", action: "open", params: { path: "my/note.md" } }, { tool: "layout", action: "split", params: { direction: "vertical" } } ]

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 12 tools

Disambiguation4/5

Tools are grouped by resource/domain and action subcommands make most intent clear. The main ambiguity is between note.search and search.text/context, plus convenience overlaps like daily.open/read/append versus note operations and surface.create opening notes in Obsidian.

Naming Consistency4/5

All top-level tools are lowercase single-word domain groups with action subcommands, giving a consistent dispatch pattern. Minor inconsistency: top-level names mix resource nouns (note, tag, property) with verbs/actions (search, compose), and some action names are nouns (info, workspace, tabs).

Tool Count5/5

Twelve top-level tools is well-scoped for managing an Obsidian vault: notes, search, layout, vault, templates, tasks, tags, properties, daily notes, surfaces, dev, and compose. Each tool corresponds to a coherent area rather than an excessive or trivial surface.

Completeness4/5

Core note CRUD, move/search/list, properties, layout, vault commands, relationship search, and surfaces are well covered. Gaps exist in tag, task, and template management—mostly list/read/update/insert without create/delete lifecycle—but these can often be worked around through note content or Obsidian commands.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues