Skip to main content
Glama

Read an Obsidian Canvas (parses .canvas JSON)

obsidian_read_canvas
Read-onlyIdempotent

Parse an Obsidian canvas file into structured nodes (text, file, link, group) and edges, with a summary of node types and detection of broken file references.

Instructions

Parses one .canvas file into typed nodes (text / file / link / group) + edges (with from/to node IDs and optional sides + labels). Each file node carries a file_resolved field — the vault-relative path that the canvas's file reference resolved to (or null if broken). The response also includes a summary of node-kind counts and a broken_file_refs array surfacing canvas files that reference non-existent notes. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesVault-relative path of the .canvas file (with or without .canvas)
Behavior4/5

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

Description adds useful behavioral details beyond annotations: output structure with nodes, edges, file_resolved, summary, broken_file_refs. Annotations already declare readonly and idempotent, so description complements well.

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?

Very concise, front-loaded with main purpose, followed by structured details. Every sentence adds value. No fluff.

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?

For a tool with 1 parameter and no output schema, the description completely covers inputs and outputs. Includes summary and broken refs info. No gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% coverage for path parameter. Description adds value by clarifying path is vault-relative and accepts with or without .canvas extension, which is not in schema description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it parses .canvas files into typed nodes and edges. Specific verb (read) and resource (Obsidian Canvas). Distinguishes from siblings like obsidian_read_note and obsidian_read_pdf.

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?

Implies use for reading canvas structure, but no explicit when-not or alternatives mentioned. Sibling tools exist for other file types, but description does not guide selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oomkapwn/enquire-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server