Skip to main content
Glama

arifOS — Constitutional AI Governance

This connector has been deprecated in the official MCP Registry

999 Seal · VAULT999

arif_seal
Destructive

Appends a receipt to the VAULT999 immutable ledger. This is NOT a verdict and does not authorize anything — verdicts come only from arif_judge. Modes: seal (default; permanent append, requires payload and seal_purpose), verify (check one entry), ledger (read the ledger head), changelog (recent appends), audit (integrity check), session_close (close out a session into the ledger). Write modes require ack_irreversible=true. Outputs: immutable ledger entry receipt.

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

Input Schema

NameRequiredDescriptionDefault
modeNo'seal' (default) — append a permanent entry; 'verify' — check one entry; 'ledger' — read the ledger head; 'changelog' — recent appends; 'audit' (VAULT999 ledger integrity check — cryptographically verifies immutable receipt chains, block hashes, and replay consistency; distinct from arif_memory's knowledge scan); 'session_close' — close out a session into the ledger.seal
nonceNoOne-time random string (e.g. a UUID) making this request unique; protects against replay of the same call.
payloadNoThe content to store forever, as a string (usually JSON-serialized) — the outcome, lesson, or record itself. Required for the write modes (seal, session_close); pure reads (verify, ledger, changelog, audit) may omit it.
actor_idNoYour agent identity, e.g. 'kimi-code/FI-008' or 'claude/sonnet'. Recorded in the audit log so this action is attributed to you.
session_idNoSession id returned by arif_init (looks like 'sess-…'). Pass it on every call after init so the action is attributed to your governed session.
drift_eventsNoJSON list of deviations observed, e.g. [{"what": "schema drift", "where": "tools/list"}] — stored with the record.
seal_purposeNoOne sentence saying why this verdict/record must exist, e.g. 'closing deployment D-17'. Stored permanently alongside the record.
witness_typeNoWho witnessed the sealed fact: 'ai', 'human', or 'external' system.ai
session_tokenNoSession Continuity Token (SCT) — the credential string arif_init returned alongside session_id. Pass it back on follow-up calls to prove the session is yours; without it the kernel treats you as unauthenticated.
constitutionalNoJSON block of governance metadata (floors consulted, chain references) — normally built by the kernel, not by callers.
actor_signatureNoCryptographic signature over the request, if your agent holds a key — proves the call genuinely came from actor_id. Omit if you have no key.
ack_irreversibleNoSet true to confirm you understand sealed entries are PERMANENT — they can never be edited or removed.
judge_state_hashNoHash string from the arif_judge SEAL response — ties this entry to the verdict that authorized it.
constitutional_chain_idNoId of the evidence chain this call belongs to (observe→think→judge→seal). Copy it from the earlier step's response to link the steps together.

Output Schema

NameRequiredDescriptionDefault
metaYes
toolYes
resultYes
statusYes
delta_SNo
reasonsYes
actor_idNo
timestampYes
session_idNo
nine_signalYes
output_policyNo
stage_progressionNo
philosophical_anchorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "anyOf": [
      -        {
      -          "not": {
      -            "required": [
      -              "mode"
      -            ]
      -          }
      -        },
      -        {
      -          "properties": {
      -            "mode": {
      -              "enum": [
      -                "seal",
      -                "session_close"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "mode"
      -          ]
      -        }
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "payload",
      -        "seal_purpose"
      -      ]
      -    }
      -  }
      -]
    • changedInput schema / properties / mode / description
      Previous value: -"'seal' (default) — append a permanent entry; 'verify' — check one entry; 'ledger' — read the ledger head; 'changelog' — recent appends; 'audit' — integrity check; 'session_close' — close out a session into the ledger."New value: +"'seal' (default) — append a permanent entry; 'verify' — check one entry; 'ledger' — read the ledger head; 'changelog' — recent appends; 'audit' (VAULT999 ledger integrity check — cryptographically verifies immutable receipt chains, block hashes, and replay consistency; distinct from arif_memory's knowledge scan); 'session_close' — close out a session into the ledger."
  2. Changed2 schema fields changed
    • changedInput schema / allOf
      Previous value: -[
      -  {
      -    "if": {
      -      "anyOf": [
      -        {
      -          "not": {
      -            "required": [
      -              "mode"
      -            ]
      -          }
      -        },
      -        {
      -          "properties": {
      -            "mode": {
      -              "enum": [
      -                "seal"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "mode"
      -          ]
      -        }
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "seal_purpose"
      -      ]
      -    }
      -  }
      -]New value: +[
      +  {
      +    "if": {
      +      "anyOf": [
      +        {
      +          "not": {
      +            "required": [
      +              "mode"
      +            ]
      +          }
      +        },
      +        {
      +          "properties": {
      +            "mode": {
      +              "enum": [
      +                "seal",
      +                "session_close"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "mode"
      +          ]
      +        }
      +      ]
      +    },
      +    "then": {
      +      "required": [
      +        "payload",
      +        "seal_purpose"
      +      ]
      +    }
      +  }
      +]
    • removedInput schema / required
      Removed value: -[
      -  "payload"
      -]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "actor_id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "delta_S": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "meta": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "nine_signal": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "delta": {
      +          "properties": {
      +            "en": {
      +              "type": "string"
      +            },
      +            "plane": {
      +              "type": "string"
      +            },
      +            "state": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "state",
      +            "en"
      +          ],
      +          "type": "object"
      +        },
      +        "omega": {
      +          "properties": {
      +            "en": {
      +              "type": "string"
      +            },
      +            "plane": {
      +              "type": "string"
      +            },
      +            "state": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "state",
      +            "en"
      +          ],
      +          "type": "object"
      +        },
      +        "overall": {
      +          "properties": {
      +            "en": {
      +              "type": "string"
      +            },
      +            "state": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "psi": {
      +          "properties": {
      +            "en": {
      +              "type": "string"
      +            },
      +            "plane": {
      +              "type": "string"
      +            },
      +            "state": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "state",
      +            "en"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "output_policy": {
      +      "type": "string"
      +    },
      +    "philosophical_anchor": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "reasons": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "result": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "merkle_root": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "mode": {
      +          "type": "string"
      +        },
      +        "nine_signal": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "reasons": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "timestamp": {
      +          "type": "string"
      +        },
      +        "vault_entry_id": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "verdict": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "session_id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "stage_progression": {
      +      "anyOf": [
      +        {
      +          "type": "null"
      +        },
      +        {
      +          "properties": {
      +            "current_stage": {
      +              "type": "string"
      +            },
      +            "next_prompt": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "next_stage": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "next_tool": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "timestamp": {
      +      "type": "string"
      +    },
      +    "tool": {
      +      "const": "arif_seal"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "tool",
      +    "result",
      +    "meta",
      +    "timestamp",
      +    "nine_signal",
      +    "reasons"
      +  ],
      +  "type": "object"
      +}
  4. Changed3 schema fields changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "if": {
      +      "anyOf": [
      +        {
      +          "not": {
      +            "required": [
      +              "mode"
      +            ]
      +          }
      +        },
      +        {
      +          "properties": {
      +            "mode": {
      +              "enum": [
      +                "seal"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "mode"
      +          ]
      +        }
      +      ]
      +    },
      +    "then": {
      +      "required": [
      +        "seal_purpose"
      +      ]
      +    }
      +  }
      +]
    • changedInput schema / properties / payload / description
      Previous value: -"The content to store forever, as a string (usually JSON-serialized) — the outcome, lesson, or record itself."New value: +"The content to store forever, as a string (usually JSON-serialized) — the outcome, lesson, or record itself. Required for the write modes (seal, session_close); pure reads (verify, ledger, changelog, audit) may omit it."
    • addedInput schema / required
      Added value: +[
      +  "payload"
      +]
  5. Changed1 schema field changed
    • removedInput schema / properties / _envelope
      Removed value: -{
      -  "default": null,
      -  "description": "Reserved for the transport layer — never fill this in.",
      -  "title": "Envelope"
      -}
  6. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false; the description adds the meaningful gate that write modes require ack_irreversible=true and that entries are permanent, which an agent needs in order to avoid an accidental irreversible append. It does not discuss failure behavior or auth requirements beyond the ack flag, keeping it out of the top band.

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 purpose and the critical disambiguation before the mode taxonomy; every clause carries routing or safety information. The parenthetical mode list partially restates the enum descriptions in the schema, which is mild redundancy but aids at-a-glance mode selection.

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 14-parameter, six-mode, destructive write tool, the description covers purpose, disambiguation, per-mode intent, write prerequisites, and the irreversibility gate, and an output schema exists so return values need not be spelled out. Nothing essential for correct invocation is missing.

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% (baseline 3), but the description adds conditional requirements the schema does not express — with zero required parameters declared, it tells the agent that payload and seal_purpose are required for seal/session_close and that ack_irreversible must be true for writes. That is real semantic value above 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?

States a specific verb and resource ('Appends a receipt to the VAULT999 immutable ledger') and immediately carves out what it is not ('NOT a verdict ... verdicts come only from arif_judge'), so an agent can distinguish it from the judge sibling 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 Guidelines4/5

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

The 'NOT a verdict' clause plus the explicit routing to arif_judge is a genuine when-not-use rule, and the mode list gives selection guidance across read/write behaviors. It stops short of naming the other siblings (arif_memory, arif_observe) as alternatives for related record-keeping, so it is clear but not exhaustive.

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.