Skip to main content
Glama

set_plugin_enabled

Enable or disable a community or core plugin in the vault config, applied on next Obsidian reload. Use it to persist plugin state changes.

Instructions

Enable or disable a community or core plugin in the vault config (takes effect when Obsidian reloads; use app_plugin_enable/disable for live changes).

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": {
      "id": "<id>",
      "enabled": "<enabled>"
    },
    "name": "set_plugin_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
coreNo
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
enabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive mutation, so the description's main added value is the deferred-effect semantics: the config is written now but only takes effect on reload. That is real behavioral context not present in annotations. It does not say what happens to existing plugin settings or whether disabling is reversible, which are minor gaps.

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?

One sentence with a tight parenthetical; the primary action is front-loaded and the reload caveat follows immediately. No redundant restatement of the tool name or title.

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 config-mutating tool with no output schema and sparse parameter documentation, the description covers the deferred-effect behavior and alternative routing but omits error behavior for unknown/invalid plugin ids and the relationship to update_plugin_settings. Adequate to invoke, not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (only 'vault' is documented), so the description needs to compensate. It hints at the community/core distinction implicitly through 'community or core plugin', but never explains the 'core' boolean, the expected format of the required 'id', or the effect of 'enabled' versus omitting it, leaving required parameters underspecified.

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?

States a specific verb pair (enable/disable) and the exact resource (a community or core plugin in the vault config), and the parenthetical distinguishes it from the live-change siblings app_plugin_enable/disable. An agent can identify the target of the write without opening the schema.

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 tells the agent that changes only apply on Obsidian reload and names the alternative tools (app_plugin_enable/disable) for live changes, which is the key selection decision. It does not mention how this relates to update_plugin_settings or what to do if the plugin id is unknown, so it stops just short of full when/when-not coverage.

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