Skip to main content
Glama

独行录 / opcmenu

把我的活动挂到目标下

attach_activity_to_goal

登录;把本人活动挂到合作目标,目标合作人随即获得活动管理权,先确认授权范围。活动取list_my_activities或attachable;挂后get_collaboration_goal核对,不能代挂他人活动。

Input Schema

NameRequiredDescriptionDefault
goalIdYes
activityRefYes活动 slug 或 id(get_collaboration_goal(include:["activities"]) 里两个都有)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only supply destructiveHint=false, so the description carries the real load and does: it discloses a permission grant side effect ('目标合作人随即获得活动管理权'), a login requirement, and an ownership restriction. It stops short of covering idempotency (what happens if the activity is already attached) or failure modes, which keeps it off a 5.

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?

Four tight, front-loaded clauses with no filler; the action, side effect, and constraints all land in one dense sentence. The semicolon-chained style is efficient but slightly harder to scan than separated sentences.

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 two-parameter mutation with no output schema and minimal annotations, the description covers auth, ownership, source data, side effects, and verification. Missing only edge-case behavior such as duplicate attachment or permission-denied handling.

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 50% – activityRef is already documented in the schema, and the description's mention of 'list_my_activities或attachable' reinforces where that ref comes from but adds no format detail. goalId remains undocumented in both places, so the description only partially compensates.

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?

States a specific verb+resource: attaching one's own activity to a collaboration goal ('把本人活动挂到合作目标'), and immediately names the consequence (collaborators gain management rights). The ownership qualifier ('本人活动') separates it cleanly from detach_activity_from_goal and from any admin-style attachment tool.

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?

Gives prerequisites ('登录'), where to get the activity from ('活动取list_my_activities或attachable'), a post-condition check ('挂后get_collaboration_goal核对'), and an explicit exclusion ('不能代挂他人活动'). An agent has everything needed to decide whether to call this or its sibling.

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