Skip to main content
Glama
Obsidian CDP MCP Server

Obsidian CDP MCP Server

obsidian_console

Retrieve Obsidian console output to debug plugin errors, monitor activity, and filter logs by type, regex pattern, timestamp, or count.

Instructions

Get console output from Obsidian. Useful for debugging plugins and monitoring activity.

When to use proactively:

  • User reports plugin errors or unexpected behavior

  • After executing commands that might fail silently

  • When troubleshooting Obsidian issues

  • To check for warnings after file/plugin operations

Supports multiple filters that can be combined:

  • type: Filter by log level (log/warn/error/info/debug)

  • pattern: Regex to match message content

  • since: Only messages after this timestamp

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

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by message type (default: all)
clearNoClear console messages after retrieving (default: false)
limitNoMaximum number of messages to return (default: 50)
sinceNoOnly return messages after this timestamp (milliseconds since epoch)
patternNoRegex pattern to filter message content (e.g., 'error|fail', 'plugin.*loaded')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.2

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden and it covers some ground: filters are combinable and output is intended for debugging. However, it never discloses the return shape (message objects, fields, whether timestamps or stacks are included), says nothing about buffering or retention limits, and does not warn that the `clear` option permanently discards messages — a destructive side effect the agent should know about before calling.

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?

Purpose is front-loaded in the first clause, followed by a scannable trigger list and a scannable filter list. Every sentence contributes either routing guidance or filter semantics, and there is no filler or repetition.

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?

Five parameters, no annotations, and no output schema mean the description is the only source of behavioral information, yet it never describes what a console message looks like or what happens when `clear` is set or when `limit` truncates results. For a debugging tool whose whole value is the returned log data, that is a meaningful gap, though the when-to-use guidance is solid.

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 description coverage is 100%, so parameter names, enums, and defaults are already documented; the baseline would be 3. The description adds one genuinely useful semantic that the schema does not express — that `type`, `pattern`, and `since` are combinable filters — which is exactly the kind of meaning beyond structured fields this dimension rewards. It does omit `clear` and `limit` from that narrative, keeping it below 5.

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?

States a specific verb and resource ("Get console output from Obsidian") and immediately narrows the domain to plugin debugging and activity monitoring. No sibling in the supplied list reads console/log output, so an agent can route to this tool unambiguously.

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?

Provides an explicit, actionable list of proactive triggers (plugin errors, silent command failures, troubleshooting, post-operation warning checks) that tells the agent when to reach for this tool. It stops short of stating any when-not condition or pointing to a concrete alternative sibling, so it falls just under the top mark.

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