Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHAT_IDYesIdentifier for the chat (for example "local:chat-01").
CHAT_NAMEYesDisplay name for the chat (for example "Imported conversation").
CHAT_PARSERYesParser to use for the export. Supported values are mock_csv, qq_csv, and qq_json.
CHAT_PLATFORMYesPlatform label for the chat source (for example "manual-export").
CHAT_FILE_NAMEYesName of the chat export file within CHAT_IMPORT_ROOT (for example "messages.csv").
CHAT_SOURCE_IDYesOpaque identifier for the import source, used for QQ message IDs without content hashing.
CHAT_IMPORT_ROOTYesDirectory containing the chat export file (for example "./imports"). Put the export at imports/messages.csv, then set CHAT_IMPORT_ROOT before running chat-audit-mcp.
SOURCE_COVERAGE_ENDNoEnd of the known source coverage interval. Set together with SOURCE_COVERAGE_START if the export provides a known interval; invalid configured intervals fail at startup.
CHAT_SOURCE_TIMEZONEYesIANA timezone used for naive time strings in the export (for example "Asia/Shanghai").
SOURCE_COVERAGE_STARTNoStart of the known source coverage interval. Set together with SOURCE_COVERAGE_END if the export provides a known interval; invalid configured intervals fail at startup.

Instructions

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

Read-only parser for user-exported local chat files. No network calls, decryption, .bak handling, or client memory access.

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_allowed_chatsC

List the user-selected local import and its conversation.

get_messages_by_rangeC

Read the local export and filter the half-open interval [start, end).

Prompts

Interactive templates invoked by user choice

NameDescription
summarize_chat_rangeSummarize one chat interval using evidence-backed facts and inferences.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 2 tools

Disambiguation4/5

The two tools target different actions: listing allowed chats/imports vs retrieving messages in a range. There is minor ambiguity because list_allowed_chats mentions 'its conversation,' which could be confused with message retrieval, but the core distinction remains clear.

Naming Consistency5/5

Both names use consistent snake_case and follow a clear verb_noun pattern: list_allowed_chats and get_messages_by_range. The verbs and resource nouns are predictable and readable.

Tool Count3/5

Only two tools are provided, which is thin for a chat-audit server that likely needs browsing, filtering, and inspection operations. The scope is narrow enough that it is not absurd, but the surface feels underpowered.

Completeness3/5

The tools cover basic listing and range-based message retrieval, but there are notable gaps such as searching message content, fetching chat metadata, or handling pagination. Agents can perform minimal auditing but may encounter dead ends for common audit workflows.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues