Skip to main content
Glama

get_linking_notes

Retrieves all link relationships for a given note: notes it links to, notes linking to it, and related notes.

Instructions

Get all linking information related to the specified note.

This tool searches for notes with the following three types of link relationships to a specific note path:

  • Notes that the specified note links to (link_to)

  • Notes that link to the specified note (linked_by)

  • Notes that are related to the specified note (related)

Args: path (str): Path to the note file to get linking information for

Returns: str: JSON string containing linking information. Includes note lists for three different link types (link_to_notes, linked_by_notes, related_notes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
Behavior3/5

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

The description explains the three link types and return format, which is adequate given no annotations. However, it does not disclose potential side effects (none expected), permissions, or error handling (e.g., if path is invalid). Read-only nature is implied but not stated.

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?

The description is well-organized: a main sentence, a bullet list of link types, and an explicit Args/Returns section. Every sentence adds value, and there is no redundancy.

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?

The description covers purpose, parameters, and return format adequately for a simple lookup tool. Minor missing details (e.g., error behavior) could be added, but overall it is complete enough for effective use.

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

Parameters4/5

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

With 0% schema description coverage, the description compensates by explaining that 'path' is the path to a note file. This adds meaningful context beyond the schema's bare title and type.

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 retrieves linking information for a note, specifying three distinct relationship types (link_to, linked_by, related). It differentiates itself from sibling tools like get_note and get_note_paths by focusing on link relationships.

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?

The description implicitly defines when to use: for retrieving link relationships of a note. It does not explicitly exclude other scenarios or compare to siblings, but the purpose is clear enough that an agent can infer appropriate usage.

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/koei-kaji/zk-mcp'

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