Skip to main content
Glama
Obsidian CDP MCP Server

Obsidian CDP MCP Server

obsidian_read_file

Reads the content of a specified file from an Obsidian vault using a path relative to the vault root.

Instructions

Read the content of a file from the Obsidian vault.

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": "obsidian_read_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file relative to vault root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It does not state that the operation is non-mutating, what happens if the path is missing or points to a folder, how large or binary files are handled, or whether full file content versus a summary is returned.

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?

One short, front-loaded sentence with no filler or redundancy. Its brevity is efficient but borders on under-specification rather than maximal clarity.

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 simple one-parameter read tool with full schema coverage, the definition is minimally adequate. Without annotations or an output schema, it should still say something about what the returned content looks like and how failures are surfaced, which it omits.

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?

There is a single required parameter with 100% schema description coverage ('Path to the file relative to vault root'), so the schema already explains it fully. The description adds no extra detail such as absolute path handling, extensions, or encoding expectations; 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 concrete verb and resource: read the content of a file from the Obsidian vault. An agent can tell it apart from write/patch/move/delete siblings by name alone. It does not explicitly differentiate from content-adjacent siblings like obsidian_get_active_file or obsidian_get_frontmatter, which keeps it from 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 Guidelines2/5

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

No when-to-use or when-not-to-use guidance appears; there is no mention of alternatives such as reading the currently open file, frontmatter, or selection. Usage is only inferable from the verb, and no prerequisites or exclusions are stated.

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