Skip to main content
Glama

vault_health

Read-onlyIdempotent

Check Obsidian vault health and detect drift in frontmatter, stale notes, or broken links. Optionally include usage analytics and runtime metadata.

Instructions

Return vault health metrics, validation, and optional usage analytics.

Always emits the ## server identity block (version, python, vault path, backend presence, started_at) at the top.

Without parameters, returns a health summary for all projects. When checks are specified, runs drift detection (frontmatter, stale, links). When include_usage is True, appends tool usage analytics. When include_runtime is True, appends runtime metadata (uptime, tools, budget).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoProject slug to validate. Empty = all projects.
checksNoValidation checks to run. Empty = health summary only. Options: frontmatter, stale, links.
max_issuesNoMaximum validation issues to report. Default 50.
include_usageNoAppend vault tool usage analytics. Default False.
usage_daysNoUsage look-back window in days. Default 30.
include_runtimeNoAppend runtime metadata block. Default False.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint. The description adds behavioral details: always emits server identity block, conditional outputs based on parameters. No contradictions.

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?

The description is well-structured with clear bullet points. It is informative without being overly verbose, though could be slightly more concise.

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?

Given the tool has 6 optional parameters and conditional behavior, the description covers main use cases. Output format is partially described (blocks), but output schema exists to fill gaps. Adequate for the complexity.

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 100%, so baseline is 3. The description adds meaning beyond schema by explaining what checks trigger drift detection and what include_usage/runtime append, enhancing semantic understanding.

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 it returns vault health metrics, validation, and optional usage analytics. It distinguishes itself from sibling tools like vault_list or vault_search by focusing on health checks and diagnostics.

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 explains conditional usage: without parameters returns summary, with checks runs drift detection, and with flags appends analytics or runtime metadata. It provides clear context but does not explicitly state when not to use or mention alternatives.

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/mlorentedev/hive'

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