Skip to main content
Glama

独行录 / opcmenu

设置我的通知偏好

set_notification_prefs
Idempotent

【需要登录】确认后patch,未传不变,无要求勿动SMS/邮件。icebreak=false停自动拉群;snoozeUntil=null解除暂停,恢复true清暂停。单群静音/退群及单需求暂停另调;避人/方向set_my_match_preference。先get_notification_prefs。

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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)"
  2. Changed1 schema field changed
    • addedInput schema / properties / moments
      Added value: +{
      +  "description": "消息圈互动推送:有人评论了我的消息圈 / 回复了我的评论(点赞从不推送)",
      +  "type": "boolean"
      +}
  3. 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"
      +}
  4. 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/destructiveHint; the description adds the login prerequisite, partial-update semantics ('未传不变' - unspecified fields stay unchanged), a caution not to touch SMS/email unprompted, and the state-transition rules for icebreak=false and snoozeUntil=null/true-clear. That is substantive behavior beyond structured data, and nothing conflicts with destructiveHint=false since these are setting toggles rather than deletions.

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?

Very compact with no filler and the login requirement plus patch rule front-loaded, so every clause earns its place. However, the telegraphic style (missing spaces, abbreviated clauses, mixed Chinese/English field names) raises parsing cost and would benefit from clearer clause separation.

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 12 all-optional params, full schema coverage, and no output schema, the description covers the risky parts: auth, partial updates, protected fields, and state resets. It stops short of saying what the call returns or whether the response echoes the resulting preference set, which is a minor gap given no output schema exists.

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 already 100%, so the baseline is 3; the description goes further by explaining patch semantics for omitted keys and the exact null-vs-true semantics for snoozeUntil, which the schema does not spell out. It does not walk through the other ten booleans, but those are self-describing in 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 name and title ('set_notification_prefs' / 设置我的通知偏好) plus the description's 'confirm then patch' framing and field-specific rules make clear this mutates the caller's own notification settings. It is distinguished from the read sibling by the closing '先get_notification_prefs', though the description itself never states the purpose in a single declarative sentence and relies on field names to convey scope.

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 routing: call get_notification_prefs first, leave SMS/email alone unless the user asks, and use different tools for per-group mute/leave and per-need pause, with set_my_match_preference named for avoid-person/direction settings. Both when-to-use and when-not-to-use are stated with named alternatives.

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