Skip to main content
Glama

独行录 / opcmenu

主办方:按链接上传一份活动资料

add_activity_material

【需要登录·主办方】公网直链≤30MB抓取转私有存储,图片机审;大文件用/pro。SLIDES/FILE发布会向报名者播报,先确认文件名与可见性;默认PHOTO为PUBLIC,其余REGISTERED。list_activity_materials核对,改名/可见性update_activity_material。

Input Schema

NameRequiredDescriptionDefault
kindYesSLIDES 讲义 | FILE 其他文件 | PHOTO 现场照片
nameYes资料名(报名者看到的名字)
sourceUrlYes文件的公网直链(http/https)
visibilityNoPUBLIC 人人可见 | REGISTERED 报名者可见
activityRefYes活动 slug 或 id(list_my_activities 的返回里都有)

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 provide destructiveHint=false, so the description carries the behavioral load and does so well: it discloses the auth/role requirement, the 30MB fetch cap, that the URL is copied into private storage, that images are auto-moderated, that SLIDES/FILE broadcasts to registrants, and the default visibility per kind. These are exactly the side effects an agent needs before calling a write tool.

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?

It is dense and front-loaded: auth/role, then storage/limit, then side effects, then follow-up tools. Every clause carries information, though the telegraphic style and the unexplained '/pro' reference cost some readability.

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 5-parameter write tool with no output schema and minimal annotations, the description covers access control, input limits, storage semantics, moderation, notification side effects, defaults, and verification/editing alternatives. An agent can call this correctly without further inference.

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 coverage is 100%, so a baseline of 3 applies; the description adds real value beyond the schema by stating the default visibility resolution (PHOTO defaults to PUBLIC, all other kinds to REGISTERED) and by tying the name field to what registrants will see. It does not clarify enum trade-offs for kind beyond the broadcast note.

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?

The description states a specific verb and resource: fetch a public direct link and store it as private activity material. It distinguishes the by-link path from large-file handling ('大文件用/pro') and names the follow-up tools list_activity_materials and update_activity_material. It does not explicitly distinguish itself from prepare_activity_material_upload / upload_image_from_url, so it falls short of a 5.

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?

Prerequisites are explicit ('需要登录·主办方'), the size ceiling (≤30MB) and the large-file escape hatch (/pro) are stated, and the description tells the agent to confirm the filename and visibility before publishing SLIDES/FILE because that triggers a broadcast to registrants. It also routes post-hoc verification and edits to the correct siblings.

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