Skip to main content
Glama

独行录 / opcmenu

编辑我的活动

update_activity
Idempotent

【需要登录】确认后立即改本人活动标题/正文/时间/图片,slug/type不可改,报名表另调。提前截止会使已开始报名草稿失效,须确认影响。【组合链】list_my_activities取id→确认→update_activity→get_activity。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNo城市,报名 feed 的筛选维度
endAtNoISO 8601
titleNo
meetUrlNo
startAtNoISO 8601
capacityNo
coverUrlNo
locationNo
productIdNo
activityIdYes活动 id
posterUrlsNo活动长图(竖图详情页),最多 9 张,按顺序展示。只收已有 URL——要传本地图先用 upload_image_from_url 镜像
descriptionNo
organizerNameNo主办方署名(报名页「主办方」那一行)。联合主办/承办单位写全;传 null 或空串 = 那一行不再显示
registrationDeadlineNoISO 8601。只能往后改,往前改等于提前封口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover safety hints (idempotent, non-destructive, open-world), but the description adds real behavioral context beyond them: login is required, edits take effect immediately after confirmation, and moving the registration deadline forward invalidates already-started signup drafts, requiring impact confirmation. That side-effect disclosure is genuinely useful, though rate limits/response behavior are not covered.

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?

Highly compressed, front-loading the login requirement and the immediate-mutation warning, with bracketed sections separating the field constraints from the workflow chain. Every clause carries information, though the telegraphic style sacrifices some readability.

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 14-parameter mutation tool with annotations covering the safety profile and no output schema, the description supplies the missing operational context: auth requirement, side effects, immutable fields, and a verification call in the chain. A few parameters and the return behavior remain unspecified, keeping it slightly short of complete.

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 50%, so the description must carry extra weight; it clarifies the editable field families (title/description/time/images) and the immutable fields (slug/type), but leaves parameters like capacity, location, city, meetUrl, productId, and organizerName unexplained in both the schema and the description. Partial compensation only.

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 precise verb+resource ('改本人活动标题/正文/时间/图片') and explicitly names the fields that cannot be changed (slug/type) plus the nearby concern that the signup form is a separate call. This clearly separates it from siblings like update_activity_draft, update_activity_material, and update_organizer_signup_config.

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 a login precondition, a confirmation step, and an explicit workflow chain (list_my_activities取id→确认→update_activity→get_activity), and routes the registration-form edit elsewhere. It stops short of stating when NOT to use this tool (e.g., drafts), so not a full 5.

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