Skip to main content
Glama
husitao

Obsidian CLI MCP Server

by husitao

Run an allowlisted Obsidian CLI command

obsidian_cli

Run any Obsidian CLI command with custom parameters, flags, and vault override for advanced operations not covered by dedicated tools.

Instructions

Advanced escape hatch for official Obsidian CLI features not covered by a dedicated tool. Arguments are passed directly without a shell.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagsNoBare CLI flags such as verbose or the global --copy option
vaultNoVault name; overrides OBSIDIAN_DEFAULT_VAULT
commandYesObsidian CLI command name
parametersNoCLI key=value parameters
Behavior3/5

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

No annotations provided, so description carries full burden. Describes that arguments are passed without a shell (a safety warning), but does not disclose potential destructive actions, authorization needs, or side effects. Adequate but not comprehensive.

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 concise sentences, front-loaded with purpose, no wasted words. Every sentence adds value.

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?

No output schema, so description could mention return value (stdout). However, for a generic CLI runner, the description is fairly complete given the schema and annotations. Slight deduction for missing return clarification.

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 description coverage is 100%, so the schema already documents all 4 parameters with details. The description adds no new parameter semantics beyond the schema.

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 it's an 'advanced escape hatch' for Obsidian CLI commands not covered by dedicated tools, with specific mention of passing arguments directly without a shell. This distinguishes it from sibling tools like obsidian_read_note or obsidian_list.

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

Usage Guidelines4/5

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

Explicitly says to use when a feature is 'not covered by a dedicated tool', implying when-not-to-use. Provides context on argument passing (no shell). Sibling tools are listed but not directly compared, so a slight deduction.

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/husitao/MCP-ObsidianCli'

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