Skip to main content
Glama

独行录 / opcmenu

修改个人主页的活动展示设置

update_my_activity_privacy

【需要登录】只改传入的本人开关;true向公开主页访客展示对应公开活动,false隐藏。默认预览前后值;说明披露范围并获本人明确同意后,同参+previewHash、consent=true、preview=false执行。不改变报名/签到或私域受众。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
consentNo用户明确同意本次对象及后果才传 true
previewNo
previewHashNo
showPastActivitiesNo
showUpcomingActivitiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only flag non-readOnly / openWorld / non-idempotent / non-destructive; the description adds the login requirement, the preview-by-default safety behavior, the mandatory consent gate, the previewHash confirmation handshake, and what side effects are explicitly excluded. That is substantial context the structured fields do not carry, and it is fully consistent with the annotations.

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, then behavior, then the execution protocol, then the exclusion clause — a sensible order for an agent scanning it. It is compressed into a few long semicolon-linked clauses, so the consent/previewHash flow takes a second read, but there is no filler.

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 5-parameter mutation with no output schema and no required fields, the description covers auth, the confirmation workflow, and non-effects. Return expectations are only implied by 默认预览前后值 (preview returns before/after values plus a hash), so the response shape is left partly to inference, but nothing critical for correct invocation is missing.

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 description coverage is only 20% (consent alone), so the description must carry the load and largely does: it explains preview's default-on behavior, that preview=false is the execute path, where previewHash comes from, and the true/false meaning of the visibility switches. It leaves the exact past-vs-upcoming switch mapping and previewHash lifetime implicit, which keeps it short of a 5.

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: it changes only the passed-in personal (本人) homepage activity-visibility switches, and it defines what true/false mean for the public homepage audience. It also fences itself off from adjacent tools by noting it does not touch 报名/签到 or 私域受众, separating it from update_my_profile-style tools.

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 explicit two-step protocol: call with defaults to preview before/after values, then re-issue with the same parameters plus previewHash, consent=true and preview=false after explaining disclosure scope and obtaining consent. Login requirement is also stated up front. It never names the read-side alternative (get_my_activity_privacy), so the routing side is slightly incomplete.

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