Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GUARDRAIL_WORKSPACEYesPath to the workspace/repository to guard

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_shellA

Execute a Bash command after heuristic policy checks. Use for build, test or inspection commands, not file writes or structured Git operations. Returns truncated stdout/stderr, or a refusal prefixed with ⛔. BLOCK and ESCALATE decisions are not executed. Shell execution is not sandboxed; passing a check does not establish that a command is safe.

write_fileA

Create or overwrite one workspace file after policy checks. Creates parent directories as needed. Recognized secret values and empty workflow writes are blocked. Returns a write summary or a refusal prefixed with ⛔. This is a whole-file replacement; read and preserve needed content first.

gitA

Execute Git in the workspace after structured branch-policy checks. Use this rather than run_shell for Git operations. Protected-branch force pushes, hard resets and rebases are blocked; unresolved force destinations are refused for human review. Quoting is preserved. Returns truncated stdout/stderr or a refusal prefixed with ⛔; it is not a proof of success.

audit_logA

Return the tamper-evident audit chain of every guardrail decision so far.

policy_infoA

Report the exact ruleset being enforced: the committed policy id and root (content hash), the protected branches, and any opt-in presets/extra patterns. A relying party can hold the same spec and confirm the receipt's policy root matches, so 'the gate enforces this policy' is checkable, not a promise.

session_receiptA

Export a signed statement of recorded decisions. Verification checks its signature, chain and disclosed policy verdicts, not execution or completeness. Use an independently obtained policy and pinned key for attribution.

    redact=True strips every raw action (commands, file contents, branches) before returning. In
    zk-mode (GUARDRAIL_ZK=1) git-branch actions stay provably in-policy via their zero-knowledge proof
    even when redacted; other actions keep integrity + authenticity only.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 6 tools

Disambiguation4/5

The execution tools are clearly separated: run_shell for commands, git for structured Git, and write_file for whole-file writes. audit_log, policy_info, and session_receipt all concern guardrail evidence, but their descriptions distinguish raw audit chain, policy specification, and signed receipt well enough for selection.

Naming Consistency3/5

All names use snake_case, which keeps them readable, but the conventions are mixed: run_shell and write_file are verb_noun, git is a bare noun, and audit_log, policy_info, and session_receipt are noun phrases. The set is not chaotic, but it lacks a single predictable pattern.

Tool Count5/5

Six tools are well-scoped for a guardrailed workspace server. Each tool covers a distinct capability: shell execution, file writing, Git operations, audit export, policy inspection, and signed receipts.

Completeness4/5

The guardrail lifecycle is well covered with execution, policy disclosure, audit chain, and signed receipts. Minor gaps exist around dedicated file reading/deletion, but run_shell can inspect files and perform many workarounds, so this is not a dead end.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues