Skip to main content
Glama

suggest_frontmatter

Read-onlyIdempotent

Generate frontmatter field recommendations for Obsidian notes from a note path or draft, using folder conventions, wikilinks, and title/body heuristics; returns suggestions and conflicts.

Instructions

Suggest frontmatter fields for a note based on folder-conventions, wikilink-neighborhood, and title/body content-heuristics. Returns {existing, suggestions, conflicts}. Two input modes: (1) existing note via {path}; (2) draft via {content, folder_hint, title}. At least one of path/content required. Suggestions sorted by confidence DESC; conflicts list disagreements between sources.

Input Schema

NameRequiredDescriptionDefault
pathNo
titleNo
vaultYes
contentNo
folder_hintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0-rc.5

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuine behavioral context beyond that: the return shape ({existing, suggestions, conflicts}), confidence-DESC sorting, and the meaning of the conflicts list.

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?

Front-loaded with the purpose, then modes, then return contract. Dense and every sentence adds information, though the parenthetical clauses make it slightly packed versus a fully scannable form.

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?

With no output schema and no schema descriptions, the description supplies the return shape and the input-mode contract, which is most of what an agent needs. The undocumented required 'vault' parameter is the remaining hole.

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 description coverage is 0%, so the description must carry the load, and it does for path, content, folder_hint, and title by grouping them into named input modes. The 'vault' parameter (the only required one) is never explained, leaving one gap.

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+resource ('Suggest frontmatter fields for a note') and enumerates the three evidence sources (folder-conventions, wikilink-neighborhood, content heuristics), which cleanly separates it from query_frontmatter and update_frontmatter.

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 concrete selection criteria between two input modes (existing note via {path} vs. draft via {content, folder_hint, title}) plus the 'at least one of path/content required' rule. It does not, however, say when to prefer this over siblings like query_frontmatter or update_frontmatter.

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