Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HIAI_DOCS_URLYes
HIAI_DOCS_API_KEYYes

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
find_documentsA

Find readable documents in the active scope. Use mode=list for paginated browsing or literal text filtering. Use mode=search for ranked text, typo-tolerant titles and semantic matches. Both modes support folder, effective category and tag filters.

read_documentA

Read one document by UUID. Choose detail for content and metadata, markdown for portable export, or versions for saved revisions and snapshots. All views are read-only.

save_documentA

Create or update one document. Use action=create for a new document or action=update for an existing one; batch_documents handles the same placement change across multiple existing documents. Creation requires write access; content edits require edit access, and placement changes may require write access. Content or placement changes queue normal indexing.

upload_document_imageA

Upload one PNG, JPEG or WebP image to an existing editable document. Send the file bytes as base64, up to 2 MiB before encoding. Insert the returned url as an image using save_document. If the result is lost, check attachments before uploading again.

check_document_attachmentsA

List attachments on a readable document. Supply attachmentId to verify that this attachment belongs to the document and that its stored bytes can be opened with the current access.

delete_documentA

Move one document to trash without purging content or versions. Use batch_documents(action=trash) for multiple explicit IDs. Requires write access and an explicit delete request; permanently_delete_document is a separate irreversible action.

list_workspace_structureA

Discover permitted spaces with kind=workspaces, including empty spaces; use returned workspaceId for scoped operations. List folders, categories, or tags; set kind=folders for root folders or children of parentId. Unselected reads cover all granted scopes when supported by the host.

save_folderA

Create or update a folder. action=update can rename or move an existing folder; the API enforces category boundaries and queues affected documents for reindexing.

delete_folderA

Delete a folder while preserving its documents; child folders and documents are detached under the API rules. Requires write access.

save_categoryA

Create or update a workspace category. Full workspace write access is required; category-scoped credentials cannot manage categories.

delete_categoryA

Delete a workspace category and detach its documents without deleting them. Requires full workspace write access; category-scoped credentials are denied.

save_tagA

Create or update a workspace tag. Full workspace write access is required; renaming or recoloring a tag causes affected documents to be reindexed.

delete_tagA

Delete a workspace tag and remove its document assignments. Full workspace write access is required; documents themselves remain.

set_document_tagA

Add or remove an existing tag assignment on one document. Use batch_documents for the same tag action across multiple explicit IDs. Requires edit access to each document; action=remove preserves the tag itself.

create_snapshotA

Save a named snapshot of an existing document before a planned change. The snapshot can later be restored with restore_document_version.

restore_document_versionA

Restore content from a version or snapshot listed by read_document(view=versions). This changes current content and queues indexing; it does not restore a trashed document.

explore_graphA

Explore graph relations from readable seed documents. mode=neighbors traverses one document without a query; mode=search ranks relations from one or more seed IDs with optional query text.

get_document_index_statusA

Read current indexing and pipeline status for one document without starting work. Use refresh_document_index only when an explicit retry is intended.

refresh_document_indexA

Queue an explicit asynchronous reindex for one document; use batch_documents(action=refresh_index) for multiple explicit IDs. Routine content and placement changes already schedule indexing; check get_document_index_status first.

list_trashA

List soft-deleted documents visible to the active workspace or category scope. Requires read access and does not restore or purge anything.

restore_trashed_documentA

Return one document from trash to the active library; use batch_documents(action=restore) for multiple explicit IDs. This restores the document itself, unlike restore_document_version which changes content.

permanently_delete_documentA

Irreversibly purge a document already in trash, including its version history. Use only on an explicit user request after checking list_trash.

batch_documentsA

Use for multiple explicitly selected documents that need the same action; for one document prefer the matching single-document tool. Accepts 1–25 IDs for automation compatibility. Supports move, set_category, add_tag, remove_tag, trash, restore, or refresh_index. Processes sequentially through the existing API with a permission check per document and a per-ID result; partial success is possible. Stops after authentication or rate-limit failure. Never expands a search result or permanently purges documents; version restore is separate.

get_workspace_itemA

Read one visible folder, category, or tag by UUID. Folder uses its direct API getter; category and tag lookup uses the complete permission-filtered lists. An absent or out-of-scope ID is reported as not found. Use list_workspace_structure to discover IDs first.

Prompts

Interactive templates invoked by user choice

NameDescription
organize_workspacePlan safe document organization using DocsMint categories and folders.
research_workspaceResearch a question with hybrid search and GraphRAG while citing DocsMint document IDs.

Resources

Contextual data attached and managed by the client

NameDescription
editor-guide
search-guide
workspace-catalog

TDQS

A4/5.0

Scored across 24 tools

Disambiguation5/5

Each tool targets a distinct resource+action, and descriptions explicitly resolve the tricky pairs (delete_document vs permanently_delete_document, restore_document_version vs restore_trashed_document, refresh_document_index vs get_document_index_status). The batch_documents umbrella overlaps several single-document tools, but it is clearly framed as a multi-ID alternative with guidance to prefer the single-document tools.

Naming Consistency4/5

The set is consistently snake_case with a leading verb and noun object (save_folder, delete_tag, read_document, find_documents), which makes scanning predictable. Minor deviations exist: create_snapshot breaks the save_* convention used for folders/categories/tags, and permanently_delete_document prefixes an adverb where other tools use a bare verb.

Tool Count4/5

24 tools is on the heavy side, but the surface covers several distinct sub-resources (documents, folders, categories, tags, trash, versions, attachments, indexing, graph) and nearly every tool maps to a unique operation. Only mild redundancy comes from batch_documents duplicating single-document actions.

Completeness4/5

Document lifecycle is fully covered: create/update, read, find, soft delete, trash list/restore, permanent purge, version snapshot/restore, indexing status/refresh, and attachments upload/verify. Gaps are minor — no attachment removal or document duplication/copy, and folder/category/tag reads are only reachable via get_workspace_item rather than dedicated getters.

Maintenance

ActivityActive
ResponsivenessLimited data