Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOCMOST_URLYesInstance URL, e.g. https://docs.example.com
DOCMOST_EMAILNoCommunity login email
DOCMOST_PASSWORDNoCommunity login password
DOCMOST_READ_ONLYNotrue / 1 / yes — search and read only; mutating tools are refused
DOCMOST_AUTH_TOKENNoauthToken cookie from the browser
DOCMOST_SESSION_PATHNoSession cache file

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_pagesA

Full-text search for pages the authenticated user can access. Optionally scope to a space.

get_pageA

Get page metadata and Markdown body (format=json for ProseMirror). To read less: outline=true lists headings, heading returns one section, max_chars+offset page the body (follow next_offset).

create_pageB

Create a page in a space from Markdown, optionally under a parent.

update_pageA

Update a page title, icon, and/or Markdown body (operation: replace default, append, prepend). For partial edits use edit_page.

edit_pageA

Edit parts of a page, leaving the rest as is. edits run in order, written once; if any fails nothing is written. Modes: replace_text (old_text must match once in one paragraph, or use replace_all), replace_section (keeps the heading, replaces what is under it), insert_after_section (after its subsections), insert_in_section (at=start, or at=end, the default: end of its own body before any subsection), delete_section. heading is the text, or '## Text' to pin the level. Table rows (row/after_row match a row's first cell; heading optionally scopes): update_row (values by column header, or cells for every cell), insert_row (cells, after after_row or at the table's end), delete_row.

list_pagesA

List pages in a space. view=recent (default) is recently updated pages, not the sidebar tree; view=tree is space-root pages in sidebar order. Use list_child_pages for children.

list_child_pagesA

List direct child pages of a page, in sidebar order. Omit page_id and pass space_id for space-root pages.

duplicate_pageA

Duplicate a page and its accessible sub-pages within the same space.

copy_page_to_spaceA

Copy a page and its accessible sub-pages into a different space.

move_pageA

Move a page under a new parent or to the space root. Position is computed unless you pass an explicit 5-12 character key.

move_page_to_spaceA

Move a page and its accessible sub-pages to a different space.

delete_pageA

Move a page to trash, or permanently delete it. Permanent delete requires space admin.

restore_pageA

Restore a soft-deleted page from trash.

list_trashB

List soft-deleted pages in a space.

get_page_historyC

List revision history for a page.

get_history_versionB

Get a specific page history version by history ID.

get_breadcrumbsA

Get the ancestor path from space root to a page.

get_backlinksB

List incoming or outgoing page links.

export_pageB

Export a page to output_path or a temp file and return the path. Without children usually .md/.html; include_children gives a zip.

list_spacesB

List spaces the authenticated user can access.

get_spaceA

Get details for a space, including the current user's membership.

create_spaceB

Create a space. Slug is generated from the name if omitted. Requires permission to manage spaces.

update_spaceC

Update a space name, slug, or description.

delete_spaceA

Delete a space and its pages. This cannot be undone.

export_spaceB

Export a whole space as a zip of Markdown or HTML. Writes to output_path or a temp file.

get_commentsA

List page-level comments. Content is returned as Markdown. Each comment is re-fetched so edits are not stale.

create_commentA

Add a page-level comment. Inline selection comments are not supported.

update_commentB

Replace a comment body. You can update your own comments.

delete_commentB

Delete a comment. Owners can delete their own; space admins can delete any comment.

search_attachmentsA

Search attachments by name or text. Enterprise only: Community gets 403. Prefer get_attachment_info when you have an id.

search_suggestC

Typeahead suggestions. Pages are included by default (set include_pages=false to skip). Users and groups default to off.

get_current_userA

Get the authenticated user and workspace context, detected Docmost version, and whether this session is read-only.

list_workspace_membersC

List workspace members.

upload_attachmentA

Upload a local file to a page. Returns attachment metadata including the /api/files/:id/:name URL path.

get_attachment_infoB

Get metadata for an uploaded attachment.

list_page_labelsC

List labels on a page.

add_page_labelsA

Add one or more labels to a page. Names are normalized to lowercase kebab-case.

remove_page_labelB

Remove a label from a page by label ID.

list_space_membersB

List members and groups in a space.

add_space_membersC

Add users and/or groups to a space with a role.

remove_space_memberC

Remove a user or group from a space.

update_space_member_roleB

Change a space member or group's role.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 42 tools

Disambiguation4/5

Most tools target a distinct resource+action, and close pairs like update_page vs edit_page, move_page vs move_page_to_space, and duplicate_page vs copy_page_to_space are explicitly clarified in their descriptions. A few boundaries (get_page_history vs get_history_version, search_pages vs search_suggest vs list_pages) still require reading descriptions carefully, but no true duplicates exist.

Naming Consistency4/5

Nearly all tools follow a verb_noun snake_case pattern (create_page, list_spaces, delete_comment, export_space). Minor deviations exist in pluralization, e.g. create_comment vs get_comments, add_page_labels vs remove_page_label, which slightly weakens predictability.

Tool Count2/5

42 tools is well beyond a comfortable surface for an agent, even for a full wiki platform. Many low-frequency operations (move_page_to_space, copy_page_to_space, search_suggest, get_history_version) inflate the set and increase selection cost.

Completeness4/5

Pages have full CRUD plus history, trash/restore, labels, comments, attachments, links, breadcrumbs, and export; spaces have CRUD plus member management. Gaps remain around attachment deletion/updating and inline/selection comments (explicitly unsupported), but core workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessLimited data