Skip to main content
Glama

独行录 / opcmenu

一次派多条合作任务

create_collaboration_tasks

【需要登录】【何时用】用户一口气交代好几件事时,一次把它们派进同一个目标(最多 10 条)。App 一次只能派一条。

【组合链】preview=true 真预检(查目标可写 + 逐个查被指派人在不在目标里)→ 把名单念给用户确认 → preview=false 落库 → get_collaboration_goal 核对任务板。

【口径/坑】① 没有批量服务:逐条落库,前面已创建的不会因为后面失败而回滚,返回 created/failed 如实报,别当成一次原子操作。② 每条都会给被指派人发一次推送:同一个人一次超过 3 条先问用户要不要合并成一条。③ assigneeId 省略=派给自己;不是目标合作人的会单条失败,先 invite_collaboration_member。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tasksYes最多 10 条(每条都会推送一次,再多就是骚扰)
goalIdYes
previewNotrue=只预检不落库,返回将创建/将失败的清单给用户过目。缺省 false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

The description goes far beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false) by disclosing concrete behaviors: partial failure without rollback, per-task push notifications, assigneeId defaults to self, and per-item failure for non-members. It also warns against treating the operation as atomic, which is critical for correct use.

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 organized into compact labeled sections (需要登录/何时用/组合链/口径/坑), each carrying a distinct behavioral fact or workflow instruction. There is no filler, and the trigger condition is front-loaded in the second line.

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 non-idempotent, side-effecting batch tool with no output schema, the description fully covers the workflow (preview→confirm→落库→verify via get_collaboration_goal), failure modes, notification side effects, and preconditions. Nothing an agent needs to call it safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 67%; the description compensates by explaining assigneeId omission (assign to self), preview=true semantics (real precheck), and the per-task push consequence embedded in the tasks item description. goalId is not explicitly explained but is a self-evident identifier from the parameter name and sibling context.

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 states a specific verb ('派', dispatch) and resource ('任务进同一个目标', tasks into the same goal), and explicitly contrasts with the App's single-dispatch limit approximating the singular sibling create_collaboration_task. The scope (max 10, same goal) is unambiguous.

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?

An explicit '何时用' (when to use) section names the trigger: user gives several tasks at once. It also identifies the alternative for non-collaborators (invite_collaboration_member) and notes the singular App path only dispatches one at a time. The combination chain additionally prescribes the correct order of operations.

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