Skip to main content
Glama

独行录 / opcmenu

把活动从目标下摘掉

detach_activity_from_goal

登录/活动举办人;摘活动只解目标归属,活动保留,其他合作人立即失管理权,须先报活动名确认。get_collaboration_goal(include:["activities"])取slug;只收activityRef不收goalId,一活动至多一目标。

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": {
      "activityRef": "<activityRef>"
    },
    "name": "detach_activity_from_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
activityRefYes活动slug/id取get_collaboration_goal(include:["activities"])

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / activityRef / description
      Previous value: -"活动 slug 或 id(get_collaboration_goal(include:[\"activities\"]) 里两个都有)"New value: +"活动slug/id取get_collaboration_goal(include:[\"activities\"])"
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the activity survives, that co-collaborators "立即失管理权" (an immediate, security-relevant side effect), and that organizer-level auth is required. It stops short of stating reversibility/how to re-attach or what a partial failure returns.

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 but front-loaded: permission, effect, confirmation, then parameter sourcing. Semicolon-separated clauses keep it short, though the packing of four distinct facts into one line costs 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 single-parameter mutation with no annotations and no output schema, the definition covers auth, side effects, precondition confirmation, and how to source the ref. Missing only failure/idempotency behavior and what re-attaching would require.

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 property already documents the slug source, so the schema does most of the work. The description adds a useful negative constraint ("只收activityRef不收goalId"), which prevents a plausible wrong-argument error, but nothing on format beyond that.

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 specific verb and resource ("摘活动") and immediately scopes the effect: only the goal ownership binding is removed, "活动保留". This distinguishes it cleanly from the sibling attach_activity_to_goal and from any destructive activity tool.

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 states the authorization context ("登录/活动举办人"), a mandatory confirmation step ("须先报活动名确认"), and the cardinality constraint "一活动至多一目标", which tells an agent when this tool is even applicable. It does not name a specific fallback tool for the inverse operation, but the context is clear enough to act on.

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