Skip to main content
Glama

独行录 / opcmenu

设置我的通知偏好

set_notification_prefs
Idempotent

【需要登录】先get_notification_prefs再确认patch,省略保留,无要求禁动SMS/邮件。icebreak=false停自动拉群,snoozeUntil=null解暂停,恢复true清暂停。单群静音/退群/单需暂停另调;避人/方向set_my_match_preference。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_notification_prefs"
  }
}

Input Schema

NameRequiredDescriptionDefault
dmsNo私信推送
dropsNo新品播报
nudgeNo未读私信的邮件/短信触达提醒(邮件一键退订落这里;用户没提就别动它)
recallNo召回提醒:有人在关注你/有匹配的需求找你(独立于 matches)
followsNo新增关注通知
matchesNo撮合推送:新需求与我价值匹配时
momentsNo消息圈互动推送:有人评论了我的消息圈/回复了我的评论(点赞从不推送)
icebreakNofalse禁未来官方破冰三人群,选候选即排除且不建群
activitiesNo活动通知
icebreakPaceNo破冰节奏档:less 周 1/normal 周 3/more 周 5
icebreakRoleNo只作需求方 seeker_only/只作提供方 helper_only/都行 both
icebreakSnoozeUntilNo破冰暂停至ISO8601含时区,null取消;仅此层校验格式,服务层不验

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / icebreak / description
      Previous value: -"破冰介绍:false = 从此不被官方拉进破冰介绍三人群(选候选阶段就排除,连群都不建)"New value: +"false禁未来官方破冰三人群,选候选即排除且不建群"
    • changedInput schema / properties / icebreakSnoozeUntil / description
      Previous value: -"破冰先停一阵:ISO 8601 含时区;传 null = 取消停一阵(服务层不校验格式,格式闸只有这一层)"New value: +"破冰暂停至ISO8601含时区,null取消;仅此层校验格式,服务层不验"
  2. Changed7 schema fields changed
    • changedInput schema / properties / icebreak / description
      Previous value: -"破冰介绍:false = 从此不被官方拉进破冰介绍三人群(选候选阶段就排除,连群都不建)"New value: +"破冰介绍:false = 从此不被官方拉进破冰介绍三人群(选候选阶段就排除,连群都不建)"
    • changedInput schema / properties / icebreakPace / description
      Previous value: -"破冰节奏档:less 周 1 / normal 周 3 / more 周 5"New value: +"破冰节奏档:less 周 1/normal 周 3/more 周 5"
    • changedInput schema / properties / icebreakRole / description
      Previous value: -"只作需求方 seeker_only / 只作提供方 helper_only / 都行 both"New value: +"只作需求方 seeker_only/只作提供方 helper_only/都行 both"
    • changedInput schema / properties / icebreakSnoozeUntil / description
      Previous value: -"破冰先停一阵:ISO 8601 含时区;传 null = 取消停一阵(服务层不校验格式,格式闸只有这一层)"New value: +"破冰先停一阵:ISO 8601 含时区;传 null = 取消停一阵(服务层不校验格式,格式闸只有这一层)"
    • changedInput schema / properties / moments / description
      Previous value: -"消息圈互动推送:有人评论了我的消息圈 / 回复了我的评论(点赞从不推送)"New value: +"消息圈互动推送:有人评论了我的消息圈/回复了我的评论(点赞从不推送)"
    • changedInput schema / properties / nudge / description
      Previous value: -"未读私信的邮件/短信触达提醒(邮件一键退订落这里;用户没提就别动它)"New value: +"未读私信的邮件/短信触达提醒(邮件一键退订落这里;用户没提就别动它)"
    • changedInput schema / properties / recall / description
      Previous value: -"召回提醒:有人在关注你 / 有匹配的需求找你(独立于 matches)"New value: +"召回提醒:有人在关注你/有匹配的需求找你(独立于 matches)"
  3. Changed1 schema field changed
    • addedInput schema / properties / moments
      Added value: +{
      +  "description": "消息圈互动推送:有人评论了我的消息圈 / 回复了我的评论(点赞从不推送)",
      +  "type": "boolean"
      +}
  4. Changed7 schema fields changed
    • addedInput schema / properties / icebreak
      Added value: +{
      +  "description": "破冰介绍:false = 从此不被官方拉进破冰介绍三人群(选候选阶段就排除,连群都不建)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / icebreakPace
      Added value: +{
      +  "description": "破冰节奏档:less 周 1 / normal 周 3 / more 周 5",
      +  "enum": [
      +    "less",
      +    "normal",
      +    "more"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / icebreakRole
      Added value: +{
      +  "description": "只作需求方 seeker_only / 只作提供方 helper_only / 都行 both",
      +  "enum": [
      +    "both",
      +    "seeker_only",
      +    "helper_only"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / icebreakSnoozeUntil
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "破冰先停一阵:ISO 8601 含时区;传 null = 取消停一阵(服务层不校验格式,格式闸只有这一层)"
      +}
    • changedInput schema / properties / matches / description
      Previous value: -"新需求与我价值匹配时的撮合推送"New value: +"撮合推送:新需求与我价值匹配时"
    • changedInput schema / properties / nudge / description
      Previous value: -"未读私信的邮件/短信触达提醒"New value: +"未读私信的邮件/短信触达提醒(邮件一键退订落这里;用户没提就别动它)"
    • addedInput schema / properties / recall
      Added value: +{
      +  "description": "召回提醒:有人在关注你 / 有匹配的需求找你(独立于 matches)",
      +  "type": "boolean"
      +}
  5. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply idempotentHint and destructiveHint=false; the description adds the login requirement, the partial-patch semantics that omitted keys are retained, an explicit do-not-touch policy for SMS/email, and the concrete consequences of icebreak=false (future official three-person icebreak groups are suppressed and candidates are excluded) plus the null/true semantics for snooze. These are real behavioral traits an agent could not derive from the annotations or schema.

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?

Front-loaded with the login precondition and the read-then-patch workflow, and every clause carries information rather than filler. The telegraphic abbreviations ('另调', '避人/方向') compress well for a Chinese-reading agent but cost a little immediate clarity, so it is slightly below maximally clean.

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 12-parameter, all-optional patch tool with no output schema and only light annotations, the description covers the prerequisites, default safety policy, patch semantics, the highest-risk field, and the sibling routing that matters. It does not describe what the call returns or how the response reports applied changes, a minor gap given there is no output schema.

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 earns an extra point by adding cross-parameter semantics the schema does not state — that omitted fields are preserved, and that icebreakSnoozeUntil=null lifts a pause while restoring true clears it. It does not repeat per-field definitions, which is correct, though it leaves the two enum parameters (icebreakPace, icebreakRole) entirely to the schema.

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 makes clear this is a partial-update (patch) operation on the caller's notification preferences, framed by the instruction to read get_notification_prefs first and the 'omitted fields are preserved' rule. It also explicitly separates itself from siblings such as set_my_match_preference and the single-group mute / leave-group / single-request snooze tools. It never states the core verb+resource in a single plain sentence, relying on the tool name and the patch instruction to convey 'update my notification settings', which keeps it just short of a 5.

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

Usage Guidelines5/5

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

Explicit call ordering (get_notification_prefs first, then confirm the patch), an explicit default policy (never touch SMS/email unless the user asks), and explicit routing for out-of-scope cases (single-group mute, leaving a group, single-request snooze go elsewhere; avoid-person and match-direction go to set_my_match_preference). Both when-to-use and when-not-to-use are covered, so nothing is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources