Skip to main content
Glama

validate_vault

Read-only

Validates every document in the vault and returns per-doc, per-code health aggregates, surfacing path drift, stale evidence, and coverage gaps so you can confirm the vault is clean before and after batch writes.

Instructions

Validate every doc in the vault in one call and return a per-doc + per-code aggregate: the whole-vault health view for first-contact before writes and before / after a batch write. side effect 0. problems is one page, errors first: follow problemsPagination.nextOffset until hasMore is false before calling the vault clean; summary counts the whole vault. pathDrift lists source paths gone from disk (fix with patch_concept). evidenceDrift marks stale concepts whose cited file changed after them: read it before trusting the meaning. coverage names unplaced abilities, unread entry files, rules that cite no read lines and capabilities no ability edge touches, each with its next call.

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

Input Schema

NameRequiredDescriptionDefault
limitNoProblem files per page. Defaults 100.
offsetNoResume at `problemsPagination.nextOffset`.
repoRootNoRoot that `path:` claims resolve against. Defaults to the active repository root.

Output Schema

NameRequiredDescriptionDefault
scannedYes
summaryYes
coverageNo
problemsYes
pathDriftYes
problemsHintNo
evidenceDriftNo
summaryFreshnessYes
problemsPaginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed27 schema fields changedv2.7.5
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based index of the first problem file to return, in the order errors first and then slug. Resume with `problemsPagination.nextOffset`. Defaults 0."New value: +"Resume at `problemsPagination.nextOffset`."
    • changedInput schema / properties / repoRoot / description
      Previous value: -"Repository root that frontmatter source paths resolve against, for the pathDrift check. Defaults to the active resolved repository root from connection_info. Pass this if the vault lives apart from the code repo."New value: +"Root that `path:` claims resolve against. Defaults to the active repository root."
    • removedInput schema / properties / repoRoot / minLength
      Removed value: -1
    • removedInput schema / properties / repoRoot / pattern
      Removed value: -"^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$"
    • removedOutput schema / properties / coverage / description
      Removed value: -"One line: of the abilities the survey lists (entry points, dispatched operations, library exports, families), how many have their own node, are named inside a capability or element or are excluded with a reason, and each unplaced ability by name; the capabilities that cite no lines this server process read holding a condition, with the exact analyze_repo_structure call that reads them; the capabilities stating a rule without citing read lines that hold its condition, with the read and patch; and the capabilities no ability-to-ability depends_on touches. Absent when no repository root is grounded or it has no product source."
    • removedOutput schema / properties / evidenceDrift / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / evidenceDrift / description
      Removed value: -"Whether each concept still stands on the code it cites, dated by one Git walk: current / stale / missing / unknown per concept, with the stale and missing rows named (bounded to 50 each)."
    • removedOutput schema / properties / evidenceDrift / properties
      Removed value: -{
      -  "checked": {
      -    "type": "boolean"
      -  },
      -  "counts": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "current": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "folderOnly": {
      -        "description": "Unknown rows whose only moved evidence is a folder path.",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "missing": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "stale": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "unknown": {
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "current",
      -      "stale",
      -      "missing",
      -      "unknown",
      -      "folderOnly"
      -    ],
      -    "type": "object"
      -  },
      -  "folderOnly": {
      -    "description": "Concepts whose only evidence that moved is a folder: something under it changed, which is not yet a verdict on the meaning.",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "docChangedAt": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "folders": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "changedAt": {
      -                "type": "string"
      -              },
      -              "path": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "path",
      -              "changedAt"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "kind": {
      -          "type": "string"
      -        },
      -        "slug": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "slug",
      -        "kind",
      -        "docChangedAt",
      -        "folders"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "hint": {
      -    "type": "string"
      -  },
      -  "missing": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "gone": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "kind": {
      -          "type": "string"
      -        },
      -        "slug": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "slug",
      -        "kind",
      -        "gone"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "reason": {
      -    "description": "Why nothing was dated, when `checked` is false.",
      -    "type": "string"
      -  },
      -  "repoRoot": {
      -    "minLength": 1,
      -    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -    "type": "string"
      -  },
      -  "stale": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "docChangedAt": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "kind": {
      -          "type": "string"
      -        },
      -        "moved": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "changedAt": {
      -                "type": "string"
      -              },
      -              "path": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "path",
      -              "changedAt"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "slug": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "slug",
      -        "kind",
      -        "docChangedAt",
      -        "moved"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / properties / evidenceDrift / required
      Removed value: -[
      -  "checked",
      -  "counts",
      -  "stale",
      -  "missing",
      -  "folderOnly",
      -  "hint"
      -]
    • removedOutput schema / properties / pathDrift / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / pathDrift / description
      Removed value: -"Vault→code path drift: frontmatter source paths missing on disk, resolved against repoRoot."
    • removedOutput schema / properties / pathDrift / properties
      Removed value: -{
      -  "checked": {
      -    "description": "False when the repository this vault describes could not be determined (vault outside any git repo and no repoRoot given). Then `drifts` is empty because nothing was measured — NOT because nothing drifted.",
      -    "type": "boolean"
      -  },
      -  "drifts": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "key": {
      -          "enum": [
      -            "path",
      -            "elements[]"
      -          ],
      -          "type": "string"
      -        },
      -        "kind": {
      -          "type": "string"
      -        },
      -        "missingPath": {
      -          "type": "string"
      -        },
      -        "slug": {
      -          "type": "string"
      -        },
      -        "suggestedPath": {
      -          "description": "Reconcile hint (Track A #3): a unique existing repo file sharing the missing file's basename — likely where the source moved. Present only on a unique match.",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "slug",
      -        "kind",
      -        "key",
      -        "missingPath"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "hint": {
      -    "type": "string"
      -  },
      -  "nodesScanned": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "pathsChecked": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "repoRoot": {
      -    "minLength": 1,
      -    "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / pathDrift / required
      Removed value: -[
      -  "repoRoot",
      -  "checked",
      -  "nodesScanned",
      -  "pathsChecked",
      -  "drifts",
      -  "hint"
      -]
    • removedOutput schema / properties / problems / items
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "issues": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "unclosed-frontmatter",
      -              "parse-zero-keys",
      -              "malformed-frontmatter-line",
      -              "malformed-quoted-scalar",
      -              "missing-kind",
      -              "empty-kind",
      -              "unknown-kind",
      -              "missing-uid",
      -              "invalid-uid",
      -              "invalid-merged-uids",
      -              "non-canonical-merged-uids",
      -              "missing-expected-field",
      -              "non-canonical-graph-array",
      -              "dangling-graph-reference",
      -              "duplicate-slug",
      -              "duplicate-uid",
      -              "definition-missing",
      -              "boundary-missing",
      -              "epistemic-exclusion",
      -              "uncertainty-missing",
      -              "slug-outside-kind-folder",
      -              "folder-only-evidence",
      -              "dependency-unwitnessed",
      -              "dependency-unjudged",
      -              "starter-example-node",
      -              "kind-under-sources",
      -              "relation-note-on-unread",
      -              "rule-without-read-lines",
      -              "dependency-both-ways",
      -              "path-without-code",
      -              "path-shared"
      -            ],
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "severity": {
      -            "enum": [
      -              "error",
      -              "warning"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "severity",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "slug": {
      -      "minLength": 1,
      -      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "slug",
      -    "issues"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / properties / problemsHint / description
      Removed value: -"Present when the vault has more than one page: which files this page shows and the call for the next one."
    • removedOutput schema / properties / problemsPagination / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / problemsPagination / description
      Removed value: -"The page `problems` holds: `total` problem files, and `nextOffset` for the next page until `hasMore` is false."
    • removedOutput schema / properties / problemsPagination / properties
      Removed value: -{
      -  "hasMore": {
      -    "type": "boolean"
      -  },
      -  "limit": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "nextOffset": {
      -    "minimum": 0,
      -    "type": [
      -      "integer",
      -      "null"
      -    ]
      -  },
      -  "offset": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "returned": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "total": {
      -    "minimum": 0,
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / problemsPagination / required
      Removed value: -[
      -  "offset",
      -  "limit",
      -  "total",
      -  "returned",
      -  "hasMore",
      -  "nextOffset"
      -]
    • removedOutput schema / properties / scanned / description
      Removed value: -"Number of vault markdown files scanned."
    • removedOutput schema / properties / scanned / minimum
      Removed value: -0
    • removedOutput schema / properties / summary / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / summary / properties
      Removed value: -{
      -  "byCode": {
      -    "additionalProperties": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "count": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "files": {
      -          "description": "At most 20 of the `count` files with this code, in page order.",
      -          "items": {
      -            "minLength": 1,
      -            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "filesOmitted": {
      -          "description": "Present when `files` names fewer than `count`: how many more. Page through `problems` for them.",
      -          "minimum": 1,
      -          "type": "integer"
      -        },
      -        "severity": {
      -          "enum": [
      -            "error",
      -            "warning"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "severity",
      -        "count",
      -        "files"
      -      ],
      -      "type": "object"
      -    },
      -    "propertyNames": {
      -      "enum": [
      -        "unclosed-frontmatter",
      -        "parse-zero-keys",
      -        "malformed-frontmatter-line",
      -        "malformed-quoted-scalar",
      -        "missing-kind",
      -        "empty-kind",
      -        "unknown-kind",
      -        "missing-uid",
      -        "invalid-uid",
      -        "invalid-merged-uids",
      -        "non-canonical-merged-uids",
      -        "missing-expected-field",
      -        "non-canonical-graph-array",
      -        "dangling-graph-reference",
      -        "duplicate-slug",
      -        "duplicate-uid",
      -        "definition-missing",
      -        "boundary-missing",
      -        "epistemic-exclusion",
      -        "uncertainty-missing",
      -        "slug-outside-kind-folder",
      -        "folder-only-evidence",
      -        "dependency-unwitnessed",
      -        "dependency-unjudged",
      -        "starter-example-node",
      -        "kind-under-sources",
      -        "relation-note-on-unread",
      -        "rule-without-read-lines",
      -        "dependency-both-ways",
      -        "path-without-code",
      -        "path-shared"
      -      ]
      -    },
      -    "type": "object"
      -  },
      -  "errorFiles": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "problemFiles": {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "warningFiles": {
      -    "minimum": 0,
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / summary / required
      Removed value: -[
      -  "problemFiles",
      -  "errorFiles",
      -  "warningFiles",
      -  "byCode"
      -]
    • removedOutput schema / properties / summaryFreshness / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / summaryFreshness / properties
      Removed value: -{
      -  "checked": {
      -    "type": "boolean"
      -  },
      -  "hint": {
      -    "type": "string"
      -  },
      -  "stale": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "behindByMs": {
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        "bodyChangedAt": {
      -          "format": "date-time",
      -          "type": "string"
      -        },
      -        "childCount": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "hint": {
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        },
      -        "kind": {
      -          "enum": [
      -            "project",
      -            "domain"
      -          ],
      -          "type": "string"
      -        },
      -        "membershipChangedAt": {
      -          "format": "date-time",
      -          "type": "string"
      -        },
      -        "reasonCode": {
      -          "type": "string"
      -        },
      -        "score": {
      -          "maximum": 1,
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        "slug": {
      -          "minLength": 1,
      -          "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "slug",
      -        "kind",
      -        "childCount",
      -        "score",
      -        "hint"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "summaryNodes": {
      -    "minimum": 0,
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / summaryFreshness / required
      Removed value: -[
      -  "checked",
      -  "summaryNodes",
      -  "stale",
      -  "hint"
      -]
  2. Changed3 schema fields changedv2.4.0
    • addedOutput schema / properties / coverage
      Added value: +{
      +  "description": "One line: of the abilities the survey lists (entry points, dispatched operations, library exports, families), how many have their own node, are named inside a capability or element or are excluded with a reason, and each unplaced ability by name; the capabilities that cite no lines this server process read holding a condition, with the exact analyze_repo_structure call that reads them; the capabilities stating a rule without citing read lines that hold its condition, with the read and patch; and the capabilities no ability-to-ability depends_on touches. Absent when no repository root is grounded or it has no product source.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / problems / items / properties / issues / items / properties / code / enum
      Previous value: -[
      -  "unclosed-frontmatter",
      -  "parse-zero-keys",
      -  "malformed-frontmatter-line",
      -  "malformed-quoted-scalar",
      -  "missing-kind",
      -  "empty-kind",
      -  "unknown-kind",
      -  "missing-uid",
      -  "invalid-uid",
      -  "invalid-merged-uids",
      -  "non-canonical-merged-uids",
      -  "missing-expected-field",
      -  "non-canonical-graph-array",
      -  "dangling-graph-reference",
      -  "duplicate-slug",
      -  "duplicate-uid",
      -  "definition-missing",
      -  "boundary-missing",
      -  "epistemic-exclusion",
      -  "uncertainty-missing",
      -  "slug-outside-kind-folder",
      -  "folder-only-evidence",
      -  "dependency-unwitnessed",
      -  "dependency-unjudged",
      -  "starter-example-node",
      -  "kind-under-sources"
      -]New value: +[
      +  "unclosed-frontmatter",
      +  "parse-zero-keys",
      +  "malformed-frontmatter-line",
      +  "malformed-quoted-scalar",
      +  "missing-kind",
      +  "empty-kind",
      +  "unknown-kind",
      +  "missing-uid",
      +  "invalid-uid",
      +  "invalid-merged-uids",
      +  "non-canonical-merged-uids",
      +  "missing-expected-field",
      +  "non-canonical-graph-array",
      +  "dangling-graph-reference",
      +  "duplicate-slug",
      +  "duplicate-uid",
      +  "definition-missing",
      +  "boundary-missing",
      +  "epistemic-exclusion",
      +  "uncertainty-missing",
      +  "slug-outside-kind-folder",
      +  "folder-only-evidence",
      +  "dependency-unwitnessed",
      +  "dependency-unjudged",
      +  "starter-example-node",
      +  "kind-under-sources",
      +  "relation-note-on-unread",
      +  "rule-without-read-lines",
      +  "dependency-both-ways",
      +  "path-without-code",
      +  "path-shared"
      +]
    • changedOutput schema / properties / summary / properties / byCode / propertyNames / enum
      Previous value: -[
      -  "unclosed-frontmatter",
      -  "parse-zero-keys",
      -  "malformed-frontmatter-line",
      -  "malformed-quoted-scalar",
      -  "missing-kind",
      -  "empty-kind",
      -  "unknown-kind",
      -  "missing-uid",
      -  "invalid-uid",
      -  "invalid-merged-uids",
      -  "non-canonical-merged-uids",
      -  "missing-expected-field",
      -  "non-canonical-graph-array",
      -  "dangling-graph-reference",
      -  "duplicate-slug",
      -  "duplicate-uid",
      -  "definition-missing",
      -  "boundary-missing",
      -  "epistemic-exclusion",
      -  "uncertainty-missing",
      -  "slug-outside-kind-folder",
      -  "folder-only-evidence",
      -  "dependency-unwitnessed",
      -  "dependency-unjudged",
      -  "starter-example-node",
      -  "kind-under-sources"
      -]New value: +[
      +  "unclosed-frontmatter",
      +  "parse-zero-keys",
      +  "malformed-frontmatter-line",
      +  "malformed-quoted-scalar",
      +  "missing-kind",
      +  "empty-kind",
      +  "unknown-kind",
      +  "missing-uid",
      +  "invalid-uid",
      +  "invalid-merged-uids",
      +  "non-canonical-merged-uids",
      +  "missing-expected-field",
      +  "non-canonical-graph-array",
      +  "dangling-graph-reference",
      +  "duplicate-slug",
      +  "duplicate-uid",
      +  "definition-missing",
      +  "boundary-missing",
      +  "epistemic-exclusion",
      +  "uncertainty-missing",
      +  "slug-outside-kind-folder",
      +  "folder-only-evidence",
      +  "dependency-unwitnessed",
      +  "dependency-unjudged",
      +  "starter-example-node",
      +  "kind-under-sources",
      +  "relation-note-on-unread",
      +  "rule-without-read-lines",
      +  "dependency-both-ways",
      +  "path-without-code",
      +  "path-shared"
      +]
  3. Changed8 schema fields changedv1.4.0
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Problem files per page. Defaults 100.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Zero-based index of the first problem file to return, in the order errors first and then slug. Resume with `problemsPagination.nextOffset`. Defaults 0.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / problems / items / properties / issues / items / properties / code / enum
      Previous value: -[
      -  "unclosed-frontmatter",
      -  "parse-zero-keys",
      -  "malformed-frontmatter-line",
      -  "malformed-quoted-scalar",
      -  "missing-kind",
      -  "empty-kind",
      -  "unknown-kind",
      -  "missing-uid",
      -  "invalid-uid",
      -  "invalid-merged-uids",
      -  "non-canonical-merged-uids",
      -  "missing-expected-field",
      -  "non-canonical-graph-array",
      -  "dangling-graph-reference",
      -  "duplicate-slug",
      -  "duplicate-uid",
      -  "definition-missing",
      -  "boundary-missing",
      -  "epistemic-exclusion",
      -  "uncertainty-missing",
      -  "slug-outside-kind-folder",
      -  "folder-only-evidence",
      -  "dependency-unwitnessed",
      -  "starter-example-node"
      -]New value: +[
      +  "unclosed-frontmatter",
      +  "parse-zero-keys",
      +  "malformed-frontmatter-line",
      +  "malformed-quoted-scalar",
      +  "missing-kind",
      +  "empty-kind",
      +  "unknown-kind",
      +  "missing-uid",
      +  "invalid-uid",
      +  "invalid-merged-uids",
      +  "non-canonical-merged-uids",
      +  "missing-expected-field",
      +  "non-canonical-graph-array",
      +  "dangling-graph-reference",
      +  "duplicate-slug",
      +  "duplicate-uid",
      +  "definition-missing",
      +  "boundary-missing",
      +  "epistemic-exclusion",
      +  "uncertainty-missing",
      +  "slug-outside-kind-folder",
      +  "folder-only-evidence",
      +  "dependency-unwitnessed",
      +  "dependency-unjudged",
      +  "starter-example-node",
      +  "kind-under-sources"
      +]
    • addedOutput schema / properties / problemsHint
      Added value: +{
      +  "description": "Present when the vault has more than one page: which files this page shows and the call for the next one.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / problemsPagination
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The page `problems` holds: `total` problem files, and `nextOffset` for the next page until `hasMore` is false.",
      +  "properties": {
      +    "hasMore": {
      +      "type": "boolean"
      +    },
      +    "limit": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "nextOffset": {
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "offset": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "returned": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "total": {
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "offset",
      +    "limit",
      +    "total",
      +    "returned",
      +    "hasMore",
      +    "nextOffset"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / summary / properties / byCode / additionalProperties / properties / files / description
      Added value: +"At most 20 of the `count` files with this code, in page order."
    • addedOutput schema / properties / summary / properties / byCode / additionalProperties / properties / filesOmitted
      Added value: +{
      +  "description": "Present when `files` names fewer than `count`: how many more. Page through `problems` for them.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / summary / properties / byCode / propertyNames / enum
      Previous value: -[
      -  "unclosed-frontmatter",
      -  "parse-zero-keys",
      -  "malformed-frontmatter-line",
      -  "malformed-quoted-scalar",
      -  "missing-kind",
      -  "empty-kind",
      -  "unknown-kind",
      -  "missing-uid",
      -  "invalid-uid",
      -  "invalid-merged-uids",
      -  "non-canonical-merged-uids",
      -  "missing-expected-field",
      -  "non-canonical-graph-array",
      -  "dangling-graph-reference",
      -  "duplicate-slug",
      -  "duplicate-uid",
      -  "definition-missing",
      -  "boundary-missing",
      -  "epistemic-exclusion",
      -  "uncertainty-missing",
      -  "slug-outside-kind-folder",
      -  "folder-only-evidence",
      -  "dependency-unwitnessed",
      -  "starter-example-node"
      -]New value: +[
      +  "unclosed-frontmatter",
      +  "parse-zero-keys",
      +  "malformed-frontmatter-line",
      +  "malformed-quoted-scalar",
      +  "missing-kind",
      +  "empty-kind",
      +  "unknown-kind",
      +  "missing-uid",
      +  "invalid-uid",
      +  "invalid-merged-uids",
      +  "non-canonical-merged-uids",
      +  "missing-expected-field",
      +  "non-canonical-graph-array",
      +  "dangling-graph-reference",
      +  "duplicate-slug",
      +  "duplicate-uid",
      +  "definition-missing",
      +  "boundary-missing",
      +  "epistemic-exclusion",
      +  "uncertainty-missing",
      +  "slug-outside-kind-folder",
      +  "folder-only-evidence",
      +  "dependency-unwitnessed",
      +  "dependency-unjudged",
      +  "starter-example-node",
      +  "kind-under-sources"
      +]
  4. Changed3 schema fields changedv1.3.0
    • addedOutput schema / properties / evidenceDrift
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Whether each concept still stands on the code it cites, dated by one Git walk: current / stale / missing / unknown per concept, with the stale and missing rows named (bounded to 50 each).",
      +  "properties": {
      +    "checked": {
      +      "type": "boolean"
      +    },
      +    "counts": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "current": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "folderOnly": {
      +          "description": "Unknown rows whose only moved evidence is a folder path.",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "missing": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "stale": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "unknown": {
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "current",
      +        "stale",
      +        "missing",
      +        "unknown",
      +        "folderOnly"
      +      ],
      +      "type": "object"
      +    },
      +    "folderOnly": {
      +      "description": "Concepts whose only evidence that moved is a folder: something under it changed, which is not yet a verdict on the meaning.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "docChangedAt": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "folders": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "changedAt": {
      +                  "type": "string"
      +                },
      +                "path": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "path",
      +                "changedAt"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "kind",
      +          "docChangedAt",
      +          "folders"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "hint": {
      +      "type": "string"
      +    },
      +    "missing": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "gone": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "kind",
      +          "gone"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "reason": {
      +      "description": "Why nothing was dated, when `checked` is false.",
      +      "type": "string"
      +    },
      +    "repoRoot": {
      +      "minLength": 1,
      +      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +      "type": "string"
      +    },
      +    "stale": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "docChangedAt": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "moved": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "changedAt": {
      +                  "type": "string"
      +                },
      +                "path": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "path",
      +                "changedAt"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "slug": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "kind",
      +          "docChangedAt",
      +          "moved"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "checked",
      +    "counts",
      +    "stale",
      +    "missing",
      +    "folderOnly",
      +    "hint"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / problems / items / properties / issues / items / properties / code / enum
      Previous value: -[
      -  "unclosed-frontmatter",
      -  "parse-zero-keys",
      -  "malformed-frontmatter-line",
      -  "malformed-quoted-scalar",
      -  "missing-kind",
      -  "empty-kind",
      -  "unknown-kind",
      -  "missing-uid",
      -  "invalid-uid",
      -  "invalid-merged-uids",
      -  "non-canonical-merged-uids",
      -  "missing-expected-field",
      -  "non-canonical-graph-array",
      -  "dangling-graph-reference",
      -  "duplicate-slug",
      -  "duplicate-uid"
      -]New value: +[
      +  "unclosed-frontmatter",
      +  "parse-zero-keys",
      +  "malformed-frontmatter-line",
      +  "malformed-quoted-scalar",
      +  "missing-kind",
      +  "empty-kind",
      +  "unknown-kind",
      +  "missing-uid",
      +  "invalid-uid",
      +  "invalid-merged-uids",
      +  "non-canonical-merged-uids",
      +  "missing-expected-field",
      +  "non-canonical-graph-array",
      +  "dangling-graph-reference",
      +  "duplicate-slug",
      +  "duplicate-uid",
      +  "definition-missing",
      +  "boundary-missing",
      +  "epistemic-exclusion",
      +  "uncertainty-missing",
      +  "slug-outside-kind-folder",
      +  "folder-only-evidence",
      +  "dependency-unwitnessed",
      +  "starter-example-node"
      +]
    • changedOutput schema / properties / summary / properties / byCode / propertyNames / enum
      Previous value: -[
      -  "unclosed-frontmatter",
      -  "parse-zero-keys",
      -  "malformed-frontmatter-line",
      -  "malformed-quoted-scalar",
      -  "missing-kind",
      -  "empty-kind",
      -  "unknown-kind",
      -  "missing-uid",
      -  "invalid-uid",
      -  "invalid-merged-uids",
      -  "non-canonical-merged-uids",
      -  "missing-expected-field",
      -  "non-canonical-graph-array",
      -  "dangling-graph-reference",
      -  "duplicate-slug",
      -  "duplicate-uid"
      -]New value: +[
      +  "unclosed-frontmatter",
      +  "parse-zero-keys",
      +  "malformed-frontmatter-line",
      +  "malformed-quoted-scalar",
      +  "missing-kind",
      +  "empty-kind",
      +  "unknown-kind",
      +  "missing-uid",
      +  "invalid-uid",
      +  "invalid-merged-uids",
      +  "non-canonical-merged-uids",
      +  "missing-expected-field",
      +  "non-canonical-graph-array",
      +  "dangling-graph-reference",
      +  "duplicate-slug",
      +  "duplicate-uid",
      +  "definition-missing",
      +  "boundary-missing",
      +  "epistemic-exclusion",
      +  "uncertainty-missing",
      +  "slug-outside-kind-folder",
      +  "folder-only-evidence",
      +  "dependency-unwitnessed",
      +  "starter-example-node"
      +]
  5. Changed2 schema fields changedv1.2.5
    • addedOutput schema / properties / summaryFreshness
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "checked": {
      +      "type": "boolean"
      +    },
      +    "hint": {
      +      "type": "string"
      +    },
      +    "stale": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "behindByMs": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "bodyChangedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "childCount": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "hint": {
      +            "minLength": 1,
      +            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +            "type": "string"
      +          },
      +          "kind": {
      +            "enum": [
      +              "project",
      +              "domain"
      +            ],
      +            "type": "string"
      +          },
      +          "membershipChangedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "reasonCode": {
      +            "type": "string"
      +          },
      +          "score": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "slug": {
      +            "minLength": 1,
      +            "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "kind",
      +          "childCount",
      +          "score",
      +          "hint"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "summaryNodes": {
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "checked",
      +    "summaryNodes",
      +    "stale",
      +    "hint"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "scanned",
      -  "problems",
      -  "summary",
      -  "pathDrift"
      -]New value: +[
      +  "scanned",
      +  "problems",
      +  "summary",
      +  "summaryFreshness",
      +  "pathDrift"
      +]
  6. First observedv0.13.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description corroborates with 'side effect 0' and then adds behavior annotations cannot convey: pagination must be followed via problemsPagination.nextOffset until hasMore is false before declaring the vault clean, and it spells out what each result section means (pathDrift, evidenceDrift, coverage). This is exactly the kind of operational context that prevents a premature 'clean' verdict.

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 and cost statement, with no filler sentences. The back half is dense, backtick-laden field-by-field prose that partially duplicates the output schema, which trims a point from otherwise efficient writing.

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

Completeness5/5

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

For a read-only aggregate validator with an output schema and full annotation coverage, the description supplies everything an agent needs: when to call it, how to page it correctly, what a clean result requires, how to interpret drift/coverage, and the follow-up tool for one of the findings.

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 the baseline is 3; the description earns a point by clarifying that limit/offset page only `problems` while `summary` counts the whole vault — a distinction the schema alone does not draw. It does not explain repoRoot beyond what the schema already says.

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 with explicit scope: 'Validate every doc in the vault in one call and return a per-doc + per-code aggregate.' The 'whole-vault health view' framing tells an agent exactly what class of result to expect, distinct from a single-doc or single-definition check.

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 invocation contexts: 'first-contact before writes and before / after a batch write,' and points to patch_concept for fixing pathDrift. It never names an alternative validator (e.g. the sibling validate_wiki) or states when not to use this tool, so it stops short of full routing guidance.

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