Skip to main content
Glama

Server and vault status

vault_status
Read-onlyIdempotent

Reports vault/server state: version, indexed notes, git branch, unpushed or failed commits, and write-lock holder, so you can check for leftovers before writing or after a failed commit. Read-only.

Instructions

Reports the state of the server and of the vault: version, how many notes and chunks are indexed, whether the vault is a git repository, the branch, commits not pushed yet, commits that failed and will be retried, and who holds the write lock. Use it before a writing session, or after a write answered "Commit: no", to learn whether anything was left behind. Changes nothing.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
lockYes
aheadYes
notesYes
behindYes
branchYes
chunksYes
versionYes
autoPushYes
detachedYes
readOnlyYes
repositoryYes
diagnosticsYes
pendingCommitsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is carried by structured data; 'Changes nothing' merely restates it. The description goes beyond the annotations by disclosing semantics an agent could not infer otherwise: that failed commits 'will be retried' (so a failure is transient, not terminal) and that it reports who holds the write lock (useful for diagnosing contention). It says nothing about cost, permissions, or freshness of the reported state, keeping it below 5.

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?

Front-loaded with the one-sentence purpose, then a compact inventory of returned fields and a final clause on when to call plus the no-side-effects guarantee. The field list is long but every item is substantive diagnostic information, and no sentence is filler or repetitive.

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 an output schema present, the description need not explain return formatting, and safety is covered by annotations, so the remaining burden is small and largely met: the agent knows what it gets, why to call, and that nothing mutates. Minor gaps remain — no mention of expected latency or whether the retry queue can be drained from here — but nothing required for a correct call is absent.

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?

The tool takes zero parameters (schema is an empty object with additionalProperties=false), so there is no parameter meaning for the description to add; the baseline of 4 applies. The description correctly implies a no-argument call, and no parameter semantics are needed or missing.

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 and resource ('Reports the state of the server and of the vault') and then enumerates exactly what is reported: version, note/chunk counts, git-repo flag, branch, unpushed commits, failed commits pending retry, and the write-lock holder. That inventory makes it unmistakable against the note-operation siblings (vault_get_note, vault_write_note, etc.), which all act on note content rather than reporting operational state.

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 two concrete triggers: 'Use it before a writing session' and 'after a write answered "Commit: no", to learn whether anything was left behind.' This is clear context-based guidance rather than a vague 'use as needed'. It does not name an alternative tool or an explicit when-not condition, though 'Changes nothing' implicitly rules out using it for mutations, so it falls short of the 5 benchmark.

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