Skip to main content
Glama
L-Chris

weflow-mcp

by L-Chris

weflow_get_session_messages_chatlab

Retrieve a WeChat session's messages in ChatLab format using the session ID, with options for pagination and time filters.

Instructions

Pull one session in ChatLab format using WeFlow's /api/v1/sessions/:id/messages endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSession ID, for example wxid_xxx or xxx@chatroom.
endNo
limitNo
sinceNo
offsetNo
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It adds the endpoint and ChatLab format, which are useful, but it does not explain pagination behavior, ordering, or the nature of 'ChatLab format'. It also does not explicitly state that the operation is read-only (though 'pull' implies it) or how the optional parameters affect results.

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?

The description is a single, front-loaded sentence that immediately states the action, resource, format, and endpoint. It avoids unnecessary words and is efficient. However, its brevity leaves other dimensions under-covered, but as a concise statement it meets the bar.

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?

The tool has five parameters, no output schema, and no annotations. The description is too terse to fully contextualize usage: it fails to explain optional filtering parameters, the definition of 'ChatLab format', or how results are returned. An agent would have to guess from the endpoint name, which is risky for correct usage.

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

Parameters1/5

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

Schema description coverage is only 20% (only 'id' is described). The description does not mention any of the four optional parameters (end, limit, since, offset) or their semantics. With the majority of parameters undocumented and no compensating explanation, an agent has insufficient information to correctly invoke the tool beyond providing the required ID.

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

Purpose5/5

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

The description uses a specific verb 'Pull' and clearly identifies the resource as 'one session' with a defined output format ('ChatLab format') and a concrete endpoint. This differentiates it from sibling tools like weflow_list_sessions (which lists sessions) and weflow_get_messages (likely a general message query), making the purpose unambiguous.

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

Usage Guidelines3/5

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

The description implies this tool is for retrieving messages from a single session in ChatLab format, but it does not explicitly state when to use it over alternatives such as weflow_get_messages or weflow_list_sessions. There is no mention of exclusions or direct comparison to sibling tools, leaving usage context implied rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/L-Chris/weflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server