execute_command
Run any Obsidian command using its ID to automate note management tasks.
Instructions
Execute an Obsidian command
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commandId | Yes | ID of the command to execute |
Run any Obsidian command using its ID to automate note management tasks.
Execute an Obsidian command
| Name | Required | Description | Default |
|---|---|---|---|
| commandId | Yes | ID of the command to execute |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full responsibility for disclosing behavioral traits. It only says "Execute an Obsidian command" and provides no context about potential side effects, permissions required, whether the command modifies the vault, or if the operation is reversible. This is a significant gap for a command execution tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no wasted words. It is front-loaded with the verb and resource. While it is brief, it is appropriately sized for a simple tool and does not suffer from verbosity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has one parameter, no output schema, and no annotations, so the description must provide sufficient context. It only states the action without explaining how to find command IDs, what kinds of commands are available, or any expected outcomes. This is incomplete for a tool that executes commands, especially given the presence of a sibling get_commands that could be referenced.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single parameter commandId, which already explains it is the ID of the command to execute. The description adds no additional meaning beyond that. Since the schema handles parameter documentation, a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb "execute" with the resource "Obsidian command," clearly indicating this tool runs a command. It distinguishes from siblings like get_commands (which lists commands) and file operations. However, it does not specify what type of commands are supported, leaving some ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool or when to prefer an alternative. It does not mention that get_commands can be used to discover available command IDs, nor does it state any prerequisites or side effects. There is no exclusionary language.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cupkappu/mcp-obsidian-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server