Skip to main content
Glama
Obsidian CDP MCP Server

Obsidian CDP MCP Server

obsidian_insert_at_cursor

Inserts text at the current cursor position in the active Obsidian editor, letting you add content exactly where you are typing.

Instructions

Insert text at the current cursor position in the active editor.

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

Input Schema

NameRequiredDescriptionDefault
textYesText to insert at cursor position

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.2

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It identifies the active editor as the target but does not state what happens if there is no active editor or cursor, whether the insertion is undoable, whether the file is saved, or what the operation returns.

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?

The definition is a single, front-loaded sentence with no wasted words. The target context is stated immediately and remains easy to scan.

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 one-parameter insertion tool with full schema coverage, the core purpose is adequately described. However, the absence of annotations and any explanation of editor-state requirements or failure behavior leaves meaningful behavioral gaps.

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% for the single parameter, and the schema already documents that text is the content to insert. The description adds no syntax, formatting, or constraint details beyond the schema, so the baseline 3 is appropriate.

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

Purpose4/5

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

The description states a specific verb and target: inserting text at the current cursor position in the active editor. It is clear enough to distinguish from reading or file-level edits, but it does not explicitly contrast with sibling operations like obsidian_replace_selection or obsidian_patch_file.

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?

The description implies usage by saying text is inserted at the cursor, but it gives no explicit when-to-use guidance, no exclusions, and no alternatives such as selection replacement or file patching. An agent must infer whether this is the right mutation tool from names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.