Skip to main content
Glama

find_orphans

Read-onlyIdempotent

Find orphaned notes with no incoming links, optionally filter to fully isolated notes with no outgoing links, or list attachments that nothing embeds.

Instructions

Notes with no incoming links (nothing links to them). Optionally also require no outgoing links, or list orphaned attachments.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 500)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoLimit to this folder (vault-relative)
attachmentsNoList attachments nothing embeds instead
no_outgoingNoOnly notes that are fully isolated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value by defining 'orphan' precisely (no incoming links) and explaining what the two option flags change, but it says nothing about result caps, ordering, or how vault resolution behaves.

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?

One sentence with a parenthetical definition and an 'Optionally' clause carrying the two variants; the core purpose is front-loaded and no word is wasted.

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?

With five optional params, full schema coverage, and annotations carrying the safety profile, the description is nearly sufficient. The only gap is the absence of an output schema combined with no statement of what the result list actually contains.

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 100%, and the schema already documents vault, folder, limit, no_outgoing ('fully isolated'), and attachments ('attachments nothing embeds'). The description's mention of the same two modes mostly restates schema text, so it meets but does not exceed the baseline when the schema does the heavy lifting.

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 resource (notes with no incoming links) and parenthetically defines it as 'nothing links to them,' plus names two variants (no outgoing links, orphaned attachments). It is clearly distinguishable from a generic search, though it does not explicitly differentiate itself from siblings like find_dead_ends or find_unused_attachments.

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 description covers the tool's internal options (strict isolation, attachments) but gives no guidance on when to prefer it over similarly named siblings such as find_unused_attachments or find_dead_ends, leaving possible overlap for the agent to resolve.

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