Skip to main content
Glama
adrienthebo
by adrienthebo

get_backlinks_tool

Find all notes that link to a specific note to understand which notes reference a concept, discover relationships between notes, and build a mental map of note connections.

Instructions

Find all notes that link to a specific note (backlinks).

When to use:

  • Understanding which notes reference a concept or topic

  • Discovering relationships between notes

  • Finding notes that depend on the current note

  • Building a mental map of note connections

When NOT to use:

  • Finding links FROM a note (use get_outgoing_links)

  • Searching for broken links (use find_broken_links)

Performance note:

  • Fast for small vaults (<100 notes)

  • May take several seconds for large vaults (1000+ notes)

  • Consider using search_notes for specific link queries

Returns: All notes linking to the target with optional context

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the note to find backlinks for
include_contextNoInclude the text surrounding each link to understand why the link was made
context_lengthNoHow much surrounding text to show for each link (in characters)
ctxNo
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing performance characteristics ('Fast for small vaults', 'May take several seconds for large vaults') and return format information ('All notes linking to the target with optional context'). It doesn't mention authentication needs or rate limits, but provides useful operational context.

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?

The description is well-structured with clear sections (purpose, when to use, when not to use, performance note, returns) and each sentence adds value. It could be slightly more concise by combining some usage scenarios, but overall it's efficiently organized and front-loaded with the core purpose.

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?

For a tool with no annotations and no output schema, the description provides good context about performance, usage scenarios, and return format. It covers the essential behavioral aspects and distinguishes from alternatives. The main gap is lack of output structure details, but given the tool's relative simplicity, the description is reasonably complete.

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 75%, and the description doesn't add significant parameter information beyond what's in the schema. The 'Returns' section mentions 'optional context' which relates to the include_context parameter, but doesn't explain the 'ctx' parameter or add meaningful semantics beyond the schema's descriptions. Baseline 3 is appropriate given the decent schema coverage.

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's purpose with a specific verb ('Find') and resource ('all notes that link to a specific note'), and explicitly distinguishes it from sibling tools like get_outgoing_links and find_broken_links. The opening sentence 'Find all notes that link to a specific note (backlinks)' is precise and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit 'When to use' and 'When NOT to use' sections with clear alternatives named (get_outgoing_links, find_broken_links, search_notes). It gives specific scenarios for usage and explicitly tells the agent when to choose other tools instead.

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/adrienthebo/obsidian-mcp'

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