Skip to main content
Glama

boss_chatmsg

Retrieve paginated chat history with a specified BOSS Zhipin contact by security ID or friend UID. Returns message pages plus pagination flags for review.

Instructions

查看与指定好友的聊天消息历史;信封 pagination 给出所读消息页证据(page / has_more / has_more_source / total) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]

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": {
      "security_id": "<security_id>"
    },
    "name": "boss_chatmsg"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNo输出保真结构化消息字段(仍受合规门控)
pageNo页码
countNo每页消息数量
friend_uidNo已知稳定 uid 时直接读取消息:security_id 按本次请求的令牌使用,跳过沟通列表扫描
security_idYes好友的 uid(推荐,取自 boss_chat,跨请求稳定)或 security_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.4.243
    • addedInput schema / properties / count / maximum
      Added value: +1000000
    • addedInput schema / properties / page / maximum
      Added value: +1000000
  2. Changed1 schema field changedv3.4.144
    • addedInput schema / properties / friend_uid
      Added value: +{
      +  "description": "已知稳定 uid 时直接读取消息:security_id 按本次请求的令牌使用,跳过沟通列表扫描",
      +  "type": "string"
      +}
  3. Changed3 schema fields changedv3.4.122
    • addedInput schema / properties / count / minimum
      Added value: +1
    • addedInput schema / properties / page / minimum
      Added value: +1
    • addedInput schema / properties / security_id / minLength
      Added value: +1
  4. Changed1 schema field changedv3.3.0
    • addedInput schema / additionalProperties
      Added value: +false
  5. Changed1 schema field changedv3.0.0
    • changedInput schema / properties / security_id / description
      Previous value: -"好友的 security_id"New value: +"好友的 uid(推荐,取自 boss_chat,跨请求稳定)或 security_id"
  6. Addedv1.19.1
  7. Removedv1.12.0
  8. First observedv1.11.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full disclosure burden. It does add useful behavior beyond the name: the response envelope carries pagination evidence (page / has_more / has_more_source / total) and access is restricted to candidate-role zhipin accounts. It says nothing about whether reading marks messages as read, rate limits, or permission requirements, which are the risky unknowns for a read tool on private messages.

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?

Two compact clauses: purpose first, return-envelope behavior second, then a bracketed availability tag. Front-loaded and free of filler, though the pagination field list is somewhat dense shorthand that the reader must parse.

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?

With five parameters, no output schema, and no annotations, the description does the important extra work of describing the return envelope's pagination fields and the role/platform eligibility. What is missing is side-effect disclosure (does reading consume or mark messages) and any note on failure modes for an unknown friend uid.

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%, so every parameter (raw, page, count, friend_uid, security_id) is already documented with defaults and ranges. The description adds no syntax, format, or selection guidance beyond the schema, so the baseline 3 applies.

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 and resource ('查看与指定好友的聊天消息历史' – view chat message history with a specified friend) with a clear scope limitation. The availability tag (roles=candidate, recruiter_platforms=-) implicitly separates it from the HR-side sibling boss_hr_chatmsg, though that sibling is never named explicitly.

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 names no alternative tool and gives no explicit when-to-use vs when-not guidance. The embedded availability constraint (candidate role only, zhipin platform only, recruiter not supported) functions as a real eligibility filter, which is more than nothing, but the agent must infer the choice between this and boss_hr_chatmsg or boss_chat.

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