Skip to main content
Glama
nuko777
by nuko777

私信会话 / 聊天记录

messages
Read-only

List private chat conversations or read the chat history with a specific user by UID. Omit the user ID to view all conversations, or supply it to fetch that exchange in ascending time order.

Instructions

不传 talker_id 时列出私信会话;传 talker_id 时读取与该用户的聊天记录(按时间升序)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo会话数或消息数 1-100
talker_idNo会话对方的 UID;不传则列出会话

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-beta.2

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the ascending-time ordering and the mode-dependent return shape, which are useful, but says nothing about pagination, cursors, rate limits, or how limit behaves per mode.

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

Conciseness5/5

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

A single sentence with two balanced clauses, zero redundancy, and the conditional trigger front-loaded so an agent can branch immediately without reading the schema.

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

Completeness4/5

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

For a two-parameter read tool with full schema coverage and safety annotations, the definition covers what it needs: both modes and the ordering of results. It stops short of describing pagination or the fields present in each return shape, which matters slightly since there is no output schema.

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

Parameters3/5

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

Schema description coverage is 100% and the schema already documents both parameters, including talker_id's '不传则列出会话' semantics. The description largely restates that behavior; the only extra signal is the ascending order of the message mode, so baseline 3 is appropriate.

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 states a specific verb+resource pair (list DM conversations / read chat history) and makes the two operating modes explicit via the talker_id condition. It is clear but never distinguishes itself from the sibling write tool send_message, which sits right next to it in the toolset.

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

Usage Guidelines4/5

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

It gives clear, actionable context: use without talker_id to list conversations, with talker_id to read that user's history. No exclusions, prerequisites, or alternative-tool routing are offered, so it falls just short of the 5 bar.

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