Skip to main content
Glama

独行录 / opcmenu

取消我的活动

cancel_activity
Idempotent

登录;取消(下线)我发起的某个活动。已取消/已结束的活动不能再取消。

Input Schema

NameRequiredDescriptionDefault
activityIdYes活动 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations only supply idempotentHint=true, so the description carries most of the burden. It adds real value by disclosing the auth requirement and the eligibility states, but omits what actually happens on cancel — effect on existing signups/guests, whether it is reversible, and whether a confirmation is returned. There is also mild tension with idempotentHint=true, since it says an already-cancelled activity 'cannot be cancelled again' (error) rather than being a no-op.

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?

Two short sentences with the eligibility constraint front-loaded and nothing superfluous. The telegraphic '登录;' prefix is terse but still readable.

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 one-parameter tool with full schema coverage and no output schema, the definition covers who, what, and the state precondition. It is still thin on the consequences of a destructive organizer action (fate of registrations, post-cancel visibility), which an agent may need before invoking.

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 coverage is 100% and the single activityId is already documented, so the schema does the heavy lifting. The description adds only a light ownership qualifier ('an activity I created') without any format or lookup guidance. Baseline 3 is appropriate.

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?

States a specific verb (取消/下线, cancel/take offline) and a scoped resource (我发起的某个活动 — an activity I created), which distinguishes it from sibling tools such as cancel_my_activity_signup. It does not name the sibling explicitly, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear preconditions: you must be logged in, and the activity must not already be cancelled or ended. This defines the usable state boundary well. It never points to an alternative tool for cancelling a signup versus cancelling an organizer's own activity, which keeps it below a 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