Skip to main content
Glama
thoreinstein

obsidian-mcp

by thoreinstein

obsidian_insert_at_heading

Insert text under a specified heading in a markdown note; if the heading is missing, it creates a new section with that heading.

Instructions

Insert content under a specific heading. If heading not found, appends it as a new ## section.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesText to insert
headingYesHeading text to find (e.g. "Notes")
positionNoInsert at beginning or end of section (default: end)
file_pathYesRelative path to the note
vault_pathNoOptional vault path override

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses a fallback behavior (creates a new '## section' if the heading is missing), which is real behavioral context. However it says nothing about permissions, whether existing content is preserved, or side effects.

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 tight sentences, front-loaded with the primary action followed immediately by the fallback rule. No wasted words.

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?

For a 5-param tool with full schema coverage and no output schema, the description covers the key behavioral nuance an agent needs (the heading-not-found fallback). It is nearly complete, missing only permission or overwrite semantics.

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 all five parameters are already documented in the schema, including the position enum default. The description adds no additional parameter meaning beyond what the schema provides, so baseline 3 applies.

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?

States a specific verb (insert) and resource (content under a specific heading), which is distinct from siblings like obsidian_append_note or obsidian_replace_section. It doesn't explicitly name those siblings, but the purpose is unambiguous.

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

Usage Guidelines3/5

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

The use case is implied by the heading-based insertion, but there is no explicit when-to-use versus obsidian_append_note, obsidian_replace_section, or obsidian_replace_in_note, and no stated prerequisites. Usage must be inferred.

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