Skip to main content
Glama

heading.find

Locate headings in an Obsidian vault by leaf text or full Parent::Child::Leaf path. Returns all matching headings to enable precise editing.

Instructions

Find headings by leaf text OR by full Parent::Child::Leaf path. Returns ALL matches; surgical-edit tools require disambiguation when count > 1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
vaultNo
headingYes
delimiterNo
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It states it returns all matches but does not confirm it is read-only, lacks side-effect disclosure, or mention what happens on failure (e.g., no matches).

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?

Two sentences with no fluff: first sentence states purpose and modes, second sentence adds critical usage nuance about disambiguation. Front-loaded and efficient.

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?

Given 4 parameters (2 required) and no output schema, the description covers the search modes and disambiguation need. Minor omission: no mention of return format or behavior when no matches found.

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 0%, so the description must add meaning. It explains the 'heading' parameter can be leaf text or a path, and implies the delimiter parameter, but does not clarify 'file' or 'vault' meaning.

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 clearly states the tool finds headings using leaf text or a full path, and distinguishes it as a search-only tool distinct from surgical-edit siblings like heading.rename or block.replace.

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 mentions that surgical-edit tools require disambiguation when multiple matches are found, implying when this tool is needed, but does not explicitly state when to use it vs alternatives like block.find or search.content.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/usrivastava92/obsidian-native-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server