Skip to main content
Glama

cluster_notes

Group vault notes into thematic clusters by shared vocabulary and similarity thresholds, revealing related notes and supporting vault organization.

Instructions

Group all vault notes into thematic clusters based on shared vocabulary. Uses union-find on Jaccard similarity.

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

Input Schema

NameRequiredDescriptionDefault
folderNoLimit clustering to a specific folder.
thresholdNoMinimum similarity to place two notes in the same cluster (0–1). Defaults to 0.15.
min_cluster_sizeNoOnly return clusters with at least this many notes. Defaults to 2.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it never says whether clustering is read-only or writes anything back to the vault, nor how results are returned (no output schema exists). Disclosing the union-find/Jaccard approach hints at determinism and cost characteristics, but critical operational facts are missing.

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?

Two compact sentences with the core action front-loaded and no filler. The implementation detail in sentence two is terse, though arguably less useful to an agent than a note about output shape or side effects would have been.

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

Completeness2/5

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

This is an analysis tool over an entire vault with no annotations and no output schema, so the description should explain what a returned cluster looks like and whether anything is persisted. It supplies neither, leaving the agent unable to predict the result shape or side effects.

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%, and each parameter already documents its meaning, units, and defaults (threshold 0–1 default 0.15, min_cluster_size default 2, folder scoping). The description adds nothing beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource ('Group all vault notes into thematic clusters') plus the grouping basis ('shared vocabulary'), which is clear enough to distinguish it from single-note tools like find_related_notes. It stops short of explicitly contrasting itself with a sibling, so it is not a 5.

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 or when-not-to-use guidance, no mention of prerequisites, and no named alternative for a related task such as find_related_notes or generate_moc. The agent must infer that this is for whole-vault thematic organization rather than pairwise similarity.

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