Skip to main content
Glama

Update IM configuration

yunxin_im_config_update
Destructive

Update selected IM configuration fields for a Yunxin app while leaving other settings unchanged; pass confirm: true for service-level switches and receive per-field results.

Instructions

按字段更新 IM 配置。只传需要修改的字段,其余保持不变。每个字段会调用后台对应的写接口,并返回逐字段结果。修改服务级开关(如图中 imMainSwitch、callbackUrl)必须传 confirm: true。

Input Schema

NameRequiredDescriptionDefault
appNo
confirmNo
roamingNo
kickpolicyNo多端登录策略
authtypesetNo登录鉴权方式,例如 '0' 静态 token
callbackUrlNo
imMainSwitchNoIM 总开关(接口映射待真实写测试确认)
beforeHistoryNo
deletemsgtimeNo消息撤回时长(秒)
callbackResultNo
checkAppBundleNo
publishofflineNo
pushbadgelimitNoiOS 角标未读上限,'-1' 表示无限制
callbackTimeoutNo
customKickPolicyNo自定义多端登录策略
chatroomIONoNotifyNo
chatroomMultiLoginNo
sendMsgCheckFriendNo非好友是否允许发送消息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description's job is to add detail beyond that. It does: each field fans out to a separate backend write call and results come back per field, which signals possible partial application. It does not state whether a partial failure is rolled back or which fields are irreversible, which is the main remaining gap for a destructive tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the partial-update contract, followed by the fan-out behavior and then the confirm requirement. No filler and nothing redundant with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the essentials an agent needs to avoid a bad call (partial update + confirm), but with a destructive 18-parameter write and no output schema, the definition should say more about what the per-field result looks like when something fails and what the many undocumented fields do. Adequate but with clear gaps.

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?

With 18 parameters and only 39% schema coverage, the description should compensate but mostly doesn't. It does add real meaning for confirm (must be true for service-level switches) and flags imMainSwitch/callbackUrl as the dangerous ones; the other cryptic fields (callbackResult, checkAppBundle, publishoffline, customKickPolicy) stay undocumented in both places.

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?

States a specific verb and resource ('按字段更新 IM 配置') and clarifies the partial-update semantics ('only pass fields to modify'). It never distinguishes itself from the sibling read tool yunxin_im_config_get, so the agent must infer the pair from names alone.

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

Usage Guidelines4/5

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

Gives an actionable rule: send only the fields you want changed and pass confirm: true for service-level switches such as imMainSwitch and callbackUrl. It does not say when to prefer yunxin_im_config_get or what to do if a per-field write fails, so exclusions/alternatives are missing.

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