Skip to main content
Glama

note_exists

Read-onlyIdempotent

Checks whether a note or file exists in an Obsidian vault and returns where it resolves, helping you verify paths before reading, linking, or editing.

Instructions

Check whether a note/file exists, and where it resolves to.

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

Input Schema

NameRequiredDescriptionDefault
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

B3.3/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 openWorldHint=false, so the safety profile is covered. The phrase 'where it resolves to' adds real behavioral value by implying the result includes a resolved path rather than a bare boolean, but the description never says how a non-existent note is reported (false vs error) or what form the resolution takes.

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?

A single compact sentence with the core predicate front-loaded and a second clause carrying the resolution detail. No filler, no restatement of the tool name.

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 must carry return-value semantics, and it only partially does ('where it resolves to'). For a two-parameter lookup whose whole value is the shape of the answer, it should state what a positive and negative result look like; the vault defaulting behavior is handled in-schema, so that gap is not the description's fault.

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

Parameters2/5

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

Schema coverage is only 50%: 'vault' is documented in-schema while the required 'file' parameter has no description at all. The description's 'note/file' phrasing weakly suggests it accepts names or paths, but it does not clarify whether 'file' is a vault-relative path, a wikilink, or an alias — the single most important ambiguity for this tool, left unresolved.

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?

The description states a specific verb and resource ('Check whether a note/file exists') and adds a scope note ('where it resolves to'), which hints at link/alias resolution rather than a plain boolean lookup. It does not distinguish itself from siblings such as get_note_metadata or read_note, so an agent must infer that this is the cheap pre-flight existence check.

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: the word 'Check' suggests a pre-flight probe before create/read/edit, but the description never says when to prefer this over read_note or get_note_metadata, nor what to do when the note is absent. No exclusions or alternative routing are given.

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