Skip to main content
Glama

export_session_chat

Export WeChat chat sessions to HTML, TXT, or CSV with playable WAV voice messages for offline review and archival, without automatic transcription.

Instructions

Export a WeChat session into HTML/TXT/CSV with playable WAV voice messages (never auto-transcribes).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app_db": "<app_db>",
      "decrypted_dir": "<decrypted_dir>",
      "session": "<session>",
      "start_date": "<start_date>",
      "end_date": "<end_date>",
      "out_dir": "<out_dir>"
    },
    "name": "export_session_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_dbYes
out_dirYes
sessionYes
end_dateYes
copy_filesNo
start_dateYes
account_dirNo
decrypted_dirYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden. It does disclose one genuinely useful trait — that voice messages are exported as playable WAV and are 'never auto-transcribed' — but it says nothing about write/overwrite behavior in out_dir, file naming, permissions on the source database, or whether copy_files changes the output layout.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the format list plus the transcription caveat are placed where the agent will see them first. Its brevity is close to over-terse for an 8-parameter export tool, which slightly limits the score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, but for a tool with 8 parameters, 6 required, zero annotation coverage, and 0% schema description coverage, a one-sentence description is not sufficient. The agent must guess the meaning and format of every argument and the side effects of writing into out_dir.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, and the description explains none of them: app_db, decrypted_dir, session, start_date, end_date, out_dir, account_dir, and copy_files are all undocumented. The phrase 'a WeChat session' loosely maps to the session parameter, but date bounds, directory inputs, and the copy_files flag receive no semantic clarification anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Export a WeChat session') and enumerates the concrete output formats (HTML/TXT/CSV), so the agent knows exactly what the tool produces. It does not, however, differentiate itself from any sibling such as discover_wechat_groups or refresh_wechat_signals, so sibling disambiguation is left to the agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives, nor of prerequisites such as needing a decrypted directory or app database before calling. The only implicit signal is that this is the export path for a session, which an agent must infer from the name and description alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.