Skip to main content
Glama
rongcloud

RongCloud MCP Server

Official
by rongcloud

get_private_messages

Retrieve historical private messages between two users in a specified time range. Provide user IDs and optional start/end timestamps to filter messages.

Instructions

Retrieves historical private messages between two users within a specified time range.The time range is defined by startTime (newest) and endTime (oldest),with endTime must be earlier than startTime.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYesID of the user whose messages are being queried
target_idYesID of the other user in the private conversation
end_timeNoEnd timestamp in milliseconds (default: 24 hours before end time)
start_timeNoStart timestamp in milliseconds (must be later than endTime, default: current time)
page_sizeNoNumber of messages per page (default: 50, max: 100)
Behavior2/5

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

No annotations are provided, so the description must disclose all behavioral traits. It mentions time range semantics but omits pagination, ordering, rate limits, or any side effects. This is insufficient for a retrieval tool.

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 concise at two sentences, with no unnecessary information. Minor awkward phrasing ('with endTime must be earlier than startTime') does not detract significantly.

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?

No output schema is provided, and the description does not explain the return format, pagination (page_size parameter exists), or ordering. This leaves an agent without enough context for reliable invocation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value by clarifying the relationship between start_time and end_time (start is newest, end is oldest) and that both users are specified, reducing confusion.

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 clearly states it retrieves historical private messages between two users within a time range, using a specific verb and resource. It distinguishes from sibling tools, which are group-related or message sending.

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?

Usage is implied for viewing message history, but no explicit guidance on when to use or when not, nor alternatives are mentioned. The context of sibling tools makes it relatively clear.

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/rongcloud/rongcloud-server-mcp-python'

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