Skip to main content
Glama

read_note

Read-onlyIdempotent

Reads a note or text file from your Obsidian vault by path, name, alias, or [[link]]. Retrieves full content or just a heading section, block, or line range to inspect before editing.

Instructions

Read a note (or any text file). Resolve by path, name, alias or [[link]]. Optionally only a heading section, a ^block, a line range, or with line numbers (useful before insert_at_line / edit_note).

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": {
      "file": "<file>"
    },
    "name": "read_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
blockNoBlock id (with or without ^)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
sectionNoHeading text, or path like "Parent > Child"
end_lineNo
max_charsNo
start_lineNo
frontmatterNoInclude the YAML frontmatter (default true)
line_numbersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds that resolution is flexible across paths/aliases/links and that reads can be narrowed to a section, block, or line range, but it never says what is returned (raw text vs. metadata) or how frontmatter/truncation behave.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences, front-loaded with the verb and resource, then resolution modes, then optional narrowing. No filler, though the parenthetical about edit_note is slightly buried at the tail.

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 9-parameter read tool with no output schema, the description omits return-value shape, truncation/max_chars behavior, and vault selection. Annotations carry the safety profile, but the read-result contract is left implicit.

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 coverage is 56%, so the description needs to compensate and it only partly does: it explains section, block, line range, and line_numbers semantics that the schema already states. Unmentioned in the description are max_chars, vault, and the frontmatter default, leaving some parameters covered only by their schema strings.

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?

Specific verb+resource: "Read a note (or any text file)" with the resolution modes (path, name, alias, [[link]]) spelled out. It does not distinguish itself from siblings like read_section, read_block, or read_attachment even though it duplicates their capability via the section/block options.

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?

Gives one concrete context: "useful before insert_at_line / edit_note" for line numbers, which is genuine when-to-use guidance. It offers no when-not conditions and no routing away from read_section/read_block/read_multiple_notes despite overlapping scope.

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