Skip to main content
Glama

独行录 / opcmenu

禁止或恢复活动相册上传

moderate_activity_album_uploader
Destructive

【需要登录·主办方】只操作本场指定userId;blocked=true禁止,false恢复。removeExisting=true会删除对方本场已有资料及私有对象,不可恢复。默认预览;核对活动、用户和删除范围后同参+previewHash、consent=true、preview=false。不能禁自己或活动管理者。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYes
blockedYes
consentNo
previewNo
activityRefYes
previewHashNo
removeExistingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint, but the description goes further and names exactly what is destroyed ('删除对方本场已有资料及私有对象') and that it is irreversible. It also discloses the preview-by-default safety behavior and the consent/previewHash gate, which the annotations cannot express.

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-loads the login/organizer constraint and scope before the destructive detail, and every clause carries information. The telegraphic, semicolon-heavy style is dense but appropriate for a 7-parameter destructive tool; slightly more structure would aid scanning.

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

Completeness5/5

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

For a destructive, multi-parameter, no-output-schema tool, the description covers authorization, scope, irreversibility, and the complete preview-then-commit handshake an agent must follow to call it correctly. Nothing essential to correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden and largely does: blocked=true/false semantics, removeExisting=true's destructive effect, consent=true, preview defaulting to true, and previewHash's role in the commit call. Only activityRef/previewHash format details are left to the schema's own constraints.

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?

The description states a specific action on a specific resource — block or restore a given user's ability to upload to this activity's album — and scopes it to a single userId/activity. It is clearly distinguishable from the read-side sibling (get_activity_album_moderation) and from other user-blocking tools (block_user) by naming the album-upload domain.

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?

It gives explicit prerequisites (login required, organizer only) and hard exclusions ('不能禁自己或活动管理者'), plus the two-step usage pattern (preview by default, then re-issue with previewHash/consent=true/preview=false). It does not name a read-only alternative for inspecting current moderation state, so it stops short of a full when-not statement.

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