Skip to main content
Glama

独行录 / opcmenu

编辑我的活动

update_activity
Idempotent

登录;确认后立即改本人活动标题/正文/时间/图片;slug/type不可改,报名表另调。提前截止废止在填草稿,须确认影响。list_my_activities→确认→update_activity→get_activity。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "activityId": "<activityId>"
    },
    "name": "update_activity"
  }
}

Input 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. Changed2 schema fields changed
    • changedInput schema / properties / organizerName / description
      Previous value: -"主办方署名(报名页「主办方」那一行)。联合主办/承办单位写全;传 null 或空串 = 那一行不再显示"New value: +"报名页主办方署名;联合主办/承办须全名,null/空串隐藏此行"
    • changedInput schema / properties / posterUrls / description
      Previous value: -"活动长图(竖图详情页),最多 9 张,按顺序展示。只收已有 URL——要传本地图先用 upload_image_from_url 镜像"New value: +"详情竖长图≤9张、依序展示;仅已有URL,本地图先upload_image_from_url镜像"
  2. Changed4 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"城市,报名 feed 的筛选维度"New value: +"城市,报名 feed 的筛选维度"
    • changedInput schema / properties / organizerName / description
      Previous value: -"主办方署名(报名页「主办方」那一行)。联合主办/承办单位写全;传 null 或空串 = 那一行不再显示"New value: +"主办方署名(报名页「主办方」那一行)。联合主办/承办单位写全;传 null 或空串 = 那一行不再显示"
    • changedInput schema / properties / posterUrls / description
      Previous value: -"活动长图(竖图详情页),最多 9 张,按顺序展示。只收已有 URL——要传本地图先用 upload_image_from_url 镜像"New value: +"活动长图(竖图详情页),最多 9 张,按顺序展示。只收已有 URL——要传本地图先用 upload_image_from_url 镜像"
    • changedInput schema / properties / registrationDeadline / description
      Previous value: -"ISO 8601。只能往后改,往前改等于提前封口"New value: +"ISO 8601。只能往后改,往前改等于提前封口"
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare idempotentHint=true and destructiveHint=false, so the description carries most of the load and does so: it discloses the auth requirement, that changes apply immediately after confirmation, which fields are immutable, and the side effect that pulling the registration deadline forward voids in-progress signup drafts. That draft-voiding consequence is a mild tension with destructiveHint=false, but since the tool itself only mutates the owner's own activity, it reads as a disclosed side effect rather than a contradiction; it does not describe the response shape.

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?

The text is front-loaded and telegraphic: auth → effect → editable fields → exclusions → side effect → workflow. Every clause carries signal, with no filler. The compressed, semicolon-chained style costs a little readability but avoids waste.

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

Completeness3/5

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

For a 14-parameter mutation with no output schema and thin annotations, the description covers the important parts (auth, confirmation, immutability, destructive side effect, follow-up read), but leaves many optional parameters undefined and says nothing about how partial updates treat omitted fields. Adequate but with visible gaps for a tool of this size.

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?

With 14 parameters and only 50% schema description coverage, the description adds real meaning for a few of them: it names title/body/time/image fields as editable, marks slug/type as off-limits, and reinforces the deadline direction constraint already stated in the schema. However, roughly half the parameters (city, capacity, location, productId, organizerName, meetUrl, coverUrl) get no treatment in either the schema or the description, so the gap remains unfilled.

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 names a concrete verb and resource ('改本人活动' / update your own activity) and enumerates exactly which fields are editable (title / body / time / images). It also states the boundary explicitly: 'slug/type不可改,报名表另调', which routes the agent away from this tool for slug, type, and registration-form changes — critical given siblings like update_activity_draft and update_activity_guest_collection.

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 supplies an explicit workflow chain (list_my_activities → confirm → update_activity → get_activity) and a prerequisite (login plus confirmation before the change takes effect). It falls short of 5 because the alternative tool for the registration form is only hinted at ('报名表另调') without naming the sibling, and no explicit when-not condition is spelled out.

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