Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GIA_API_KEYNoAPI key for hosted GIA cloud platform (optional)
DATABASE_URLNoPostgreSQL connection string for audit trail persistence (optional)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
classify_decisionA

Classify an AI agent decision using the MAI Framework (Mandatory/Advisory/Informational). Returns classification level, confidence score, gate requirements, and rationale.

evaluate_thresholdA

Compute the Storey Threshold — escalation rate (gates required / total operations). Returns current rate, status, and recommendations. Healthy band 10-18% is a design heuristic, not empirically validated.

score_governanceA

Compute weighted governance score from caller-provided Integrity, Accuracy, and Compliance values (0-1). Returns weighted composite and pass/fail against configured thresholds. Scores are caller-assessed — this tool applies weights and thresholds, not independent evaluation.

assess_risk_tierA

Assess the risk tier of an AI system using rule-based mapping to EU AI Act categories (Unacceptable, High, Limited, Minimal). Returns tier and MAI governance recommendations. Classification is heuristic, not a legal determination.

map_complianceA

Map GIA governance components to regulatory compliance frameworks (NIST AI RMF, EU AI Act, ISO 42001, NIST 800-53, FedRAMP, LINDDUN, MITRE ATLAS, OMB M-25-22, HIPAA, VHA Trustworthy AI). Shows which controls are implemented across 10 frameworks and 63 controls.

verify_ledgerA

Verify the integrity of the hash-chained forensic audit ledger. Recomputes every SHA-256 hash from genesis and reports whether the chain is intact. Classification: INFORMATIONAL — read-only, no side effects.

audit_pipelineA

Query the audit ledger for governance entries. Search by operation name or retrieve recent entries. Returns hash-chained audit trail with MAI classification context.

monitor_agentsA

Monitor the status and health of all governed AI agents. Returns supervisor state, repair history, and failure counts.

system_statusA

Returns a comprehensive read-only snapshot of the GIA governance engine's current state. No parameters required.

RETURNS (JSON object):

  • version: server version string (e.g. "0.3.5")

  • engine.health: "healthy" | "degraded" | "failed"

  • engine.uptimeMs: milliseconds since server start

  • governance.totalDecisions: lifetime decision count

  • governance.mandatoryCount: decisions classified MANDATORY

  • governance.pendingGates: gates awaiting human approval

  • storey_threshold.escalationRatePct: MANDATORY rate as percentage (healthy band: 10–18%)

  • storey_threshold.status: "HEALTHY" | "DEGRADED" | "CRITICAL"

  • ledger.totalEntries: forensic audit trail entry count

  • ledger.chainIntegrity: true if hash chain is unbroken

  • intelligence.phoenixSnapshots: context recovery snapshots

  • intelligence.memoryPacks: sealed memory packs count

  • runtimeAccountability.activeSessions: live MCP sessions

  • thresholdDetail.interpretation: plain-English health summary

USE WHEN:

  • Verifying the governance engine is healthy before dispatching agents

  • Checking if mandatory gate backlog is blocking workflow progression

  • Auditing Storey Threshold compliance (MANDATORY gate rate ceiling)

  • Confirming ledger chain integrity before exporting audit evidence

READ-ONLY: No side effects. Safe to call at any frequency.

generate_reportA

Generate a governance status report. Includes system health, threshold status, compliance coverage, and operational metrics.

export_ledgerA

Export the forensic audit ledger as a structured compliance evidence package. Returns ledger entries for a time range with chain verification, MAI breakdown, gate approvals, and integrity hash. Foundation for deliverable exports. Classification: ADVISORY — read-only.

record_value_metricA

Record a workflow value metric — tracks time saved, risk blocked, success rate, autonomy level, and task complexity for ROI reporting.

record_governance_eventA

Record a governance event — tracks gates triggered, drift prevented, violations blocked, red team findings, and human interventions for impact reporting.

generate_impact_reportB

Generate a full economic + governance impact report. Returns pilot ROI data: time saved, cost avoided, risks blocked, success rate, autonomy trend, and confidence levels.

seal_memory_packB

Create and hash-seal a new Governed Memory Pack (GMP). The pack becomes an immutable, TTL-bound institutional knowledge artifact with trust level enforcement.

load_memory_packB

Load a Governed Memory Pack into agent context. Validates TTL, trust level, role access, context class, and hash integrity before loading.

transfer_memory_packA

Transfer a memory pack between agents via a governed knowledge corridor. Creates a derived pack with transfer provenance. ALWAYS requires MANDATORY gate — no silent transfers.

compose_memory_packsA

Compose multiple memory packs into a unified execution context. Highest risk level wins, shortest TTL wins, roles intersect, trust level contaminates downward.

distill_memory_packA

Distill governance patterns from usage history into a draft heuristic pack. Returns EPHEMERAL draft that requires MANDATORY gate to approve for production use.

promote_memory_packA

Promote a memory pack to a higher trust level after human review. This is how distilled EPHEMERAL packs become CASE or ORG packs. Requires MANDATORY gate.

phoenix_snapshotB

Create a governed state snapshot capturing the current platform operational state. Records ledger chain head, active gates, contracts, budgets, MAI state, intelligence counts, and memory packs. Each snapshot is SHA-256 hashed and chained to the previous snapshot for tamper evidence. Classification: INFORMATIONAL — read-only capture, no mutations.

phoenix_verify_integrityA

Verify the integrity of GIA governed operations. Checks ledger hash-chain integrity, agent health, threshold status, and intelligence layer continuity. Returns a comprehensive integrity report with compliance mapping. Classification: INFORMATIONAL — read-only verification, no mutations.

phoenix_recovery_healthA

Assess Phoenix recovery readiness. Reports whether the system can recover from disruption, including snapshot availability, chain integrity, intelligence layer status, and compliance posture. Classification: INFORMATIONAL — read-only assessment.

request_contextA

Request governed internal context — policies, SOPs, architecture docs, compliance rules, or playbooks. Agents declare intent, GIA decides what to serve. Every retrieval is role-bound, tenant-bound, hash-verified, and ledgered. "Agents don't know internals by default. They request context under contract."

board_list_institutionsA

List all institutions in the GIA Governed Organizational Architecture. Each institution is a governed body (e.g. Architecture Review Board, Federal AI Board) with its own charter hierarchy. Returns institution IDs needed to convene sessions.

board_list_chartersA

List all charters (boards, committees, subcommittees) under a governed institution. Returns charter IDs, types, deliberation modes, seat configurations, and status. Use charter_id to convene sessions.

board_convene_sessionA

Convene a governed deliberation session for a charter. Each seat (AI model with a specific role) deliberates on the topic according to the charter's mode (parallel/chain/adversarial/roundtable/auto). Returns a session_id — use board_get_session to retrieve the output once complete. Typical runtime: 30–120 seconds depending on seat count and mode.

board_get_sessionA

Retrieve the status and output of a governed deliberation session. Returns each seat's position, the synthesized consensus output, dissenting views, and the governance record. If still running, status will be "running" — poll again in 10–15 seconds.

board_install_kitA

Install a prebuilt Institution Kit — a complete governed org chart template with sealed charters ready to convene. Three kits available: "engineering-suite" (ARB + RAB for tech teams), "federal-ai-board" (ARMB + AEOB, NIST/CMMC/FedRAMP/EO14110 aligned), "eu-ai-risk-council" (HRAAB + CAB, EU AI Act + GDPR aligned). Each kit creates an institution with multiple charters, all pre-sealed and ready to use.

board_approve_gateA

Approve a MANDATORY governance gate on a deliberation session. When a board session reaches "pending-gate" status, a human must approve the output before it finalizes. This is the human-in-the-loop enforcement mechanism. After approval, the session transitions to "complete" and the full deliberation output becomes available via board_get_session.

approve_gateA

Approve or reject a pending MANDATORY gate decision. Lists pending gates if no gate_id provided. This is the human-in-the-loop mechanism for MANDATORY classifications.

agent_rightsA

Query and exercise constitutional agent rights (Colony Phase 3). Actions: query_rights (view rights for a charter), explain_rejection (get structured explanation for a gate rejection). Rights enforcement runs automatically in the dispatch pipeline — this tool provides visibility and manual exercise.

board_search_precedentA

Search deliberation precedent (Colony Layer 1). Find prior board rulings on a topic. Returns ranked cases with quality scores, gate approval status, and citation counts. Use this to ground new deliberations in institutional case law. Cite cases by ID: "In Case board-abc123, this board ruled..."

agent_citizenship_statusA

Query agent citizenship tier and merit score (Colony Layer 5). Actions: status (view citizenship and metrics), assess (trigger merit re-evaluation), leaderboard (top agents by merit). Agents earn trust through deliberation quality, behavioral health, gate approval rates, and responsible rights exercise.

branch_authority_statusA

Colony Layer 4 — Separation of Powers. Query constitutional branch authority for users, view the full roster of authority holders, or inspect branch violations. Three branches: legislative (creates law), executive (executes law), judicial (interprets law).

colony_convene_requestA

Colony Autonomy: Request, list, or review agent-initiated session convene requests. Actions: request (citizen+ can request a governed session), list (view pending/all requests for a charter), review (elder+ approve/reject a request). Tier-gated: agents earn the right to request and approve sessions through demonstrated merit.

colony_suggestionA

Colony Autonomy: Suggest, list, review, or upvote charter amendment suggestions. Actions: suggest (citizen+ can propose changes), list (view suggestions for a charter), review (elder+ can promote to formal amendment or decline), upvote (citizen+ can signal support). The petition mechanism for governed agents.

colony_healthA

Colony Autonomy: View colony health score, trend over time, or trigger an on-demand health snapshot. Actions: snapshot (latest health), trend (30-day history), pulse (trigger fresh snapshot). Health score computed from agent distribution, merit averages, deliberation quality, gate efficiency, and constitutional compliance.

context_reviveA

Governed context compaction — detects context pressure and restores capacity under GIA governance. Actions: status (health + recommendation), compact (execute compaction at tier), verify (integrity check on last compaction), history (compaction audit trail). Three tiers: sparkling (20-30%, INFORMATIONAL), electrolyte (40-55%, ADVISORY), iv (60-75%, MANDATORY gate). Force may override recommendation but NEVER bypasses MANDATORY gates. Cooldown prevents duplicate compaction per session+tier. No autonomous compaction loop.

governed_sampleA

Request a governed LLM completion via MCP Sampling. The client performs the model call — the server governs when, how, and under what constraints sampling is allowed. Every request is classified, policy-checked, optionally gated, and recorded in the forensic ledger.

chain_of_reasoningA

Reconstruct the complete Chain of Reasoning for a governed session, agent, or time range. Returns every link — AI Brain state, deliberation steps, precedent cited, gate decisions, knowledge packs, merit assessments — in causal order with hash-chain verification. Use "summary" format for a quick overview, "full" for all links, "dag" for the causal graph, or "export" for an EU AI Act compliance artifact.

srt_run_watchdogA

Run real health check probes from the MCP container (API health, frontend, disk, memory, TLS cert, DB, DNS). Returns actual measured values — never uses AI-provided data. Classification: INFORMATIONAL — read-only, no side effects.

srt_diagnoseB

Run the SRT Diagnostician on an incident. Matches finding to known playbooks, identifies root cause, and proposes a staged repair plan. Classification: ADVISORY — read-only analysis, no mutations.

srt_approve_repairA

Approve or reject a pending SRT repair plan. Classification: MANDATORY — this is the human-in-the-loop gate. Repair plans CANNOT execute without explicit human approval. Pass action="approve" to approve or action="reject" to reject.

srt_generate_postmortemA

Generate a structured postmortem report for a completed SRT incident. Includes timeline, root cause, what worked/failed, prevention actions, metrics (TTD/TTDiag/TTR), and optional playbook delta. Classification: ADVISORY.

gia_scan_environmentA

Run scout swarm to detect target environment — OS, containers, services, network, storage. Returns EnvironmentProfile for compatibility checking. Classification: INFORMATIONAL — read-only, no mutations. Scout outputs are redacted for sensitive content.

gia_list_packsA

List available governed operations packs. Filter by intent (remediation/patrol/hardening/audit), category, risk level, or trust level. Classification: INFORMATIONAL.

gia_dry_run_packA

Preview remediation pack execution — shows hydrated commands, compatibility check, validation, blast radius. Returns inputsHash for approval binding (what-you-approved-is-what-ran). Classification: ADVISORY — read-only preview, no execution.

gia_apply_packA

Execute a remediation or hardening pack with MANDATORY gate approval. Requires inputsHash from gia_dry_run_pack (what-you-approved-is-what-ran binding). REJECTS patrol/audit packs (use gia_run_patrol for those). Hardening packs run preflight checks before execution. Classification: MANDATORY — human approval required.

gia_run_patrolA

Execute a patrol or audit pack — read-only posture checks that produce findings or compliance evidence. Classification: ADVISORY for low/moderate sensitivity, MANDATORY for high sensitivity. REJECTS remediation/hardening packs (use gia_apply_pack for those). Audit packs produce deterministic pass/fail per NIST control — no AI interpretation.

gia_retrieveA

Governed semantic search — hash-verified, permission-checked, TTL-enforced document retrieval with full audit trail. Every retrieval is logged: what was retrieved, was it authorized, was it tampered with. When charter_id is provided, the retrieval is bound to that charter's contextAccess enforcement (domain allow/denyList, trust floor, classification floor, max chunks per query) and refusals are recorded with full provenance. classification_floor (MANDATORY|ADVISORY|INFORMATIONAL) lets callers demand the stricter of their own floor vs the charter's — chunks below the effective floor are denied with CLASSIFICATION_BELOW_FLOOR. Classification: ADVISORY — read-only search, results are permission-gated.

gia_ingest_documentA

Governed document ingestion — upload text content for governed retrieval. Content is chunked, embedded, hash-verified, and stored with full audit trail. Each chunk gets SHA-256 integrity hash. Classification: ADVISORY — creates governed content, audited.

list_available_toolsA

List which GIA tools are available at your current access tier. Returns tool names grouped by tier with descriptions.

Prompts

Interactive templates invoked by user choice

NameDescription
gia-assessPerform a governance assessment on an AI system or operation. Walks through risk tier, MAI classification, scoring criteria, and compliance mapping.
gia-design-gateDesign a MAI gate strategy for an AI agent pipeline. Recommends classification levels and gate enforcement for each stage.
gia-compliance-reportGenerate a comprehensive compliance report mapping GIA governance to regulatory frameworks.
gia-health-checkRun a full GIA system health check covering threshold, agents, and audit integrity.

Resources

Contextual data attached and managed by the client

NameDescription
gate-approval-appInteractive GIA gate approval card. Shows pending MANDATORY gates with Approve/Deny buttons.
system-status-appLive GIA governance health dashboard. Shows engine status, Storey Threshold, gate queue, and session metrics.
srt-health-appSRT health monitor. Shows watchdog check results with inline diagnose and governed repair approval flow.
mai-specificationMAI Framework (Mandatory/Advisory/Informational) specification and classification rules.
threshold-specificationStorey Threshold quantitative governance health metric specification.
scoring-specificationThree-dimensional governance scoring specification (Integrity, Accuracy, Compliance).
system-statusLive GIA system status including engine health, threshold, and telemetry.
architecture-guideGIA system architecture and governance inheritance chain.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/knowledgepa3/gia-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server