Server has 9 tools with schemas and descriptions present, but quality is significantly below production baseline. Descriptions are verbose (200-500+ chars), mixing implementation details with user intent. Parameter descriptions exist but lack constraints (enums, ranges, formats). No output schemas documented. Error handling returns generic -1 or empty arrays with no recovery guidance. Tool names follow verb_noun pattern but descriptions are in Chinese, creating LLM comprehension risk. No tool annotations (readOnlyHint/destructiveHint). Critical: credentials (appkey, secret) hardcoded in server.py, not injected. No pagination support despite query tools returning arrays. No idempotency guarantees for write operations.
这是一个查询应用每日的IM统计数据的接口 输入:开始和结束的时间,如查询2025-04-01的数据,则start_time为2025-04-01,end_time为2025-04-01,如果查询2025-03-01到2025-03-07合计7天的数据,则start_time为2025-03-01,end_time为2025-03-07, 返回:是一个数组,数组里每一项包括具体某一天的数据,包括如下字段: active,表示当日的活跃用户数, msg_upper,表示当日的所有类型消息的总的发送数量(上行量),p2p_msg_upper表示单聊消息的发送数量,team_msg_upper表示群聊的发送数量,chatroom_msg_upper表示聊天室消息的发送数量,system_msg_upper表示系统通知的发送数量, msg_down,表示当日的所有类型消息的总的接受数量(下行量,包括在线消息接收,也包括离线消息接收和历史消息查询),p2p_msg_down表示单聊消息的接收数量,team_msg_down表示群聊的接收数量,chatroom_msg_down表示聊天室消息的接收数量,system_msg_down表示系统通知的接收数量, online_max,表示当日的在线用户数的峰值数量, login,表示当日的登录次数, sdk_request,表示当日来自sdk的请求总数, api_request,表示当日api的请求总数, object_storage,表示截止当日,累积的文件存储的大小, route_count,表示当日,通过抄送系统抄送出去的请求总数,route_success_rate,表示当日抄送请求的成功率,route_avg_spend_ms表示当日抄送请求的平均耗时, callback_count,表示当日,通过抄送系统抄送出去的请求总数,callback_success_rate,表示当日抄送请求的成功率,callback_avg_spend_ms表示当日抄送请求的平均耗时,
查询IM的上下行消息量,1分钟一个点,一次最多允许查询8小时的数据,最多允许查询最近7天内的数据 请求参数: start_time,开始时间,示例:2025-04-03 20:00:00 end_time,结束时间,示例:2025-04-03 21:00:00 msgType,消息类型,如果传-1表示所有消息合并计算,1表示单聊消息,2表示群聊消息,3表示系统通知,4表示聊天室消息 响应: upper,上行消息量 down,下行消息量 time,时间,当前是秒级时间戳,请使用timestamp_format_num_to_str转换为可读字符串
查询最近n分钟的IM的上下行消息量,1分钟一个点,一次最多允许查询8小时的数据,最多允许查询最近7天内的数据 请求参数: minute,最近几分钟,传5则表示最近5分钟 msgType,消息类型,如果传-1表示所有消息合并计算,1表示单聊消息,2表示群聊消息,3表示系统通知,4表示聊天室消息 响应: upper,上行消息量 down,下行消息量 time,时间,当前是秒级时间戳,请使用timestamp_format_num_to_str转换为可读字符串
Credentials hardcoded in server.py (appkey, secret as module-level variables). Must use environment variable injection or vault.
Descriptions in Chinese; LLMs trained primarily on English will struggle to parse intent. Descriptions also verbose (200-500+ chars) and mix implementation details with user-facing intent.
No output schemas documented. LLMs cannot plan downstream calls or extract required fields. E.g., send_p2p_msg returns msgid but structure is undocumented; query_*_msg_history returns arrays but field names/types not specified.
Error handling returns -1 or empty arrays with no recovery guidance. LLMs cannot determine if error is retryable, user-fixable, or fatal. No actionable error messages.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | 2026-07-28+ | v2 |
查询IM的在线连接数,1分钟一个点,一次最多允许查询8小时的数据,最多允许查询最近7天内的数据 请求参数: start_time,开始时间,示例:2025-04-03 20:00:00 end_time,结束时间,示例:2025-04-03 21:00:00 响应: connect_cnt,连接数 time,时间,当前是秒级时间戳,请使用timestamp_format_num_to_str转换为可读字符串
查询最近n分钟的IM的在线连接数,1分钟一个点,一次最多允许查询8小时的数据,最多允许查询最近7天内的数据 请求参数: minute,最近几分钟,传5则表示最近5分钟 响应: connect_cnt,连接数 time,时间,当前是秒级时间戳,请使用timestamp_format_num_to_str转换为可读字符串
这是一个查询单聊历史消息的接口 输入为: 单聊会话中的双方账号(account1和account2) 开始时间,字符串,格式为2025-04-03 20:00:00 结束时间,字符串,格式为2025-04-03 21:00:00 limit(最多100条) 返回的: 是一个数组,数组里每一项包括三个字段 消息发送者 消息内容 消息发送时间
这是一个查询群聊历史消息的接口 输入为: 查询者账号 群tid 开始时间,字符串,格式为2025-04-03 20:00:00 结束时间,字符串,格式为2025-04-03 21:00:00 limit(最多100条) 返回的: 是一个数组,数组里每一项包括三个字段: 消息发送者 消息内容 消息发送时间
这是一个发送单聊文本消息的工具,输入为:消息发送者、消息接收者、消息内容;返回的是消息id
这是一个发送群聊文本消息的工具,输入为:消息发送着、群tid、消息内容;返回的是消息id
Query tools accept 'limit' parameter but no pagination (offset/cursor) or total_count in response. Large result sets will blow context window. No documented result cap.