Skip to main content
Glama

vault_commit

Destructive

[PURPOSE] Input Gate + Storage Gate for durable memory mutations: validates provenance tags, masks PII/secrets on ingest (respecting exact_byte), stages unverified claims to Zone 2 hypothesis (v0.1), supports bi-temporal superseding, 4-tier purge removal, causal edge linking, and 7-turn session checkpoints. [CALL] New fact established, cell mutated/deleted, edge linked, or 7-turn milestone reached. [SKIP] Simple read queries (use vault_access). [VS] vault_access=reads; this=input+storage governance. [RETURN] {success,action,input_gate,item,cycle_id}. [SIDE] Writes to Firestore and local WAL.

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_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoTarget cell ID (for update, remove/delete target cell, resolve, unblock/lift_do_not, or explicit ID; omit on unblock to lift all active constraints for caller).
toNoTarget node ID when action=link_edge.
relNoRelation type (supports, why, depends_on, relates_to, contradicts).
fromNoSource node ID when action=link_edge.
tagsNoCategorical search tags.
titleNoDescriptive title for knowledge node.
actionNoMutation action: save new cell, update cell, remove/delete target cell, freeze checkpoint, link edge, resolve hypothesis, unblock HVS constraint, or sync.save
confirmNoExplicit commit approval flag.
contentNoVerified factual content or reasoning summary.
goalTaskNoMission goal or reasoning milestone when action=checkpoint.
is_hypothesisNoSet true to stage as Zone 2 hypothesis (kappa=0.68).
supersedes_idNoPredecessor cell ID to supersede when updating.
hypothesis_actionNoResolution action when action=resolve_hypothesis.
ai_compressed_summaryNoCompressed 30-word summary: [Core: ...] [Causal: ...]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / rel / description
      Previous value: -"Relation type (supports, why, depends_on, relates_to)."New value: +"Relation type (supports, why, depends_on, relates_to, contradicts)."
  2. Changed3 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Mutation action: save new cell, update cell, remove/delete target cell, freeze checkpoint, link edge, resolve hypothesis, or sync."New value: +"Mutation action: save new cell, update cell, remove/delete target cell, freeze checkpoint, link edge, resolve hypothesis, unblock HVS constraint, or sync."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "save",
      -  "update",
      -  "checkpoint",
      -  "link_edge",
      -  "resolve_hypothesis",
      -  "remove",
      -  "sync"
      -]New value: +[
      +  "save",
      +  "update",
      +  "checkpoint",
      +  "link_edge",
      +  "resolve_hypothesis",
      +  "remove",
      +  "sync",
      +  "unblock",
      +  "lift_do_not"
      +]
    • changedInput schema / properties / id / description
      Previous value: -"Target cell ID (for update, remove/delete target cell, resolve, or explicit ID)."New value: +"Target cell ID (for update, remove/delete target cell, resolve, unblock/lift_do_not, or explicit ID; omit on unblock to lift all active constraints for caller)."
  3. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Mutation action: save new cell, update cell, freeze checkpoint, link edge, resolve hypothesis, remove, or sync."New value: +"Mutation action: save new cell, update cell, remove/delete target cell, freeze checkpoint, link edge, resolve hypothesis, or sync."
    • changedInput schema / properties / id / description
      Previous value: -"Target cell ID (for update, remove, resolve, or explicit ID)."New value: +"Target cell ID (for update, remove/delete target cell, resolve, or explicit ID)."
  4. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false, and the description goes well beyond them: it discloses Firestore plus local WAL writes, on-ingest PII/secret masking with an exact_byte escape, staging of unverified claims into Zone 2 at v0.1, and the returned envelope. It stops short of saying which actions are irreversible or what purge tiers actually destroy, which matters for a destructive-flagged tool.

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?

Bracketed section tags make it scannable and front-loaded, with purpose before usage before return shape, and no filler sentences. It is dense with internal jargon (Zone 2, v0.1, kappa=0.68, 4-tier purge, HVS constraint) that costs tokens without being resolvable from the definition alone.

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?

For a 14-parameter, zero-required, destructive mutation tool with annotations but no output schema, the description covers the action surface, side effects, and even a [RETURN] field list. Gaps remain around default behavior when no action is supplied and per-action risk, which an agent would otherwise have to guess.

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%, so the baseline applies and every parameter is already documented there. The description adds conceptual ties (supersedes_id to bi-temporal superseding, is_hypothesis to Zone 2 staging, hypothesis_action to resolution, goalTask to 7-turn checkpoints) but says nothing about id/to/from/rel usage or what confirm=false does, so it does not materially enrich the schema.

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 [PURPOSE] block names a specific verb pair and resource: an input/storage gate for durable memory mutations, then enumerates the concrete behaviors (provenance validation, PII masking, hypothesis staging, bi-temporal superseding, purge removal, edge linking, checkpoints). The [VS] line explicitly separates it from vault_access, so an agent can pick between them without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It supplies an explicit trigger list ([CALL]: new fact, cell mutation/deletion, edge link, 7-turn milestone) and an explicit exclusion routing the agent elsewhere ([SKIP]: simple reads use vault_access). The [VS] line reinforces the read/write split, leaving little to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources