Skip to main content
Glama
obsidian-memory-mcp

obsidian-memory-mcp

by BoiDG

get_note_section

Read an outline or targeted sections of an indexed Obsidian note by heading, capped by a character budget, to avoid loading entire large notes.

Instructions

Read an outline, one section, or several batched sections of an indexed Obsidian note without loading huge KBs whole.

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

Input Schema

NameRequiredDescriptionDefault
noteYesNote stem, [[wikilink]], relative path, or absolute path.
headingNoSingle heading substring to fetch (omit both heading & headings for outline).
headingsNoBatch multiple heading substrings in one call to avoid extra round-trips.
max_charsNoStrict character budget (default 6000; up to 16000 for batched headings).
include_linksNoInclude outgoing wikilinks and incoming backlinks.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does establish that this is a non-mutating read and that output is size-constrained (the KB-saving framing), but it says nothing about truncation behavior when max_chars is hit, permission/indexing prerequisites, or what happens when a heading is not found.

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?

A single sentence with zero filler, front-loaded with the verb and the three modes before the motivating benefit. Nothing could be removed without losing information.

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?

With five fully documented parameters, an output schema, and no nested objects, the definition covers what an agent needs to select and call the tool. The remaining gap is behavioral edge cases (truncation, missing headings) rather than core 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 the baseline is 3. The description does add a useful conceptual mapping between its three modes and the heading/headings/max_chars parameters, but it repeats rather than extends what the schema already documents in detail.

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 ("Read") and resource ("outline, one section, or several batched sections of an indexed Obsidian note") and enumerates the three operating modes. It does not distinguish itself from any sibling tool by name, so it stops short of a 5.

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?

"Without loading huge KBs whole" implies the usage context: fetch part of a note rather than the entire file. However, there is no explicit statement of when to prefer this over search_memory or get_linked_context, and no mention of error conditions such as a heading that does not exist.

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