Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AMSEL_PATHSNoFolders where the server looks for Amsel files. Separate multiple folders by ':' on Linux/macOS or ';' on Windows.~/Documents
AMSEL_WRITENoSet to 1 to enable the write tools.

Instructions

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

Access to Amsel Suite tabletop-RPG files. A Tome (.tome) holds a campaign: a story tree (story/chapter/scene pages), data pages (characters, locations, objects, organizations, players), arcanes (planned choices/destinies and their per-session results) and session notes. A Lore (.lore) holds a world: pages built from templates. A Lore kit (.lorekit) holds only templates, to be imported in a Lore; read it with list_lore_templates / read_lore_template. Links between pages appear as [[Page name]]. Start with list_amsel_files, then use outline/list tools before reading pages. Files and pages can be referenced by name, partial name or id. Write tools are disabled (set AMSEL_WRITE=1 to enable 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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_amsel_filesA

List the Tome (.tome), Lore (.lore) and Lore kit (.lorekit) files found in the configured folders.

tome_outlineA

Show a Tome's story tree (story → chapters → scenes) with ribbons and per-session states.

Args:
    tome: Tome file name, partial name or path.
    with_summaries: also print each page's summary (longer output).
list_tome_data_pagesA

List a Tome's data pages (characters, locations, objects, organizations, players…), grouped by type.

Args:
    tome: Tome file name, partial name or path.
    page_type: optional filter, e.g. "Character", "Location", "Object", "Organization", "Player".
read_tome_pageA

Read one Tome page (story page or data page) as Markdown, with links resolved and backlinks.

Args:
    tome: Tome file name, partial name or path.
    page: page name, partial name, or id (or id prefix).
list_tome_arcanesB

List a Tome's arcanes (choice, destiny, role, options, count) with their results per session.

Args:
    tome: Tome file name, partial name or path.
    arcane_type: optional filter: "choice", "destiny", "role", "options" or "count".
read_tome_notesC

Read a Tome's session notes.

list_lore_pagesB

List a Lore's pages grouped by template.

Args:
    lore: Lore file name, partial name or path.
    template: optional template-name filter (partial, case/accent-insensitive).
list_lore_templatesA

List the templates of a Lore or Lore kit (.lorekit): category, number of pages, modules.

Args:
    lore: Lore or Lore kit file name, partial name or path.
read_lore_templateA

Read one template of a Lore or Lore kit: modules in layout order, rune fields, mirror targets.

Args:
    lore: Lore or Lore kit file name, partial name or path.
    template: template name, partial name, or id (or id prefix).
read_lore_pageA

Read one Lore page as Markdown (modules in template order, links resolved, backlinks).

Args:
    lore: Lore file name, partial name or path.
    page: page name, partial name, or id (or id prefix).
search_amselA

Search page names and text (case- and accent-insensitive).

Args:
    query: text to look for.
    file: optional Tome/Lore name or path; when a Tome is given its linked Lore is searched too.
        When omitted, every known file is searched.
    limit: maximum number of results.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 11 tools

Disambiguation5/5

Tools separate cleanly by resource and action: list vs read for Lore pages/templates, read vs outline/data listing for Tome content, and a distinct global search. The only potentially close pairs, such as read_tome_notes vs read_tome_page or list_tome_arcanes vs list_tome_data_pages, are clearly differentiated by their descriptions.

Naming Consistency4/5

Almost all tools follow a consistent snake_case verb_noun pattern: search_amsel, list_lore_pages, read_lore_template, read_tome_page, etc. The main deviation is tome_outline, which uses a noun phrase rather than a verb-first name.

Tool Count5/5

The 11 tools are well-scoped for a read/explore server over Amsel Tomes and Lore. Each tool covers a distinct read or listing operation without an excessive number of near-duplicates.

Completeness4/5

For read-only exploration, the surface is strong: file discovery, global search, Lore templates/pages, Tome outline/pages/notes/arcanes, and data-page listing are all covered. The notable gap is the absence of any create/update/delete or note-editing operations, which may matter if the server is meant to support authoring rather than only reading.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues