Skip to main content
Glama

独行录 / opcmenu

退出免费线上参会

leave_activity_online
DestructiveIdempotent

【需要登录】【何时用】用户明说「这场我不去了/别再给我推了」。 【组合链】退完想换一场:list_activities → join_activity_online。 【口径/坑】① 退出后就不再享有「报名才可见」的资料与回放入口(收费场除外,那档是登录即可见),退之前说清。② 不会把人移出活动群,群消息照收——嫌吵用 set_conversation_muted(muted=true),彻底不想收用 leave_conversation(不可撤销,先把群名念给用户确认);conversationId 从 list_my_conversations 里 activityId 对得上的那条取。③ 没报过也返回 joined=false,不报错。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activityRefYes活动 slug 或 id(get_activity / get_signup_activity 两者都给)

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, the description discloses important behavioral nuances: loss of registration-only materials and replay access after exit, the tool not removing the user from activity groups, and the non-error behavior of returning joined=false when the user was never signed up. It also notes login requirements and the irreversibility of the related leave_conversation action.

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?

The description is structured with clear sections for when to use, combination chains, and pitfalls. It is dense but every sentence provides actionable information, and the key use trigger is front-loaded.

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?

Given the tool's complexity and lack of an output schema, the description covers the important edge cases: material access loss, group membership behavior, non-signup behavior, and routing to related tools. An agent has enough context to invoke the tool correctly and warn the user appropriately.

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?

The single parameter activityRef is fully described in the schema with type, length constraints, and guidance to use the value returned by get_activity or get_signup_activity. The description itself adds no additional parameter semantics, so the schema carries the full burden and the baseline 3 is appropriate.

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 title and description clearly identify the action: leaving a free online activity. It distinguishes itself from related tools by explicitly noting what it does not do (e.g., it does not remove the user from the activity group, unlike leave_conversation) and by referencing the sibling join_activity_online for switching activities.

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?

The description gives a concrete 'when to use' trigger with user wording ('这场我不去了/别再给我推了'), and provides explicit alternatives for related actions: set_conversation_muted for noisy groups and leave_conversation for fully leaving the conversation. This gives clear routing guidance.

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