Skip to main content
Glama

独行录 / opcmenu

收尾合作目标(级联下架招募/停周期)

close_collaboration_goal
Destructive

【需要登录】【何时用】用户说「这个目标做完了/不做了」。一次做三件:改状态 + 把还挂在公开需求信息流里的招募需求下架 + 停掉还在生成期次的周期规则。只用 update_collaboration_goal 改状态是不够的——它什么都不级联,会留下一条替死目标招人的公开帖。

【组合链】preview=true 先把「将下架 N 条招募、将停 M 条规则(撤掉 K 期)」念给用户 → preview=false 执行。

【口径/坑】① 招募需求只有发帖人本人能下架:别的合作人发的那几条我下不掉,会如实回 skipped=not_your_need,得让本人用 unpublish_need。② 不可逆,且已经下架/已经停掉的不会因为后面失败而回滚。③ 只有目标发起人能改目标状态。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalIdYes
statusYesCOMPLETED=达成了;ARCHIVED=不做了/归档(归档后不再收新内容)
previewNotrue=只预演不落库。缺省 false

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?

Annotations already flag destructiveHint=true and idempotentHint=false, and the description goes beyond them: it discloses irreversibility, no rollback for already-completed sub-steps, partial failures, and two permission boundaries (only poster can unpublish, only initiator can change status). This is exactly the behavioral context an agent needs before calling a destructive cascade.

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 dense but well organized: when-to-use, what the tool does, the preview chain, then caveats. Every sentence carries operational value and the content is front-loaded; no filler or repeated schema text.

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?

For a destructive multi-step mutation with no output schema, the description covers trigger, actions, preview flow, failure semantics, permission restrictions, and even the shape of an important response field (skipped=not_your_need). Nothing essential for correct invocation is missing.

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 already documents status enum values and preview semantics; the description adds little about goalId, which is undocumented but simple. It does map user intent ('做完了/不做了') to status choices and explains the preview-then-execute chain, but that is more usage behavior than parameter detail, so a moderate score 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?

Description names a specific verb+resource (closing a collaboration goal) and precisely enumerates three cascading effects: status change, unpublishing recruitment needs from the public feed, and stopping period-generating rules. It explicitly distinguishes itself from update_collaboration_goal by stating that a plain status update does not cascade.

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 【何时用】 section gives an exact trigger condition ('用户说这个目标做完了/不做了') and explicitly warns against using update_collaboration_goal alone. It also routes to unpublish_need for needs posted by other collaborators, so the agent knows when to delegate instead of invoking this tool.

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