Skip to main content
Glama

独行录 / opcmenu

会话免打扰

set_conversation_muted
Idempotent

【需要登录】按意愿静音本人DM/群,幂等/不通知;404无访问或已退勿重试。仅此会话不改未来破冰。list_my_conversations取id/activityId→设置;推送set_notification_prefs。

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": {
      "conversationId": "<conversationId>",
      "muted": "<muted>"
    },
    "name": "set_conversation_muted"
  }
}

Input Schema

NameRequiredDescriptionDefault
mutedYestrue 设为免打扰/false 取消
conversationIdYes会话 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / muted / description
      Previous value: -"true 设为免打扰 / false 取消"New value: +"true 设为免打扰/false 取消"
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds real context beyond annotations: login is required, no notification is sent, 404 signals lost access or membership and should not be retried, and the effect is limited to this one conversation. The '幂等' claim merely restates idempotentHint=true, and '不通知' leaves whom is not notified implicit, so it falls just short of full marks.

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?

Extremely dense and front-loaded with the login prerequisite, and no clause is pure filler. However, the telegraphic style ('不改未来破冰') is compressed to the edge of ambiguity for a non-native reader.

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 two-parameter mutation with only partial annotation coverage and no output schema, it covers auth, idempotency, error handling, scope limits, and the alternative tool. Only the return value / confirmation behavior is unaddressed, which is minor here.

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 coverage is 100%, so the schema already defines both muted and conversationId. The description only hints at where the id comes from (list_my_conversations, 'id/activityId') and even introduces an activityId that is not a parameter, adding little usable meaning and a bit of noise.

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?

States a specific verb+resource: mute one's own DM or group conversation ('静音本人DM/群'), scoped explicitly to the caller. It also distinguishes the scope from adjacent tools by noting it acts only on this conversation and does not affect future icebreakers.

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?

Gives explicit routing: fetch the id from list_my_conversations, and use set_notification_prefs for push-notification preferences instead. It also gives a concrete when-not: on 404 (no access or already left) do not retry.

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