Skip to main content
Glama

get_hub_notes

Read-onlyIdempotent

Rank notes by link counts (incoming, outgoing, or total) to surface hubs and authorities, with optional folder and result limits for vault link analysis.

Instructions

The most connected notes: most linked-to (authorities), most linking (hubs), or total degree.

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

Input Schema

NameRequiredDescriptionDefault
byNo
limitNoMax results (default 25)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoLimit to this folder (vault-relative)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so safety and repeatability are covered. The description adds nothing behavioral beyond that: it does not say how degree is counted (wikilinks, embeds, unlinked mentions?), whether results are ordered by degree, or how ties break. For a ranking tool, the counting and ordering rules are exactly the context an agent cannot infer.

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?

A single trimmed sentence with zero filler, and the three modes are ordered to mirror the enum. It is a fragment rather than a full clause (no explicit verb such as 'returns' or 'lists'), which slightly weakens front-loading but costs no clarity overall.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a simple read with no output schema, so the description should at least sketch the return shape (note paths plus a degree count?) and default ordering. Neither is present, though the low parameter count and documented vault/folder/limit fields keep the gap moderate.

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?

Schema coverage is 75%, and the uncovered gap is the 'by' enum, which has no per-value description in the schema. The description supplies the missing semantics: 'incoming' = authorities (most linked-to), 'outgoing' = hubs (most linking), 'total' = total degree. Those parentheticals are genuine added meaning an agent would otherwise have to guess.

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?

The sentence names the resource ('notes') and the exact quantity being ranked (connectivity), then defines the three ranking flavors: 'most linked-to (authorities), most linking (hubs), or total degree.' That is concrete enough for an agent to know this returns top-N connected notes. It stops short of differentiating itself from graph-oriented siblings like get_link_graph or get_backlinks, which a 5 would require.

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

Usage Guidelines2/5

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

There is no when-to-use framing at all: nothing says to pick this for ranking/leaderboard queries rather than get_link_graph (per-note links) or get_backlinks (incoming links for one note). The three modes are described, but that is parameter guidance, not tool-selection guidance, and no exclusions or prerequisites are given.

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