Skip to main content
Glama

get_obsidian_uri

Read-onlyIdempotent

Build an obsidian:// link that opens a note, runs a search, or creates a new note in Obsidian so users get a clickable link.

Instructions

Build an obsidian:// link that opens a note (or a search, or a new note) in the Obsidian app — handy to give the user a clickable link.

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

Input Schema

NameRequiredDescriptionDefault
fileNo
blockNo
queryNoFor action=search
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
actionNo
headingNo

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 readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so the safety profile is covered. The description adds that the tool constructs a link rather than navigating, which is useful, but it never states what is actually returned (a string) or the default action, leaving return semantics implicit.

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?

A single sentence, front-loading the verb and artifact, with the parenthetical enumerating the three modes and a short benefit clause. Nothing is wasted, though the parenthetical could be structured more crisply.

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 6-parameter tool with a third of schema coverage and no output schema, the definition should clarify parameter combinations (file+heading vs. block, default action, what string comes back). It conveys the overall intent but leaves the agent guessing about several inputs.

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?

With only 33% schema coverage across 6 params, the description does meaningful work by mapping the note/search/new-note variants to the action enum and implying which parameters pair with each. It still says nothing about file, heading, or block, so the work is partial but real value beyond the schema.

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 specific verb and artifact: builds an obsidian:// URI, covering open/search/new variants. It implicitly separates itself from open_in_obsidian (construct a link vs. actually launch), but never names that sibling, so the differentiation is left to inference.

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?

The clause 'handy to give the user a clickable link' implies the use case (producing a shareable URI rather than performing the action), but there is no explicit when-not guidance or named alternative such as open_in_obsidian for direct launching.

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