Skip to main content
Glama

Shard Connector for Obsidian

Read note

read_note
Read-only

Read the full contents of a note in the Obsidian vault. Returns the note's text, a path: block when path was an obsidian:// URL, and a sha256: block. Pass that hash to write_note as expected_sha256, so the write fails if the note changed after this read, for example through an edit synced from another device.

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

Input Schema

NameRequiredDescriptionDefault
pathYesvault-relative note path, as returned by list_files or search_notes, or an obsidian:// URL for a file in this vault

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish a safe, non-destructive read, but the description adds substantial behavior beyond them: the exact shape of the return (note text plus path: and sha256: blocks), the conditional path block for obsidian:// URLs, and the optimistic-concurrency contract with write_note including the cross-device sync failure mode.

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?

Three sentences, front-loaded with purpose, then return shape, then the actionable hash handoff. Every sentence carries information an agent needs and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of explaining return values and does so precisely, including the conditional blocks. For a one-parameter read tool whose annotations cover safety, nothing essential to correct invocation is missing.

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 100% and the single path parameter already documents both accepted forms (vault-relative path from list_files/search_notes, or an obsidian:// URL). The description reinforces the URL case but adds no new syntax, normalization, or edge-case detail beyond the schema, so the 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?

The description opens with a specific verb and resource: "Read the full contents of a note in the Obsidian vault." The scope (full contents, vault-scoped) is clear and the read-vs-write distinction from write_note, add_to_note, and patch_note is obvious from the verb, though no sibling is named explicitly.

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

Usage Guidelines4/5

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

It gives a concrete downstream instruction: capture the returned sha256 and pass it to write_note as expected_sha256 so the write fails if the note changed. That is real when-to-use guidance tied to a specific sibling. It stops short of stating when not to use this tool (e.g. partial reads or frontmatter-only reads).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources