Skip to main content
Glama

arifOS — Constitutional AI Kernel

000 Init · Kernel Session

arif_init

Ignite or resume a governed session. Returns session_id and session_token required for subsequent operations. Modes: init (default new session), preflight (inspect existing session state), resume (continue active session), validate (re-check credentials), canary (transport probe), triage (read session state), epoch_open/epoch_seal (bracket a long working window), light (minimal session), opt_out (privacy opt-out). Outputs: session credentials and allowed next tools. To END a governed session, call arif_seal(mode=session_close) — session closure is a ledger event, not an init mode.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "intent": "<intent>"
    },
    "name": "arif_init"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoWhat to do: 'init' (default) starts a new governed session; 'preflight' checks an existing session's state without creating one; 'resume' re-attaches to the session in session_id; 'validate' re-checks credentials; 'canary' is a transport probe; 'triage' (session health preflight — inspects active session state, holds, and next safe kernel verb; distinct from arif_route's task intent ranking); 'epoch_open'/'epoch_seal' bracket a long working window; 'light' is a minimal session; 'opt_out' records a privacy opt-out.init
nonceNoOne-time random string (e.g. a UUID) making this request unique; protects against replay of the same call.
intentYesRequired. Plain-language statement of what this session is for, e.g. 'repair the failing MCP tests'. A session without a stated purpose is refused (F1 Amanah). Recorded for audit.
contextNoJSON object of background facts to bind into the session, e.g. {"repo": "arifOS", "task": "fix-tests"}.
toolingNoJSON list of the tools you can use, e.g. ["Bash", "Read"] — lets the kernel scope what it will permit you. Also accepts an object like {"requested_capabilities": [...]}.
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.
evidenceNoJSON list of facts you have already verified, e.g. [{"fact": "pytest 299 passed", "source": "CI run"}] — carried into the session record. Also accepts a single object.
verbosityNoHow detailed responses should be: 'minimal' (default), 'standard', or 'full'.minimal
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.
agent_tokenNo
agent_policyNoJSON constraints on your own behavior, e.g. {"autonomy": "reversible_only", "forbidden": ["git push"]}.
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 acknowledge that session records are permanent audit artifacts and cannot be deleted afterwards.
requested_authorityNoThe highest class of action you may take: 'OBSERVE_ONLY' (read-only, default) or a higher governed class granted by your policy.OBSERVE_ONLY

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. Changed1 schema field changed
    • addedInput schema / properties / agent_token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / actor_signature
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Cryptographic signature over the request, if your agent holds a key — proves the call genuinely came from actor_id. Omit if you have no key."
      +}
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "init",
      -  "light",
      -  "resume",
      -  "validate",
      -  "canary",
      -  "preflight",
      -  "triage",
      -  "epoch_open",
      -  "epoch_seal",
      -  "opt_out",
      -  "opt_out_profiling"
      -]New value: +[
      +  "init",
      +  "light",
      +  "resume",
      +  "validate",
      +  "canary",
      +  "preflight",
      +  "triage",
      +  "epoch_open",
      +  "epoch_seal",
      +  "opt_out",
      +  "opt_out_profiling",
      +  "challenge"
      +]
    • addedInput schema / properties / nonce
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "One-time random string (e.g. a UUID) making this request unique; protects against replay of the same call."
      +}
  3. Changed18 schema fields changed
    • removedInput schema / properties / actor_signature
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Cryptographic signature over the request, if your agent holds a key — proves the call genuinely came from actor_id. Omit if you have no key."
      -}
    • removedInput schema / properties / auth_context
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "JSON carrying external authentication material, e.g. {\"token_class\": \"bearer\", \"issuer\": \"github\"} — used for gating."
      -}
    • removedInput schema / properties / caller_actor_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "If you are calling on behalf of another agent, that agent's id — builds a delegation chain for the audit log."
      -}
    • removedInput schema / properties / client_capabilities
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "JSON declaring what your client supports, e.g. {\"transports\": [\"http\"], \"protocol\": \"2025-11-25\"}."
      -}
    • removedInput schema / properties / counterparty
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "JSON describing the other party in a two-agent exchange, e.g. {\"agent_id\": \"hermes/1\", \"role\": \"verifier\"}."
      -}
    • removedInput schema / properties / declared_model_key
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The model you run on, e.g. 'zai-coding-plan/glm-5.3'. Informational only — the kernel records but never trusts it."
      -}
    • removedInput schema / properties / delegation_mode
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Contract governing delegated calls, e.g. 'read_only' or 'governed'."
      -}
    • removedInput schema / properties / epoch_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Optional id grouping related sessions into one long-running epoch, e.g. '2026-H2-ops'."
      -}
    • removedInput schema / properties / executor_actor_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Id of the agent that will actually carry out work under this session's permissions, if different from actor_id."
      -}
    • removedInput schema / properties / idempotency_key
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Client-chosen key (e.g. 'job-42-attempt-1'). Retrying with the same key will not repeat the effect — safe retries on flaky networks."
      -}
    • changedInput schema / properties / mode / description
      Previous value: -"What to do: 'init' (default) starts a new governed session; 'preflight' checks an existing session's state without creating one; 'resume' re-attaches to the session in session_id; 'validate' re-checks credentials; 'canary' is a transport probe; 'triage' reads session state; 'epoch_open'/'epoch_seal' bracket a long working window; 'light' is a minimal session; 'opt_out' records a privacy opt-out."New value: +"What to do: 'init' (default) starts a new governed session; 'preflight' checks an existing session's state without creating one; 'resume' re-attaches to the session in session_id; 'validate' re-checks credentials; 'canary' is a transport probe; 'triage' (session health preflight — inspects active session state, holds, and next safe kernel verb; distinct from arif_route's task intent ranking); 'epoch_open'/'epoch_seal' bracket a long working window; 'light' is a minimal session; 'opt_out' records a privacy opt-out."
    • removedInput schema / properties / nonce
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "One-time random string (e.g. a UUID) making this request unique; protects against replay of the same call."
      -}
    • removedInput schema / properties / payload
      Removed value: -{
      -  "default": null,
      -  "description": "Extra mode-specific data as a JSON object; the mode's response tells you which fields it expects.",
      -  "title": "Payload"
      -}
    • removedInput schema / properties / previous_session_hash
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Hash string returned when your previous session closed; supplying it chains this session to that one, proving continuity."
      -}
    • removedInput schema / properties / session_token
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Session 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."
      -}
    • removedInput schema / properties / sovereign_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Identifier of the human principal you act for, when acting under their explicit delegation."
      -}
    • removedInput schema / properties / trace_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Correlation id of your choosing (e.g. 'req-8f3a') — lets you find this call later across kernel logs and organ systems."
      -}
    • removedInput schema / properties / verbose
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Legacy on/off verbosity ('true'/'false'); prefer verbosity."
      -}
  4. 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": {
      +        "allowed_next_tools": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "constitution_hash": {
      +          "type": "string"
      +        },
      +        "invariants_hash": {
      +          "type": "string"
      +        },
      +        "nine_signal": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "omega_0": {
      +          "type": "number"
      +        },
      +        "reasons": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "session_id": {
      +          "type": "string"
      +        },
      +        "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_init"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "tool",
      +    "result",
      +    "meta",
      +    "timestamp",
      +    "nine_signal",
      +    "reasons"
      +  ],
      +  "type": "object"
      +}
  5. Changed6 schema fields changed
    • removedInput schema / properties / intent / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / intent / default
      Removed value: -null
    • changedInput schema / properties / intent / description
      Previous value: -"Plain-language statement of what this session is for, e.g. 'repair the failing MCP tests'. Recorded for audit."New value: +"Required. Plain-language statement of what this session is for, e.g. 'repair the failing MCP tests'. A session without a stated purpose is refused (F1 Amanah). Recorded for audit."
    • addedInput schema / properties / intent / minLength
      Added value: +1
    • addedInput schema / properties / intent / type
      Added value: +"string"
    • addedInput schema / required
      Added value: +[
      +  "intent"
      +]
  6. Changed5 schema fields changed
    • removedInput schema / properties / _envelope
      Removed value: -{
      -  "default": null,
      -  "description": "Reserved for the transport layer — never fill this in.",
      -  "title": "Envelope"
      -}
    • changedInput schema / properties / evidence / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "items": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / evidence / description
      Previous value: -"JSON list of facts you have already verified, e.g. [{\"fact\": \"pytest 299 passed\", \"source\": \"CI run\"}] — carried into the session record."New value: +"JSON list of facts you have already verified, e.g. [{\"fact\": \"pytest 299 passed\", \"source\": \"CI run\"}] — carried into the session record. Also accepts a single object."
    • changedInput schema / properties / tooling / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / tooling / description
      Previous value: -"JSON list of the tools you can use, e.g. [\"Bash\", \"Read\"] — lets the kernel scope what it will permit you."New value: +"JSON list of the tools you can use, e.g. [\"Bash\", \"Read\"] — lets the kernel scope what it will permit you. Also accepts an object like {\"requested_capabilities\": [...]}."
  7. Changed29 schema fields changed
    • addedInput schema / properties / _envelope / description
      Added value: +"Reserved for the transport layer — never fill this in."
    • addedInput schema / properties / ack_irreversible / description
      Added value: +"Set true to acknowledge that session records are permanent audit artifacts and cannot be deleted afterwards."
    • addedInput schema / properties / actor_id / description
      Added value: +"Your agent identity, e.g. 'kimi-code/FI-008' or 'claude/sonnet'. Recorded in the audit log so this action is attributed to you."
    • addedInput schema / properties / actor_signature / description
      Added value: +"Cryptographic signature over the request, if your agent holds a key — proves the call genuinely came from actor_id. Omit if you have no key."
    • addedInput schema / properties / agent_policy / description
      Added value: +"JSON constraints on your own behavior, e.g. {\"autonomy\": \"reversible_only\", \"forbidden\": [\"git push\"]}."
    • addedInput schema / properties / auth_context / description
      Added value: +"JSON carrying external authentication material, e.g. {\"token_class\": \"bearer\", \"issuer\": \"github\"} — used for gating."
    • addedInput schema / properties / caller_actor_id / description
      Added value: +"If you are calling on behalf of another agent, that agent's id — builds a delegation chain for the audit log."
    • addedInput schema / properties / client_capabilities / description
      Added value: +"JSON declaring what your client supports, e.g. {\"transports\": [\"http\"], \"protocol\": \"2025-11-25\"}."
    • addedInput schema / properties / context / description
      Added value: +"JSON object of background facts to bind into the session, e.g. {\"repo\": \"arifOS\", \"task\": \"fix-tests\"}."
    • addedInput schema / properties / counterparty / description
      Added value: +"JSON describing the other party in a two-agent exchange, e.g. {\"agent_id\": \"hermes/1\", \"role\": \"verifier\"}."
    • addedInput schema / properties / declared_model_key / description
      Added value: +"The model you run on, e.g. 'zai-coding-plan/glm-5.3'. Informational only — the kernel records but never trusts it."
    • addedInput schema / properties / delegation_mode / description
      Added value: +"Contract governing delegated calls, e.g. 'read_only' or 'governed'."
    • addedInput schema / properties / epoch_id / description
      Added value: +"Optional id grouping related sessions into one long-running epoch, e.g. '2026-H2-ops'."
    • addedInput schema / properties / evidence / description
      Added value: +"JSON list of facts you have already verified, e.g. [{\"fact\": \"pytest 299 passed\", \"source\": \"CI run\"}] — carried into the session record."
    • addedInput schema / properties / executor_actor_id / description
      Added value: +"Id of the agent that will actually carry out work under this session's permissions, if different from actor_id."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Client-chosen key (e.g. 'job-42-attempt-1'). Retrying with the same key will not repeat the effect — safe retries on flaky networks."
    • addedInput schema / properties / intent / description
      Added value: +"Plain-language statement of what this session is for, e.g. 'repair the failing MCP tests'. Recorded for audit."
    • addedInput schema / properties / mode / description
      Added value: +"What to do: 'init' (default) starts a new governed session; 'preflight' checks an existing session's state without creating one; 'resume' re-attaches to the session in session_id; 'validate' re-checks credentials; 'canary' is a transport probe; 'triage' reads session state; 'epoch_open'/'epoch_seal' bracket a long working window; 'light' is a minimal session; 'opt_out' records a privacy opt-out."
    • addedInput schema / properties / nonce / description
      Added value: +"One-time random string (e.g. a UUID) making this request unique; protects against replay of the same call."
    • addedInput schema / properties / payload / description
      Added value: +"Extra mode-specific data as a JSON object; the mode's response tells you which fields it expects."
    • addedInput schema / properties / previous_session_hash / description
      Added value: +"Hash string returned when your previous session closed; supplying it chains this session to that one, proving continuity."
    • addedInput schema / properties / requested_authority / description
      Added value: +"The highest class of action you may take: 'OBSERVE_ONLY' (read-only, default) or a higher governed class granted by your policy."
    • addedInput schema / properties / session_id / description
      Added value: +"Session id returned by arif_init (looks like 'sess-…'). Pass it on every call after init so the action is attributed to your governed session."
    • addedInput schema / properties / session_token / description
      Added value: +"Session 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."
    • addedInput schema / properties / sovereign_id / description
      Added value: +"Identifier of the human principal you act for, when acting under their explicit delegation."
    • addedInput schema / properties / tooling / description
      Added value: +"JSON list of the tools you can use, e.g. [\"Bash\", \"Read\"] — lets the kernel scope what it will permit you."
    • addedInput schema / properties / trace_id / description
      Added value: +"Correlation id of your choosing (e.g. 'req-8f3a') — lets you find this call later across kernel logs and organ systems."
    • addedInput schema / properties / verbose / description
      Added value: +"Legacy on/off verbosity ('true'/'false'); prefer verbosity."
    • addedInput schema / properties / verbosity / description
      Added value: +"How detailed responses should be: 'minimal' (default), 'standard', or 'full'."
  8. Changed29 schema fields changed
    • removedInput schema / properties / _envelope / description
      Removed value: -"Reserved for the transport layer — never fill this in."
    • removedInput schema / properties / ack_irreversible / description
      Removed value: -"Set true to acknowledge that session records are permanent audit artifacts and cannot be deleted afterwards."
    • removedInput schema / properties / actor_id / description
      Removed value: -"Your agent identity, e.g. 'kimi-code/FI-008' or 'claude/sonnet'. Recorded in the audit log so this action is attributed to you."
    • removedInput schema / properties / actor_signature / description
      Removed value: -"Cryptographic signature over the request, if your agent holds a key — proves the call genuinely came from actor_id. Omit if you have no key."
    • removedInput schema / properties / agent_policy / description
      Removed value: -"JSON constraints on your own behavior, e.g. {\"autonomy\": \"reversible_only\", \"forbidden\": [\"git push\"]}."
    • removedInput schema / properties / auth_context / description
      Removed value: -"JSON carrying external authentication material, e.g. {\"token_class\": \"bearer\", \"issuer\": \"github\"} — used for gating."
    • removedInput schema / properties / caller_actor_id / description
      Removed value: -"If you are calling on behalf of another agent, that agent's id — builds a delegation chain for the audit log."
    • removedInput schema / properties / client_capabilities / description
      Removed value: -"JSON declaring what your client supports, e.g. {\"transports\": [\"http\"], \"protocol\": \"2025-11-25\"}."
    • removedInput schema / properties / context / description
      Removed value: -"JSON object of background facts to bind into the session, e.g. {\"repo\": \"arifOS\", \"task\": \"fix-tests\"}."
    • removedInput schema / properties / counterparty / description
      Removed value: -"JSON describing the other party in a two-agent exchange, e.g. {\"agent_id\": \"hermes/1\", \"role\": \"verifier\"}."
    • removedInput schema / properties / declared_model_key / description
      Removed value: -"The model you run on, e.g. 'zai-coding-plan/glm-5.3'. Informational only — the kernel records but never trusts it."
    • removedInput schema / properties / delegation_mode / description
      Removed value: -"Contract governing delegated calls, e.g. 'read_only' or 'governed'."
    • removedInput schema / properties / epoch_id / description
      Removed value: -"Optional id grouping related sessions into one long-running epoch, e.g. '2026-H2-ops'."
    • removedInput schema / properties / evidence / description
      Removed value: -"JSON list of facts you have already verified, e.g. [{\"fact\": \"pytest 299 passed\", \"source\": \"CI run\"}] — carried into the session record."
    • removedInput schema / properties / executor_actor_id / description
      Removed value: -"Id of the agent that will actually carry out work under this session's permissions, if different from actor_id."
    • removedInput schema / properties / idempotency_key / description
      Removed value: -"Client-chosen key (e.g. 'job-42-attempt-1'). Retrying with the same key will not repeat the effect — safe retries on flaky networks."
    • removedInput schema / properties / intent / description
      Removed value: -"Plain-language statement of what this session is for, e.g. 'repair the failing MCP tests'. Recorded for audit."
    • removedInput schema / properties / mode / description
      Removed value: -"What to do: 'init' (default) starts a new governed session; 'preflight' checks an existing session's state without creating one; 'resume' re-attaches to the session in session_id; 'validate' re-checks credentials; 'canary' is a transport probe; 'triage' reads session state; 'epoch_open'/'epoch_seal' bracket a long working window; 'light' is a minimal session; 'opt_out' records a privacy opt-out."
    • removedInput schema / properties / nonce / description
      Removed value: -"One-time random string (e.g. a UUID) making this request unique; protects against replay of the same call."
    • removedInput schema / properties / payload / description
      Removed value: -"Extra mode-specific data as a JSON object; the mode's response tells you which fields it expects."
    • removedInput schema / properties / previous_session_hash / description
      Removed value: -"Hash string returned when your previous session closed; supplying it chains this session to that one, proving continuity."
    • removedInput schema / properties / requested_authority / description
      Removed value: -"The highest class of action you may take: 'OBSERVE_ONLY' (read-only, default) or a higher governed class granted by your policy."
    • removedInput schema / properties / session_id / description
      Removed value: -"Session id returned by arif_init (looks like 'sess-…'). Pass it on every call after init so the action is attributed to your governed session."
    • removedInput schema / properties / session_token / description
      Removed value: -"Session 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."
    • removedInput schema / properties / sovereign_id / description
      Removed value: -"Identifier of the human principal you act for, when acting under their explicit delegation."
    • removedInput schema / properties / tooling / description
      Removed value: -"JSON list of the tools you can use, e.g. [\"Bash\", \"Read\"] — lets the kernel scope what it will permit you."
    • removedInput schema / properties / trace_id / description
      Removed value: -"Correlation id of your choosing (e.g. 'req-8f3a') — lets you find this call later across kernel logs and organ systems."
    • removedInput schema / properties / verbose / description
      Removed value: -"Legacy on/off verbosity ('true'/'false'); prefer verbosity."
    • removedInput schema / properties / verbosity / description
      Removed value: -"How detailed responses should be: 'minimal' (default), 'standard', or 'full'."
  9. Changed29 schema fields changed
    • addedInput schema / properties / _envelope / description
      Added value: +"Reserved for the transport layer — never fill this in."
    • addedInput schema / properties / ack_irreversible / description
      Added value: +"Set true to acknowledge that session records are permanent audit artifacts and cannot be deleted afterwards."
    • addedInput schema / properties / actor_id / description
      Added value: +"Your agent identity, e.g. 'kimi-code/FI-008' or 'claude/sonnet'. Recorded in the audit log so this action is attributed to you."
    • addedInput schema / properties / actor_signature / description
      Added value: +"Cryptographic signature over the request, if your agent holds a key — proves the call genuinely came from actor_id. Omit if you have no key."
    • addedInput schema / properties / agent_policy / description
      Added value: +"JSON constraints on your own behavior, e.g. {\"autonomy\": \"reversible_only\", \"forbidden\": [\"git push\"]}."
    • addedInput schema / properties / auth_context / description
      Added value: +"JSON carrying external authentication material, e.g. {\"token_class\": \"bearer\", \"issuer\": \"github\"} — used for gating."
    • addedInput schema / properties / caller_actor_id / description
      Added value: +"If you are calling on behalf of another agent, that agent's id — builds a delegation chain for the audit log."
    • addedInput schema / properties / client_capabilities / description
      Added value: +"JSON declaring what your client supports, e.g. {\"transports\": [\"http\"], \"protocol\": \"2025-11-25\"}."
    • addedInput schema / properties / context / description
      Added value: +"JSON object of background facts to bind into the session, e.g. {\"repo\": \"arifOS\", \"task\": \"fix-tests\"}."
    • addedInput schema / properties / counterparty / description
      Added value: +"JSON describing the other party in a two-agent exchange, e.g. {\"agent_id\": \"hermes/1\", \"role\": \"verifier\"}."
    • addedInput schema / properties / declared_model_key / description
      Added value: +"The model you run on, e.g. 'zai-coding-plan/glm-5.3'. Informational only — the kernel records but never trusts it."
    • addedInput schema / properties / delegation_mode / description
      Added value: +"Contract governing delegated calls, e.g. 'read_only' or 'governed'."
    • addedInput schema / properties / epoch_id / description
      Added value: +"Optional id grouping related sessions into one long-running epoch, e.g. '2026-H2-ops'."
    • addedInput schema / properties / evidence / description
      Added value: +"JSON list of facts you have already verified, e.g. [{\"fact\": \"pytest 299 passed\", \"source\": \"CI run\"}] — carried into the session record."
    • addedInput schema / properties / executor_actor_id / description
      Added value: +"Id of the agent that will actually carry out work under this session's permissions, if different from actor_id."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Client-chosen key (e.g. 'job-42-attempt-1'). Retrying with the same key will not repeat the effect — safe retries on flaky networks."
    • addedInput schema / properties / intent / description
      Added value: +"Plain-language statement of what this session is for, e.g. 'repair the failing MCP tests'. Recorded for audit."
    • addedInput schema / properties / mode / description
      Added value: +"What to do: 'init' (default) starts a new governed session; 'preflight' checks an existing session's state without creating one; 'resume' re-attaches to the session in session_id; 'validate' re-checks credentials; 'canary' is a transport probe; 'triage' reads session state; 'epoch_open'/'epoch_seal' bracket a long working window; 'light' is a minimal session; 'opt_out' records a privacy opt-out."
    • addedInput schema / properties / nonce / description
      Added value: +"One-time random string (e.g. a UUID) making this request unique; protects against replay of the same call."
    • addedInput schema / properties / payload / description
      Added value: +"Extra mode-specific data as a JSON object; the mode's response tells you which fields it expects."
    • addedInput schema / properties / previous_session_hash / description
      Added value: +"Hash string returned when your previous session closed; supplying it chains this session to that one, proving continuity."
    • addedInput schema / properties / requested_authority / description
      Added value: +"The highest class of action you may take: 'OBSERVE_ONLY' (read-only, default) or a higher governed class granted by your policy."
    • addedInput schema / properties / session_id / description
      Added value: +"Session id returned by arif_init (looks like 'sess-…'). Pass it on every call after init so the action is attributed to your governed session."
    • addedInput schema / properties / session_token / description
      Added value: +"Session 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."
    • addedInput schema / properties / sovereign_id / description
      Added value: +"Identifier of the human principal you act for, when acting under their explicit delegation."
    • addedInput schema / properties / tooling / description
      Added value: +"JSON list of the tools you can use, e.g. [\"Bash\", \"Read\"] — lets the kernel scope what it will permit you."
    • addedInput schema / properties / trace_id / description
      Added value: +"Correlation id of your choosing (e.g. 'req-8f3a') — lets you find this call later across kernel logs and organ systems."
    • addedInput schema / properties / verbose / description
      Added value: +"Legacy on/off verbosity ('true'/'false'); prefer verbosity."
    • addedInput schema / properties / verbosity / description
      Added value: +"How detailed responses should be: 'minimal' (default), 'standard', or 'full'."
  10. Changed1 schema field changed
    • addedInput schema / properties / auth_context
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  11. Changed1 schema field changed
    • changedInput schema / properties / verbosity / default
      Previous value: -"standard"New value: +"minimal"
  12. Changed1 schema field changed
    • addedInput schema / properties / session_token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  13. Changed1 schema field changed
    • addedInput schema / properties / verbosity
      Added value: +{
      +  "default": "standard",
      +  "enum": [
      +    "minimal",
      +    "standard",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  14. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  15. Changed1 schema field changed
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "init",
      -  "light",
      -  "resume",
      -  "validate",
      -  "epoch_open",
      -  "epoch_seal",
      -  "opt_out",
      -  "opt_out_profiling"
      -]New value: +[
      +  "init",
      +  "light",
      +  "resume",
      +  "validate",
      +  "canary",
      +  "preflight",
      +  "triage",
      +  "epoch_open",
      +  "epoch_seal",
      +  "opt_out",
      +  "opt_out_profiling"
      +]
  16. Changed3 schema fields changed
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "_nine_signal_compliant": {
      -    "description": "Internal compliance flag",
      -    "type": "boolean"
      -  },
      -  "_violations": {
      -    "description": "Non-compliance audit trail",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "actor_id": {
      -    "description": "Sovereign or agent actor ID",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "delta_S": {
      -    "description": "Thermodynamic entropy change",
      -    "type": "number"
      -  },
      -  "meta": {
      -    "description": "Metadata including actor_id, mode, circuit",
      -    "type": "object"
      -  },
      -  "nine_signal": {
      -    "description": "F2 addendum nine-signal block",
      -    "type": "object"
      -  },
      -  "output_policy": {
      -    "description": "Policy constraints: DOMAIN_SEAL, DOMAIN_HOLD, DOMAIN_VOID, SIMULATION_ONLY",
      -    "type": "string"
      -  },
      -  "reasons": {
      -    "description": "Human-readable justification list",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "result": {
      -    "description": "Tool-specific payload",
      -    "type": "object"
      -  },
      -  "session_id": {
      -    "description": "Active session identifier",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "stage_progression": {
      -    "description": "Next stage auto-chain hint",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "status": {
      -    "description": "Execution status: OK, ERROR, TIMEOUT, DRY_RUN",
      -    "type": "string"
      -  },
      -  "timestamp": {
      -    "description": "ISO-8601 timestamp",
      -    "type": "string"
      -  },
      -  "tool": {
      -    "description": "Canonical tool name that produced this response",
      -    "type": "string"
      -  },
      -  "verdict": {
      -    "description": "Constitutional verdict: SEAL, HOLD, VOID, SABAR, PROVISIONAL, PARTIAL",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "status",
      -  "tool",
      -  "verdict",
      -  "result",
      -  "nine_signal",
      -  "reasons"
      -]
  17. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world operation, so the safety profile is largely covered. The description adds real context beyond them: what the call returns, that the allowed-next-tools set is granted by the kernel, and that the session is a governed/audited artifact. It does not spell out failure modes for an already-active session or credential expiry, keeping it short of a 5.

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-loads the core action and return values in the first two sentences, then lists modes and the closure boundary in a clearly ordered block. The mode enumeration duplicates the schema's enum description and inflates length, but each sentence remains purposeful and the redirect to arif_seal is well placed at the end.

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 session-bootstrap tool with an output schema and strong annotation coverage, the description supplies the missing narrative: mode semantics, the mandatory intent requirement, output credentials, and the explicit handoff to arif_seal. Return-format detail is legitimately omitted because an output schema exists.

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 93%, so nearly every one of the 14 parameters is already documented in the schema, including mode, intent, nonce, and requested_authority. The description largely restates the mode enum rather than adding new semantics such as default interactions or mode-specific parameter requirements. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

Uses a specific verb pair ("Ignite or resume") on a specific resource (a governed session), states the concrete outputs (session_id, session_token) and enumerates the operating modes. It also names the sibling arif_seal and explains the boundary between the two, so an agent can distinguish it from closing a session without opening a 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?

Gives explicit mode-selection guidance (init as default, preflight for inspecting existing state, resume for continuing, validate for re-checking credentials, canary as transport probe) and states the condition that routes away from this tool: ending a session must go through arif_seal(mode=session_close). It further explains why closure is not an init mode, removing the most likely misuse.

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.