Skip to main content
Glama

read_canvas

Read-onlyIdempotent

Read an Obsidian canvas to extract cards, positions, and connections in readable form; use raw output to return the underlying JSON.

Instructions

Read a canvas: cards (text, notes, links, groups) with positions, and connections between them in readable form. raw:true returns the JSON.

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_canvas"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNo
fileYes
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real value by stating the return shape (cards with positions, links, groups, connections) and that raw:true yields JSON, but says nothing about failure behavior for missing files or permission/vault resolution issues.

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?

Two tight sentences with the capability and content front-loaded and the mode switch in a short trailing clause. Nothing is padded or redundant.

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?

With no output schema, the description does the right thing by sketching return contents in prose. However, for a 3-parameter tool with a required 'file' argument, the missing explanation of that parameter and of error cases leaves the definition short of complete.

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 only 33% — only 'vault' is documented in the schema. The description compensates for 'raw' by explaining that raw:true returns JSON, but leaves 'file' (required) completely unspecified as to whether it is a path, name, or id, so the coverage gap is only partly closed.

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?

Names a specific verb and resource ('Read a canvas') and enumerates the content returned (cards with positions, connections), which distinguishes it from the write-side siblings like add_canvas_nodes or update_canvas_node. It does not explicitly contrast with read_note or canvas_from_notes, so sibling differentiation is only implicit.

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?

Usage is implied by the verb: read this tool when you need a canvas's cards and connections. It also documents the raw:true variant, which is a useful mode switch, but there is no explicit when-to-use vs when-not guidance or redirect to an alternative tool for other canvas operations.

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