Unpublish activity
unpublish_activityUnpublish an activity so that it can no longer be played. It stays editable and can be published again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Id of the activity. |
unpublish_activityUnpublish an activity so that it can no longer be played. It stays editable and can be published again.
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Id of the activity. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already flag destructiveHint=true, and the description usefully qualifies that: the activity 'stays editable and can be published again,' so the agent knows this is a reversible state change rather than data loss. It still omits side effects on live learners/audience settings, so it adds real but incomplete context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, effect front-loaded, with the reversibility note second. Nothing is padded or redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 output schema and annotations covering the safety profile, the description gives the essential state-transition semantics. Minor gaps remain around prerequisites and whether audience/privacy state is preserved.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Only one parameter and schema coverage is 100%, so the schema fully documents activity_id. The description adds no format, range, or sourcing detail beyond it — the baseline 3 applies when the schema does all the work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (unpublish) and resource (activity) plus the concrete effect: the activity can no longer be played. That is enough to separate it from publish_activity, though it never names the sibling or contrast explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the effect statement — take an activity offline without deleting it — but there is no explicit when-to-use, no prerequisites (e.g. whether the activity must currently be published), and no named alternatives such as update_activity for pure edits.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.