Skip to main content
Glama

独行录 / opcmenu

主办方:批量改资料的名字与可见性(可跨场)

update_activity_material
DestructiveIdempotent

【需要登录·主办方】list_activity_materials取id,可跨场最多50条改名/可见性;先preview=true逐条确认后省略preview执行。PUBLIC公开后无法收回别人所见。仅修改;上传用add_activity_material或prepare_activity_material_upload,删除用remove_activity_material另行确认且不可恢复。逐条失败进failed。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes要改的资料,最多 50 条,可跨场
previewNotrue = 只回「会从什么改成什么」,一个字节都不落库
activityRefNo缺省活动;每条 items 可各自覆盖

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?

Beyond the annotations (destructiveHint, idempotentHint, openWorldHint) it discloses that login/organizer authority is required, that a PUBLIC visibility change is irreversible ('PUBLIC公开后无法收回别人所见'), that preview is a true dry-run, and that per-item failures are reported in 'failed'. This is exactly the revocation/auth/failure context structured fields cannot carry.

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?

Dense and front-loaded: authority tag first, then ids source, then scope, then the preview workflow, then the irreversibility warning, then sibling routing. Every clause carries load with no filler.

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 mutating batch tool with no output schema, the description covers authority, id source, batch limits, preview commit path, irreversible effects, per-item failure reporting, and alternative tools. Nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100%, so the schema already documents preview, activityRef and the 50-item cross-activity items array. The description restates the preview-first and 50-item/cross-activity semantics rather than adding syntax or constraints absent from the schema, so the baseline 3 applies.

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 (改名/可见性) plus resource (activity materials), and adds scope: batch, cross-activity (可跨场), up to 50 items. It also names the siblings it is not — upload via add_activity_material/prepare_activity_material_upload and delete via remove_activity_material — so the agent can distinguish it without opening any schema.

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 workflow and alternatives: fetch ids with list_activity_materials, run preview=true first then omit preview to commit, and route upload/delete to their respective tools. Both the when and the when-not are stated, leaving nothing to inference.

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