Skip to main content
Glama
Obsidian MCP Server
by Kynlos

switch_vault

Switch the active Obsidian vault by name to work with a different knowledge base or project.

Instructions

Switch to a different vault

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

Input Schema

NameRequiredDescriptionDefault
nameYesName of the vault to switch to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It does not say whether the switch is persistent or session-scoped, whether it affects other clients or in-flight operations, what happens if the named vault does not exist, or whether it is reversible — all critical for a state-changing operation.

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?

A single short sentence with no filler, which is structurally clean. Its brevity is not wasteful, but the same terseness is what leaves the behavior under-explained for a state-mutating tool.

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

Completeness2/5

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

For a state-changing tool with no annotations and no output schema, the definition should explain the effect of the switch and how failure is reported. Neither is present, so an agent cannot predict consequences of calling it.

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 a single documented parameter, so the baseline of 3 applies. The description adds nothing beyond the schema — no naming conventions, case sensitivity, or path/identifier format for the vault name.

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

Purpose3/5

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

States a verb and resource ("Switch to a different vault"), which is enough to separate it from create_vault, backup_vault, and the export_* family. However, "switch" is never defined: it is unclear whether this changes the active vault for subsequent tool calls, for the session, or pers'modifies persistent configuration.

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 guidance on when this tool should be used, no preconditions (e.g., the target vault must already exist, or use create_vault first), and no mention of alternatives or side effects on concurrent operations. The agent must infer everything from the name alone.

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