Skip to main content
Glama

Related notes

related_notes

Find notes related to a given note with reasons like direct links, shared tags, and semantic similarity to pull context or identify link targets.

Instructions

Find notes related to a given note, with reasons: direct links, shared link-neighbors, shared (rarity-weighted) tags, unlinked title mentions, and semantic similarity when embeddings are enabled. Use to pull surrounding context before working on a topic, or to find where a new note should link.

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": {
      "ref": "<ref>"
    },
    "name": "related_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesNote path, title, or alias
limitNoMax results (default 8)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the ranking signals (rarity-weighted tags, link-neighbors) and the conditional behavior that semantic similarity only applies when embeddings are enabled. It stops short of stating that this is a pure read with no side effects, or how results are ordered.

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 dense sentences with zero filler: the first front-loads what the tool does and how, the second covers when to use it. Nothing is repeated from structured fields.

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 2-parameter, non-destructive lookup with no output schema, the description covers both the relation algorithm and the result shape ('with reasons'). It could say more about ordering or what happens when nothing matches, but an agent has enough to call it correctly.

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 100%, so both 'ref' (path, title, or alias) and 'limit' (max 25, default 8) are already documented. The description adds no extra meaning about accepted ref forms or how limit interacts with ranking, so the baseline of 3 applies.

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?

States a specific verb and resource ('Find notes related to a given note') and enumerates the five relation mechanisms it uses. That mechanism list separates it from siblings like search_notes or note_links without needing to name them.

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

Usage Guidelines4/5

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

Gives two concrete use cases: pulling surrounding context before working a topic, and finding where a new note should link. It does not explicitly exclude alternative tools (e.g. search_notes for keyword lookup), so it falls short of a 5.

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