Skip to main content
Glama
Obsidian CDP MCP Server

Obsidian CDP MCP Server

obsidian_screenshot

Capture the current Obsidian window to a temporary image file and return its path. Choose PNG, JPEG, or WebP with optional quality for controlled compression.

Instructions

Take a screenshot of the current Obsidian window. Saves to a temp file and returns the file path. Use webp format for best compression.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "obsidian_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoImage format (default: webp for best compression)
qualityNoImage quality 0-100 for jpeg/webp (default: 80)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.2

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description does carry the important behavioral facts itself: it performs a capture, writes a temp file, and returns the path, which tells the agent the output is a filesystem location rather than image data. It does not disclose whether the temp file is overwritten/cleaned up, whether a focused/visible window is required, or what happens for hidden panes or modals.

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?

Three short sentences, front-loaded with the action and outcome, with no filler. The third sentence largely duplicates the schema's 'default: webp for best compression' note, so it is slightly redundant but not harmful.

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

Completeness4/5

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

For a simple two-optional-parameter capture tool with a fully documented schema and no output schema, the description covers what it does, where output goes, and the recommended format. The only meaningful gap is preconditions around window focus/visibility, which is minor at this complexity.

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 description coverage is 100%, so the schema already documents both optional parameters, their defaults, and the enum. The description adds only a restatement of the webp-for-compression recommendation, which is nearly identical to the schema's own note, so this sits at the documented baseline.

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?

The description names a specific verb and resource ('Take a screenshot of the current Obsidian window') and states the observable outcome ('Saves to a temp file and returns the file path'). No sibling tool captures a screenshot, so the boundary is unambiguous.

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 only implied by the scoping phrase 'current Obsidian window' – the agent can infer the tool captures the visible UI rather than vault content. There is no explicit when-to-use versus when-not guidance, and no prerequisites (e.g., window must be focused) are stated. The format recommendation is a parameter tip, not routing guidance.

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