Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOGBOOK_PATHNoPath to the append-only, hash-chained logbook file where events are written (for example /var/lib/logbook/agent.jsonl).

Instructions

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

Tamper-evident logbook for AI agents. Call log_event BEFORE every action with side effects (writes, sends, payments, deletions) and AFTER it completes to record the outcome. Never skip logging because an action seems minor. Secrets in arguments are masked automatically.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
log_eventA

Record one agent action in the logbook.

Who: agent_id (your agent's stable name) and model (e.g. "mistral-small-4"). What: action (the tool or operation) and arguments (secrets are masked). Why: reason — one plain sentence. Approval: "human" with approved_by, "auto" with approval_rule, or "none". Outcome: "pending" when logging before the action; log again with "success", "error" or "escalated" after it. Correction: if an earlier event was wrong, never try to change it; log a new event with corrects set to the earlier event's seq. Returns the stored record including its seq and hash.

verify_logbookA

Check the whole logbook's hash chain. Returns ok, event count and any problems in plain English.

recent_eventsC

Return the most recent events (default 20) for a quick look.

export_logbookB

Export the full logbook as JSON or CSV text that an auditor can read without this tool.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
aboutVersion and configuration of this logbook server.

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a clearly distinct operation: write an event, export the logbook, view recent entries, and verify integrity. There is no meaningful overlap between them, so an agent can select the right tool without confusion.

Naming Consistency4/5

Most names follow a readable verb_noun pattern (log_event, export_logbook, verify_logbook), but recent_events is an adjective_noun phrase rather than a verb-led action. The deviation is minor and does not impair understanding.

Tool Count5/5

Four tools are well-scoped for a focused append-only logbook service. Each tool earns its place, covering write, inspect, export, and integrity verification without bloat.

Completeness4/5

The tool surface covers the core lifecycle: logging, correcting via new events, recent inspection, export, and hash-chain verification. A minor gap is the lack of filtered retrieval (e.g., by agent, time range, or seq), though export provides a full fallback.

Maintenance

ActivityMaintained
ResponsivenessOutdated data